Local Administrator Rights on a PC

5 pts.
Tags:
Local Administrator Rights
Local Administrators Account
Scripting
I am trying to create a script that will create a local administrator account on each PC. I will also need to set the password on each PC. Which is the best to perform this task?

Answer Wiki

Thanks. We'll let you know when a new response is added.

You can do this with NET USER /ADD; refer to this article for more information.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Colin Smith
    are you asking what scripting language is the best in order to do this? If so then I would need to know if you are doing this on every machine or if you are running it from one host to perform the task on many remote hosts? I will also need to know what the OS is of the PC's and if you are running from one to many what OS is on the host that will be execuing the script. My first answer is Powershell is by far the best way if running on an OS that supports it. Let me know and I will be happy to help you with the script if you need it. colin@sysadminsmith.com> is my email
    885 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following