Registry Key

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

Where is the registry key for the administrators group. I
would like to add a new group to the administrators group
on each PC and would like to make a reg punch to do this.

Thanks,
Bob H.
 
Bob said:
Where is the registry key for the administrators group. I
would like to add a new group to the administrators group
on each PC and would like to make a reg punch to do this.

Hi

Sorry, you can't do that with a registry edit.

net.exe can be used for this, something like this:

net.exe localgroup "local group name" "domain\domain group name" /add

(in a command prompt, run "net.exe help localgroup" for more information)


Alternatives for local as well as remote execution:

The free command line utility Lg.exe on the free win32 c++ tools page of
http://www.joeware.nen

VBScript using the WinNT provider is also an option:

http://groups.google.com/groups?q=ADsPath+winnt+GetObject+add+administrators+group:*.scripting
 
Back
Top