[gptalk] Re: Creating a local admin account

  • From: "Darren Mar-Elia" <darren@xxxxxxxxxx>
  • To: <gptalk@xxxxxxxxxxxxx>
  • Date: Tue, 4 Nov 2008 06:51:55 -0800

Ian-

If you have GP Preferences in place, you can use GP directly to do that with
the local users and groups feature-you don't even need a script. However, if
you don't, then, assuming how many machines you have, I would just do this
remotely using a tool like PSExec and some simple command lines, like this:

 

net user joesmith password /add

net localgroup administrators joesmith /add

 

Darren

 

From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] On
Behalf Of Dowdle, Ian
Sent: Tuesday, November 04, 2008 3:20 AM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Creating a local admin account

 

I am not sure that this is the correct forum for this but here goes. Does
anyone have a vbs script that will create a local user account and add that
user to the local administrators group? Scripting is not my strong point!

 

Regards,

Ian Dowdle

PC Operations Manager

School of Computing

University of Teesside

 

A positive attitude may not solve all your problems, but it will annoy
enough people to make it worth the effort.

Other related posts: