/build/static/layout/Breadcrumb_cap_w.png

Changing Admin Password

Has anyone used the kbox 1200 to change the admin password on workstations? I need to change it on approx 6000 machines... I believe net user will require admin rights to the workstation - will the agent act as system / admin (4500 of these are just users - not power users). Thanks for any input.

0 Comments   [ + ] Show comments

Answers (7)

Posted by: chrisgrim 14 years ago
Senior Purple Belt
2
Also this FAQ: http://www.kace.com/support/customer/faq/index.php?sid=17972&lang=en&action=artikel&cat=5&id=599&artlang=en
Posted by: chrisgrim 14 years ago
Senior Purple Belt
0
I think Net Use is going to require running as admin. We have pointed customers to setting up a scheduled task in Windows to do this. Here is a forum post that tells you how to do it: http://www.kace.com/support/customer/forum/comments.php?DiscussionID=58&page=1
Posted by: afzal 14 years ago
Fourth Degree Green Belt
0
You can change the local admin account password using Kbox Scripting module, using the following VB Script, further you can unmark the comment by deleting [ ' ] to send password as command line argument / parameters. currently this script will change the Local Administrator Password to 'abcd' [8|] , Plz check is before applying it on production environment.

strComputer = "."
'strPassWord = WScript.Arguments(0)
Set objUser = GetObject("WinNT://" & strComputer & "/Administrator")
objUser.SetPassword("abcd")
'objUser.SetPassword(strPassWord)
'Wscript.Echo "Completed"
Posted by: mlathrop 14 years ago
Fifth Degree Brown Belt
0
We did this with our 1100 with a KBOX script. KBOX runs with Administrator rights. We run it as an offline script, set to run disconnected or logged off. You may not want to do it that way because the BAT file is copied local.
"On Success" add a step to run a BAT file "net user Administrator password" - change password to the desired password.
Select the machines and OS's you want to apply it to and a run schedule. We run it once per day.

Comments:
  • Does it work with x64 bits machine? - hjansari 10 years ago
    • yep! - mlathrop 10 years ago
      • Are you able to post the bat file which you are using? - hjansari 10 years ago
Posted by: ustacp 14 years ago
Second Degree Blue Belt
0
Afzal,

For this line strComputer = "." is there a wildcard that can be placed into it instead of having to add the computer name? I tried running it like it was and it did not work. I then placed the computer name within the "" and it worked fine.
Posted by: airwolf 14 years ago
Red Belt
0
You can't use a wildcard, because you have to give it a value. For example, you can't browse to another system on your network by typing \\*, you have to give it a name like \\COMPUTERNAME. It should work with "." - this is supposed to run on the local system. You can try LOCALHOST or %COMPUTERNAME% (the variable for the machine name the VBS is running on).
Posted by: afzal 14 years ago
Fourth Degree Green Belt
0
Yes- it should work with ".".
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