/build/static/layout/Breadcrumb_cap_w.png

Changing local admin pw with KBOX script

Has anyone created a script for KBOX to change the Windows local Admin password? Also looking to do the same for Macs with KBOX scripting. I haven't quite mastered KBOX scripting logic and would appreciate any help. Thanks!

0 Comments   [ + ] Show comments

Answers (5)

Posted by: lindsamw 14 years ago
Orange Senior Belt
0
Not sure you can do that with scripting, think you would have to push another script, then call that script in your script. Should be a ton of VBS scripts to change passwords.
Posted by: lindsamw 14 years ago
Orange Senior Belt
0
Also interesting, if you have an AD, can use GPP (Group Policy Preferences) to change it too...

http://social.technet.microsoft.com/Forums/en-US/winserverGP/thread/b1e94909-bb0b-4e10-83a0-cd7812dfe073
Posted by: sdickenson 14 years ago
Senior Yellow Belt
0
I've done it with Altiris, but haven't yet with KACE. It's not too hard though.

Just execute:

net user administrator NEWPASSWORD

Obviously replacing NEWPASSWORD with your desired password. I frequently do this with AD startup scripts to ensure I don't miss anyone, though.
Posted by: hotta2000 14 years ago
Senior Yellow Belt
0
Hi.

Distribute PSTOOLS on that machines an you can run "pspasswd administrator yourpassword".

You will get those tools officially @Microsoft.com or http://download.sysinternals.com/Files/PsTools.zip

Note:

The new SysinternalSuite comes with Eula's [:'(] Therfore you have to run it with comment "-accepteula" or "/accepteula".
Posted by: mlathrop 14 years ago
Fifth Degree Brown Belt
0
I discovered the easiest method was to create a new KBOX script template -On success...Add...run BAT file
Enter the command line "Net User Administrator newpassword" in the text entry box.This creates a BAT file that is a dependency that is uploaded to KBOX.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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