Windows 11 开启 IE 浏览器方法汇总

在 Windows 11 系统中,尽管默认并未直接提供 Internet Explorer(IE)浏览器的启动图标或链接,且微软已逐渐转向更现代的 Edge 浏览器,但出于兼容性或特定需求,用户有时仍需使用IE浏览器。以下是在 Windows 11 中启用并访问 Internet Explorer 浏览器的几种方法:
 
1.VBS 方法:将下方代码保存为 .vbs 运行即可。

Dim WriteRegistry
Set WriteRegistry=WScript.CreateObject("WScript.Shell")
WriteRegistry.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Enable Browser Extensions","no"
Set ie=CreateObject("InternetExplorer.Application")
ie.Visible=true
Do While ie.Busy
    WScript.Sleep 100
Loop
ie.Navigate "https://www.baidu.com/"

 
2.批处理方法:将下方代码保存为 .bat 或者 .cmd 运行即可。

mshta vbscript:window.execScript("CreateObject('InternetExplorer.Application').Visible=true:window.close","vbs")

 
3.Powershell 方法:将下方代码保存为 .ps1 后使用 Powershell 运行即可。

$ie = New-Object -ComObject InternetExplorer.Application
$ie.Visible = $true

 
尽管 Windows 11 对IE的支持有所减少,但用户仍可通过上述方法访问或启用IE浏览器,以满足特定的兼容性需求。

THE END