Add a user to the local Admin Group on local computers

Add a user to the local Admin Group on local computers

Post by Rob » Fri, 13 Sep 2002 06:46:29



Does anyone know if you can use SMS to add a user to the local admin group
on all the computers in a collection?

Thanks
Rob.

 
 
 

Add a user to the local Admin Group on local computers

Post by Jonas Berend » Fri, 13 Sep 2002 07:38:58


Try making a package (with SMS Installer, or reference a plain VBscript in
your command line) which calls "addusers.exe".  For details on
addusers.exe's syntax, try the following link:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q180546

Cheers,

Jonas

Quote:> Does anyone know if you can use SMS to add a user to the local admin group
> on all the computers in a collection?

> Thanks
> Rob.


 
 
 

Add a user to the local Admin Group on local computers

Post by real name david mano » Fri, 13 Sep 2002 07:43:14


run a batch file that has the command:

net localgroup /add administrators "DOMAIN\logonid"


Quote:> Does anyone know if you can use SMS to add a user to the local admin group
> on all the computers in a collection?

> Thanks
> Rob.

 
 
 

Add a user to the local Admin Group on local computers

Post by Rob » Fri, 13 Sep 2002 08:33:02


Thanks Guys that helps out lots and works great.


Quote:> Does anyone know if you can use SMS to add a user to the local admin group
> on all the computers in a collection?

> Thanks
> Rob.