/build/static/layout/Breadcrumb_cap_w.png

Enabling Local Administrator Account

Just added a new office (~100 pcs) to my work domain and will be changing the local admin pw on these new PCs (end users know it) and have come to find out that along the way - several local admin accounts were disabled...their IT staff told me about that yesterday - :(

All the PCs are Win XP Pro.

I already have a sms installer script for changing the local admin pw - just need to figure out how to enable the local admin account if it is disabled on the boxes

I plan to deploy this using our SMS system so looking for insight on how to add this to my script.

Any and all help will be greatly appreciated.

Thx.

0 Comments   [ + ] Show comments

Answers (5)

Posted by: jlazerus 10 years ago
Orange Senior Belt
0

net user administrator (or admin account name) /active:yes

Posted by: joedown 14 years ago
Third Degree Brown Belt
0
Have a look at the net command. To change a password for a local account would be: net user username password
Posted by: anonymous_9363 14 years ago
Red Belt
0
ADSI or WMI would suit your purpose. Many, many examples of both around.Start at http://www.computerperformance.co.uk.
Posted by: lks dcvn 14 years ago
Senior Yellow Belt
0
Thanks for the response - however...

Just need to know how I can enable the local administrator account on these...
Posted by: lks dcvn 14 years ago
Senior Yellow Belt
0
changing the OU policy to handle it instead - a LOT easier...

Thanks everybody! Have a good one.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