設定用於開啟重新導向網站的 Microsoft Edge 通道 的登錄值 NeedEdgeBrowser 等 2 個電腦HKLM\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode

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

登錄

NeedEdgeBrowser

刪除值電腦使用者
啟用時的值
取決於選項值
元素
首選
選項
項目儲存的值
(刪除值)
Microsoft Edge Stable1
Microsoft Edge Beta 77 版或更新版本2
Microsoft Edge Dev 77 版或更新版本3
Microsoft Edge Canary 77 版或更新版本4
Microsoft Edge 45 版或更早版本0
以 .reg · CMD · PowerShell 套用
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode]

; 選項 (只使用其中一個)
"NeedEdgeBrowser"=-
; Microsoft Edge Stable
"NeedEdgeBrowser"=dword:00000001
; Microsoft Edge Beta 77 版或更新版本
"NeedEdgeBrowser"=dword:00000002
; Microsoft Edge Dev 77 版或更新版本
"NeedEdgeBrowser"=dword:00000003
; Microsoft Edge Canary 77 版或更新版本
"NeedEdgeBrowser"=dword:00000004
; Microsoft Edge 45 版或更早版本
"NeedEdgeBrowser"=dword:00000000
CMD
:: 選項 (只使用其中一個)

reg delete "HKLM\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser" /f
:: Microsoft Edge Stable
reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser" /t REG_DWORD /d 1 /f
:: Microsoft Edge Beta 77 版或更新版本
reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser" /t REG_DWORD /d 2 /f
:: Microsoft Edge Dev 77 版或更新版本
reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser" /t REG_DWORD /d 3 /f
:: Microsoft Edge Canary 77 版或更新版本
reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser" /t REG_DWORD /d 4 /f
:: Microsoft Edge 45 版或更早版本
reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Force | Out-Null

# 選項 (只使用其中一個)
Remove-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser'
# Microsoft Edge Stable
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser' -PropertyType DWord -Value 1 -Force | Out-Null
# Microsoft Edge Beta 77 版或更新版本
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser' -PropertyType DWord -Value 2 -Force | Out-Null
# Microsoft Edge Dev 77 版或更新版本
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser' -PropertyType DWord -Value 3 -Force | Out-Null
# Microsoft Edge Canary 77 版或更新版本
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser' -PropertyType DWord -Value 4 -Force | Out-Null
# Microsoft Edge 45 版或更早版本
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser' -PropertyType DWord -Value 0 -Force | Out-Null
使用者各帳戶的設定
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
"NeedEdgeBrowser"=-
; Microsoft Edge Stable
"NeedEdgeBrowser"=dword:00000001
; Microsoft Edge Beta 77 版或更新版本
"NeedEdgeBrowser"=dword:00000002
; Microsoft Edge Dev 77 版或更新版本
"NeedEdgeBrowser"=dword:00000003
; Microsoft Edge Canary 77 版或更新版本
"NeedEdgeBrowser"=dword:00000004
; Microsoft Edge 45 版或更早版本
"NeedEdgeBrowser"=dword:00000000
CMD
:: 選項 (只使用其中一個)

reg delete "HKCU\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser" /f
:: Microsoft Edge Stable
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser" /t REG_DWORD /d 1 /f
:: Microsoft Edge Beta 77 版或更新版本
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser" /t REG_DWORD /d 2 /f
:: Microsoft Edge Dev 77 版或更新版本
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser" /t REG_DWORD /d 3 /f
:: Microsoft Edge Canary 77 版或更新版本
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser" /t REG_DWORD /d 4 /f
:: Microsoft Edge 45 版或更早版本
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Force | Out-Null

# 選項 (只使用其中一個)
Remove-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser'
# Microsoft Edge Stable
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser' -PropertyType DWord -Value 1 -Force | Out-Null
# Microsoft Edge Beta 77 版或更新版本
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser' -PropertyType DWord -Value 2 -Force | Out-Null
# Microsoft Edge Dev 77 版或更新版本
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser' -PropertyType DWord -Value 3 -Force | Out-Null
# Microsoft Edge Canary 77 版或更新版本
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser' -PropertyType DWord -Value 4 -Force | Out-Null
# Microsoft Edge 45 版或更早版本
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser' -PropertyType DWord -Value 0 -Force | Out-Null

