Page 1 of 1

How to run Internet Explorer in Windows 11

Posted: 29 Mar 2022 10:37
by jfl
Microsoft has removed Internet Explorer in the latest releases of Windows 11... Or have they?
Actually after a few days of panic, I understood that they haven't really. What they've changed is that the iexplore.exe program now starts Edge instead of Internet Explorer.
For those of you who have shamefully obsolete company servers that still require Internet Explorer, here's a simple hybrid Batch+Jscript that starts IE11, and optionally opens a URL passed as the first argument:

Code: Select all

@if (@Language == @Batch) @then /* JScript conditional compilation block protecting the batch section */
  @cscript //nologo //E:JScript "%~f0" %* & exit /b &:# Batch command that invokes JScript and exits
@end /* End of the JScript conditional compilation block protecting the batch section */
var ie = new ActiveXObject("InternetExplorer.Application");
if (WScript.Arguments.Length > 0) ie.navigate(WScript.Arguments.item(0));
ie.Visible = true;
WScript.Quit(0);
For example, with that script named ie11.bat in your PATH, run:

Code: Select all

ie11 https://www.dostips.com

Re: How to run Internet Explorer in Windows 11

Posted: 30 Mar 2022 12:10
by atfon
Thank you for the script, Jean-Francois. It is also interesting to see that the MSHTML (Trident) engine for IE 11 will continue to be supported:

https://techcommunity.microsoft.com/t5/ ... -p/2366549