Add Domain User to the Local Administrators Group
From: Stewart Saathoff (stewarts@complete-networking.com)
Date: 07/02/02
From: "Stewart Saathoff" <stewarts@complete-networking.com>
Date: Tue, 2 Jul 2002 09:42:22 -0500
Hello, I am trying to add a Domain User to the Local Administrators Group.
When I attempt to do this through the GUI, while logged on as a Domain
Administrator, the domain does not appear in the "Look in:" dialog box.
Only the local computer does. Also, when I try to do it via the command
prompt, it says the Global user does not exist...
Relevant Pages
- need help with OpenDSObject
... I am writing an HTA that will allow me to add a domain user to the ... local Administrators group and can be run even as a lowly user provided ... Sub Promote ... Set objGroup = objDSO.OpenDSObject ... (microsoft.public.scripting.vbscript) - Re: Question about group
... It would mean that domain user can log on to any computer and get admin rights to ... adding the built-in role "INTERACTIVE" to the local Administrators group. ... (microsoft.public.win2000.security) - RE: Remove domain user from local administrators group
... > domain user is assigned to local administrators group. ... Regards ... (Focus-Microsoft) - script to add multple users to local admin group on servers
... ' Script to add domain user to local administrators group ... Dim strUser, objUser, objGroup, objFSO, objTextStream ... ' Bind to local Administrators group on remote computer. ... On Error GoTo 0 ... (microsoft.public.windows.server.scripting) - RE: Add AD user to localgroup
... if your script runs locally on a Win2k or WinXP workstation, you can use the following code (please note that you can still use the ADSI WinNT: provider to access objects in an Active Directory domain): ... ' bind to the local Administrators group ... add the domain user to the local group ... (microsoft.public.scripting.vbscript) |
|