Question Locked

change the local admin password

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

p.j.hutchison stated in his post that ...

"What you need is a startup script which can be run when machine is booted up to change the password via GPO If interested, I can email it to you?!"

If anyone has this script. Please email me a copy of the script, I need this script very much.

Thanks,
Agustin
atan@olmc.nsw.edu.au

2 replies

by chady

Just wondering if you can post it for everyone to see? I have one, but I can't get it change the password the second time. For example, I rename the admin account (with a GPO), and create another account in its place, set a password on both accounts. If I push this to a test group all is good, but if I go in and change the password it will not change on the system. I am using:

@rem Create account Administrator, set password for account SysOp
net user Administrator password /ADD /y
net user Administrator password /y
net user NewAdmin NewPassword /y

The names have been changed to protect the innocent.

This discussion is closed to new replies.