09/30/2009 9331 views
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


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

All Answers

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.
Answered 09/30/2009 by: lindsamw
Orange Senior Belt

Also interesting, if you have an AD, can use GPP (Group Policy Preferences) to change it too...

Answered 09/30/2009 by: lindsamw
Orange Senior 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.
Answered 10/05/2009 by: sdickenson
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".
Answered 10/06/2009 by: hotta2000
Senior Yellow 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.
Answered 10/09/2009 by: mlathrop
Fifth Degree Brown Belt