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

Please log in to comment

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

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
Second Degree Brown Belt

Please log in to comment
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

Please log in to comment
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

Please log in to comment
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

Please log in to comment
0

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

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

Please log in to comment
Answer this question or Comment on this question for clarity

Share