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.
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.
Hi there, I read your blogs regularly. Your writing style is
ReplyDeletewitty, keep it up! Property management