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 13 years ago
Orange Senior Belt
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 13 years ago
Orange Senior Belt
Also interesting, if you have an AD, can use GPP (Group Policy Preferences) to change it too...

Posted by: sdickenson 13 years ago
Senior Yellow Belt
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 13 years ago
Senior Yellow Belt

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


The new SysinternalSuite comes with Eula's [:'(] Therfore you have to run it with comment "-accepteula" or "/accepteula".
Posted by: mlathrop 13 years ago
Fifth Degree Brown Belt
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


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