Discussion Locked

NTWS Local Admin password change

0 helpful
11 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Is there a method/utility that will allow the local Administrator's password to be changed without visiting each workstation? In an environment with several hundred workstations, if the password gets out, it could take a long time to change them allone at a time. I'm hoping there is a way to avoid such an exercise.

11 replies

by ruturaj

I am not aware if you can change the Admin PW on all WS's simultanously but you can change the same from an NT Server by opening User Manager For Domains and Selecting the Select Domain option from the User Menu type the NT WS Name (eg \\ntws) this will open up the user manager for that machine then you can change the administrator password without going to the machine but you have to do this for all the workstations.

by cafegu

nothing to do. Nt workstation have its own database. You can obtain all the permisions in the workstation if the group Domain administrator are include in the local group Administrator. Then you can use a Administraor of the domain.

Try this.

by gbainbridge

The NT resource kit includes many command line utilities. I don't have access to it at this moment, but I'm pretty sure there is command line access to the user manager database. (I know there is in Win2k).

If you can find this utility, you could write a login script that will do this for you.

Sorry this answer isn't much more clear, but I hope it gets you started.

by nicko

You can use the command:

net user administrator password

Type net user /? for more help. I use this at the end of an unattended build to change the admin password. I think you will need admin rights to the workstation for it to work though.

by dfigueroa

Use the resource kit utility cusrmgr.exe.

Redirect net view to a file to get a list of your machines, and weed out the DC's, and clean up the listing to only have the actual machine names.

net view > machine.lst

From there, you can use the for command with cusrmgr.exe from the Win2k resource kit to modify the passwords.

You'll have to play with the syntax to get it right.. but this should be close, and should work, even on NT 4.0.

for /f %f in (machine.lst) do cusrmgr -u Administrator -m "%f" -P newpassword

by bensil

Most comprehensive of replies received. This should give me a good start on solving the problem.

This discussion is closed to new replies.