Microsoft Edge
# AutoOpenFileTypes: qdsGPO: Computer Configuration → Administrative Templates → Microsoft Edge → List of file types that should be automatically opened on downloadNew-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Edge\AutoOpenFileTypes" -Force | Out-NullNew-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Edge\AutoOpenFileTypes" -Name "1" -Value "qds" -PropertyType String -Force | Out-Null# AutoOpenAllowedForURLs: 只允許 intranet.contoso.comGPO: Computer Configuration → Administrative Templates → Microsoft Edge → URLs where AutoOpenFileTypes can applyNew-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Edge\AutoOpenAllowedForURLs" -Force | Out-NullNew-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Edge\AutoOpenAllowedForURLs" -Name "1" -Value "intranet.contoso.com" -PropertyType String -Force | Out-Null
Verify: edge://policy