1.

Solve : Enabling Admin account and changin pw via batch.?

Answer»

When imaging a new machine i have to enable TEH administrator account and change the password. Is there a way i can CREATE a script to do both of these tasks?

THanks,
JuppeTHE administrator account? Or one that you see in normal mode with administrator privileges?

If it's the former, it shouldn't have a password, and it should be enabled by default. WinXP does this in case you FORGET your password or if a virus destroys your ability to log in. No need for a script.

If it's the latter, I suggest the DOS command: "net [USER] [password]" without the quotes, replacing user with the name of the login, and replacing password with the chosen password.I am doing this from a corporate image that we load and we have to go in and manually enable the Administrator account and then reset the password. I just thought it would be easier to just run a script to do it and PUT it in startup or runonce.



Discussion

No Comment Found