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
into desired password.
Save it with .vbs extension.
Now log off. Enjoy your lost windows admin account again.