Techie Weblog for Geeks
Welcome Cosmo Cyber Check out Weblinks Page for Great stuff

Tuesday, December 8, 2009

[W] User Accounts Error

User Accounts applet is completely blank, or displays raw HTML code.

Whenever you attempt to open the User Accounts applet in the Control Panel, the User Accounts dialog pops up, but the page may be empty or filled with raw HTML code. Also, the normal menu options may be missing in the applet.
This may be due to Malware.



To get back the original applet, Paste the code below to a .vbs file & Ececute it.


Set WshShell = CreateObject("WScript.Shell")
Dim htacommand
htacommand = "%windir%\system32\mshta.exe " & chr(34) & "%1" & chr(34) & " %*"
On Error resume Next
WshShell.RegWrite "HKCR\.hta\", "htafile", "REG_SZ"
WshShell.RegWrite "HKCR\.hta\PerceivedType", "text", "REG_SZ"
WshShell.RegWrite "HKCR\.hta\Content Type", "application/hta", "REG_SZ"
WshShell.RegWrite "HKCR\htafile\", "HTML Application", "REG_SZ"
WshShell.RegWrite "HKCR\htafile\EditFlags", "1048576", "REG_DWORD"
WshShell.RegWrite "HKCR\htafile\DefaultIcon\", "%windir%\system32\mshta.exe,1", "REG_EXPAND_SZ"
WshShell.RegWrite "HKCR\htafile\Shell\Open\Command\", htacommand, "REG_EXPAND_SZ"
'Wshshell.RUN ("regsvr32.exe mshtml.dll -i -s")
'Wshshell.RUN ("regsvr32.exe shdocvw.dll -i -s")
Wshshell.RUN ("regsvr32.exe jscript.dll -s")
MsgUser = Msgbox ("Fixed the HTA settings.", 4160, "User accounts applet fix for Windows XP")
Set WshShell = Nothing

'Copyright : © 2010 Cosmo Cyber



~

No comments:

Post a Comment