Change admin password through a script :-
------------------------------ -----------------
strComputer = "Computer Name"
Set objUser = GetObject("WinNT://" & strComputer & "/Administrator or user name, user")
objUser.SetPassword "password"
objUser.SetInfo
Copy it in notepad and save as .vbs file.
------------------------------
strComputer = "Computer Name"
Set objUser = GetObject("WinNT://" & strComputer & "/Administrator or user name, user")
objUser.SetPassword "password"
objUser.SetInfo
Copy it in notepad and save as .vbs file.
No comments:
Post a Comment