How to reset IE11 to default configuration via a script?


Here are some options to reset IE to default settings via a script or command line.


This is a command that will get the Default settings.

From Elevated command prompt type: (User interaction is needed to complete. The option to delete user personal setting will come up).

rundll32.exe inetcpl.cpl ResetIEtoDefaults

There is a PowerShell Script that will perform the same the above command line option. Visit the TechNet article here:

Reset all Internet Explorer setting to default using PowerShell.


VBScript Sample below. This will execute silently:

'IE Reset Automation
Set objAP = CreateObject("wscript.shell")
objAP.Run "rundll32.exe inetcpl.cpl ResetIEtoDefaults"
wscript.sleep 1000

objAP.AppActivate "Reset Internet Explorer Settings"
objAP.SendKeys "%r", True

wscript.sleep 2000

If objAP.AppActivate("Reset Internet Explorer Settings") Then objAP.SendKeys "%c"
wscript.sleep 2000

If objAP.AppActivate("Reset Internet Explorer Settings") Then objAP.SendKeys "%c"
wscript.sleep 2000

If objAP.AppActivate("Reset Internet Explorer Settings") Then objAP.SendKeys "%c"

This blog has been provided by the Browser Support Team!</h4


Comments (0)

Skip to main content