Monday, September 20, 2010

Change Windows Administrator Password Using Limited Account

If you have forgotten your Windows Administrator password then by using guest account or any other limited account you can reset administrator password very easily. All you have to do is to create a file, paste the following script in it and set desired new password in it. Save that file in .vbs format. Run it, Administrator password will be changed.

Option Explicit
Dim oNet,sUser,sComputer
Set oNet = Wscript.CreateObject("Wscript.Network")
sUser = oNet.UserName
sComputer = oNet.ComputerName
On Error Resume Next
Set sUser = GetObject("WinNT://" & sComputer & "/admin,user")
sUser.SetPassword "new-password"
sUser.SetInfo

Open notepad. Copy paste above code in that.
change new-password text from
sUser.SetPassword "new-password"
into desired password.
Save it with .vbs extension.
Run it.
Now log off. Enjoy your lost windows admin account again.


Read more: http://www.techmynd.com/change-windows-administrator-password/#more-11410#ixzz104pTRX00

No comments:

Post a Comment