NeedEdgeBrowser2

刪除值電腦使用者
啟用時的值
取決於選項值
元素
次要選擇
選項
項目儲存的值
(刪除值)
Microsoft Edge Stable1
Microsoft Edge Beta 77 版或更新版本2
Microsoft Edge Dev 77 版或更新版本3
Microsoft Edge Canary 77 版或更新版本4
Microsoft Edge 45 版或更早版本0
以 .reg · CMD · PowerShell 套用
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode]

; 選項 (只使用其中一個)
"NeedEdgeBrowser2"=-
; Microsoft Edge Stable
"NeedEdgeBrowser2"=dword:00000001
; Microsoft Edge Beta 77 版或更新版本
"NeedEdgeBrowser2"=dword:00000002
; Microsoft Edge Dev 77 版或更新版本
"NeedEdgeBrowser2"=dword:00000003
; Microsoft Edge Canary 77 版或更新版本
"NeedEdgeBrowser2"=dword:00000004
; Microsoft Edge 45 版或更早版本
"NeedEdgeBrowser2"=dword:00000000
CMD
:: 選項 (只使用其中一個)

reg delete "HKLM\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser2" /f
:: Microsoft Edge Stable
reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser2" /t REG_DWORD /d 1 /f
:: Microsoft Edge Beta 77 版或更新版本
reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser2" /t REG_DWORD /d 2 /f
:: Microsoft Edge Dev 77 版或更新版本
reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser2" /t REG_DWORD /d 3 /f
:: Microsoft Edge Canary 77 版或更新版本
reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser2" /t REG_DWORD /d 4 /f
:: Microsoft Edge 45 版或更早版本
reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser2" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Force | Out-Null

# 選項 (只使用其中一個)
Remove-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser2'
# Microsoft Edge Stable
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser2' -PropertyType DWord -Value 1 -Force | Out-Null
# Microsoft Edge Beta 77 版或更新版本
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser2' -PropertyType DWord -Value 2 -Force | Out-Null
# Microsoft Edge Dev 77 版或更新版本
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser2' -PropertyType DWord -Value 3 -Force | Out-Null
# Microsoft Edge Canary 77 版或更新版本
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser2' -PropertyType DWord -Value 4 -Force | Out-Null
# Microsoft Edge 45 版或更早版本
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser2' -PropertyType DWord -Value 0 -Force | Out-Null
使用者各帳戶的設定
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
"NeedEdgeBrowser2"=-
; Microsoft Edge Stable
"NeedEdgeBrowser2"=dword:00000001
; Microsoft Edge Beta 77 版或更新版本
"NeedEdgeBrowser2"=dword:00000002
; Microsoft Edge Dev 77 版或更新版本
"NeedEdgeBrowser2"=dword:00000003
; Microsoft Edge Canary 77 版或更新版本
"NeedEdgeBrowser2"=dword:00000004
; Microsoft Edge 45 版或更早版本
"NeedEdgeBrowser2"=dword:00000000
CMD
:: 選項 (只使用其中一個)

reg delete "HKCU\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser2" /f
:: Microsoft Edge Stable
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser2" /t REG_DWORD /d 1 /f
:: Microsoft Edge Beta 77 版或更新版本
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser2" /t REG_DWORD /d 2 /f
:: Microsoft Edge Dev 77 版或更新版本
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser2" /t REG_DWORD /d 3 /f
:: Microsoft Edge Canary 77 版或更新版本
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser2" /t REG_DWORD /d 4 /f
:: Microsoft Edge 45 版或更早版本
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser2" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Force | Out-Null

# 選項 (只使用其中一個)
Remove-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser2'
# Microsoft Edge Stable
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser2' -PropertyType DWord -Value 1 -Force | Out-Null
# Microsoft Edge Beta 77 版或更新版本
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser2' -PropertyType DWord -Value 2 -Force | Out-Null
# Microsoft Edge Dev 77 版或更新版本
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser2' -PropertyType DWord -Value 3 -Force | Out-Null
# Microsoft Edge Canary 77 版或更新版本
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser2' -PropertyType DWord -Value 4 -Force | Out-Null
# Microsoft Edge 45 版或更早版本
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser2' -PropertyType DWord -Value 0 -Force | Out-Null

