Discussion Locked

Local admin password reset on multiple workstation

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Can anyone help me find a way to reset local Admin account passwords in mass quantities on workstations and servers? it will be very appreciated. Thanks

1 reply

by p.j.hutchison

Its possible, you need a VBS script to run at startup (not login) and change password
e.g.
set wshnet = CreateObject("WScript.Network")

'Set user object = \Administrator
computername = wshnet.computerName
set usr = GetObject("WinNT://" & computername & "/Administrator")

'*****Specify new password here*****
password = "newpasswd"

'Change password for the user object
usr.SetPassword password
usr.SetInfo

This discussion is closed to new replies.