/build/static/layout/Breadcrumb_cap_w.png

Software Deployment Question


Enabling Local Administrator Account

06/16/2009 3533 views
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

Comments


Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

All Answers

0
Have a look at the net command. To change a password for a local account would be: net user username password
Answered 06/16/2009 by: joedown
Third Degree Brown Belt

0
ADSI or WMI would suit your purpose. Many, many examples of both around.Start at http://www.computerperformance.co.uk.
Answered 06/16/2009 by: VBScab
Red Belt

0
Thanks for the response - however...

Just need to know how I can enable the local administrator account on these...
Answered 06/16/2009 by: lks dcvn
Senior Yellow Belt

0
changing the OU policy to handle it instead - a LOT easier...

Thanks everybody! Have a good one.
Answered 06/16/2009 by: lks dcvn
Senior Yellow Belt

0

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

Answered 08/22/2013 by: jlazerus
Orange Senior Belt

 
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