NeedEdgeBrowser3

刪除值電腦使用者
啟用時的值
取決於選項值
元素
第三選擇
選項
項目儲存的值
(刪除值)
Microsoft Edge Stable1
Microsoft Edge Beta 77 版或更新版本2
Microsoft Edge Dev 77 版或更新版本3
Microsoft Edge Canary 77 版或更新版本4
Microsoft Edge 45 版或更早版本0
以 .reg · CMD · PowerShell 套用
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode]

; 選項 (只使用其中一個)
"NeedEdgeBrowser3"=-
; Microsoft Edge Stable
"NeedEdgeBrowser3"=dword:00000001
; Microsoft Edge Beta 77 版或更新版本
"NeedEdgeBrowser3"=dword:00000002
; Microsoft Edge Dev 77 版或更新版本
"NeedEdgeBrowser3"=dword:00000003
; Microsoft Edge Canary 77 版或更新版本
"NeedEdgeBrowser3"=dword:00000004
; Microsoft Edge 45 版或更早版本
"NeedEdgeBrowser3"=dword:00000000
CMD
:: 選項 (只使用其中一個)

reg delete "HKLM\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser3" /f
:: Microsoft Edge Stable
reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser3" /t REG_DWORD /d 1 /f
:: Microsoft Edge Beta 77 版或更新版本
reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser3" /t REG_DWORD /d 2 /f
:: Microsoft Edge Dev 77 版或更新版本
reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser3" /t REG_DWORD /d 3 /f
:: Microsoft Edge Canary 77 版或更新版本
reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser3" /t REG_DWORD /d 4 /f
:: Microsoft Edge 45 版或更早版本
reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser3" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Force | Out-Null

# 選項 (只使用其中一個)
Remove-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser3'
# Microsoft Edge Stable
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser3' -PropertyType DWord -Value 1 -Force | Out-Null
# Microsoft Edge Beta 77 版或更新版本
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser3' -PropertyType DWord -Value 2 -Force | Out-Null
# Microsoft Edge Dev 77 版或更新版本
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser3' -PropertyType DWord -Value 3 -Force | Out-Null
# Microsoft Edge Canary 77 版或更新版本
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser3' -PropertyType DWord -Value 4 -Force | Out-Null
# Microsoft Edge 45 版或更早版本
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser3' -PropertyType DWord -Value 0 -Force | Out-Null
使用者各帳戶的設定
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
"NeedEdgeBrowser3"=-
; Microsoft Edge Stable
"NeedEdgeBrowser3"=dword:00000001
; Microsoft Edge Beta 77 版或更新版本
"NeedEdgeBrowser3"=dword:00000002
; Microsoft Edge Dev 77 版或更新版本
"NeedEdgeBrowser3"=dword:00000003
; Microsoft Edge Canary 77 版或更新版本
"NeedEdgeBrowser3"=dword:00000004
; Microsoft Edge 45 版或更早版本
"NeedEdgeBrowser3"=dword:00000000
CMD
:: 選項 (只使用其中一個)

reg delete "HKCU\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser3" /f
:: Microsoft Edge Stable
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser3" /t REG_DWORD /d 1 /f
:: Microsoft Edge Beta 77 版或更新版本
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser3" /t REG_DWORD /d 2 /f
:: Microsoft Edge Dev 77 版或更新版本
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser3" /t REG_DWORD /d 3 /f
:: Microsoft Edge Canary 77 版或更新版本
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser3" /t REG_DWORD /d 4 /f
:: Microsoft Edge 45 版或更早版本
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "NeedEdgeBrowser3" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Force | Out-Null

# 選項 (只使用其中一個)
Remove-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser3'
# Microsoft Edge Stable
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser3' -PropertyType DWord -Value 1 -Force | Out-Null
# Microsoft Edge Beta 77 版或更新版本
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser3' -PropertyType DWord -Value 2 -Force | Out-Null
# Microsoft Edge Dev 77 版或更新版本
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser3' -PropertyType DWord -Value 3 -Force | Out-Null
# Microsoft Edge Canary 77 版或更新版本
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser3' -PropertyType DWord -Value 4 -Force | Out-Null
# Microsoft Edge 45 版或更早版本
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'NeedEdgeBrowser3' -PropertyType DWord -Value 0 -Force | Out-Null