Created
February 12, 2013 03:34
-
-
Save hackingbutlegal/4760042 to your computer and use it in GitHub Desktop.
Windows: Fix Active Desktop errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HKEY_CURRENT_USER = &H80000001 | |
strComputer = "." | |
Set objReg = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv") | |
strKeyPath = "Software\Microsoft\Internet Explorer\Desktop\SafeMode\Components" | |
strValue = "0" | |
ValueName = "DeskHtmlVersion" | |
objReg.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, ValueName, strValue | |
msgbox "Please Log Off & Log Back In!!!!!!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment