|
精简有网友提出要运行IE,默认情况下点击 IE 会指向 Microsoft Edge
网上搜索有 3 种方式强制使用 IE
1、VBS 脚本
- Set ie = CreateObject("InternetExplorer.Application")
- ie.Navigate "about:blank"
- ie.Visible = 1
复制代码
2、批处理
- cmd /c "@PowerShell -ExecutionPolicy RemoteSigned -Command New-Object -COMObject InternetExplorer.Application -Property @{Navigate2='about:blank'; Visible=1}"
复制代码
3、替换为 11.0.19041.5553 或更早版本
\Windows\System32\ieframe.dll
\Windows\SysWOW64\ieframe.dll
- :: Enable IE Standalone
- reg add "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BYPASS_SBE_FDD5E421" /v "iexplore.exe" /t REG_DWORD /d 1 /f
- reg add "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BYPASS_SBE_08A97D41B2F8" /v "iexplore.exe" /t REG_DWORD /d 1 /f
- :: Disable IEToEdge_BHO
- reg delete "HKCU\SOFTWARE\Microsoft\Internet Explorer\Approved Extensions" /v "{1FD49718-1D00-4B19-AF5F-070AF6D5D54C}" /f
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Ext\Settings\{1FD49718-1D00-4B19-AF5F-070AF6D5D54C}" /v Flags /t REG_DWORD /d 1 /f
复制代码 哪种方式最好呢?
|
|