Discussion Locked

local admin pass change from login scrip

0 helpful
10 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Does anyone know of a way to change local admin passwords from a login script? If passwords get compromised we need a way to periodically change our default password on our NT workstations. We are in a mized environment with Netware and and NT Domain and currently run things from our Netware login script.

10 replies

by techguy max

Add this line to script:

net user Administrator password

where password is "password".
This must be performed at the workstation where you want to change a local password under admin login, and new password is password.

by rkelly

Whilst the above answer is correct you must also think about the security side of this. Sending a password update to worstations via a clear texst mechamism is obvioulsy unsecure. If it is a netware login script ensure that the contents are not shown in a popup windows, and if you are doing it in an NT 4 login script then use something like

cmd /c net user administrator password

that should close the windows upon running, but you still have the issue with the Netlogon share.

by robert_jones

While this works it requires the use of the admin account. We are trying to find a way where we would not have to visit 2000 machines to change the admin password.

by techguy max

Of course, NETLOGON share issue is important. You may want to setup special security permission for that file (perhaps - Domain Admins - full control)
you can use @echo off as the first line of a script...

Take care

by comdex20

cool double the points ... ( i'v had the problem and did the solution- not through a login script thou) go to 32bit.bhs.com and search for user manager pro. it is a little cool program that in its trial version lets you do it to 5 workstations at a time... in the full registered? -go wild...

by robert_jones

Yes, I looked at the product and it looks like it will do what I need as well as managing local rights and stuff. Thanks for the info.

This discussion is closed to new replies.