Created
February 17, 2011 10:12
-
-
Save Arcath/831437 to your computer and use it in GitHub Desktop.
Resets Active desktop so that on next login it works fine
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment