如果 Internet Explorer 不是預設的網頁瀏覽器,通知使用者 的登錄值 Check_Associations使用者HKCU\Software\Policies\Microsoft\Internet Explorer\Main

原則 ID
NotifyNotDefaultBrowser
適用範圍
使用者設定
支援的作業系統
至少 Internet Explorer 10.0
來源
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
類別
Windows 元件 › Internet Explorer

登錄

Check_Associations

REG_SZ使用者
啟用時的值
yes
停用時的值
no
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main]

; 選項 (只使用其中一個)
; 已啟用
"Check_Associations"="yes"
; 已停用
"Check_Associations"="no"
CMD
:: 選項 (只使用其中一個)

:: 已啟用
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main" /v "Check_Associations" /t REG_SZ /d "yes" /f
:: 已停用
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main" /v "Check_Associations" /t REG_SZ /d "no" /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main' -Force | Out-Null

# 選項 (只使用其中一個)
# 已啟用
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main' -Name 'Check_Associations' -PropertyType String -Value 'yes' -Force | Out-Null
# 已停用
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main' -Name 'Check_Associations' -PropertyType String -Value 'no' -Force | Out-Null