Re: Adding a computer to a domain

From: Oli Restorick [MVP] (oli_at_mvps.org)
Date: 09/10/04


Date: Fri, 10 Sep 2004 01:07:13 +0100

I use a computer startup script assigned with group policy to do this.

The command I use is:

net localgroup mydomain\mygroup administrators /add

Enter that in the computer startup scripts dialogue in a GPO with "net" as
the command and the rest of the line as the parameters.

Bear in mind that if the machine is moved to a trusted domain, this group
will still be a member of the administrators group. That may or may not be
important to you.

Hope this helps

Oli

"Josh Hopkins" <jhopkins@mobile-productivity.com> wrote in message
news:934901c496c3$1f11b5e0$a501280a@phx.gbl...
> Just was wondering if there was a way when adding a
> computer to a 2003 domain to also have a group added to
> the administrators group on the local box, like the
> Domain Admins group is.



Relevant Pages

  • Re: Allow Admins to log on to W2K Desktop with Admin Rights
    ... The command fails ... >This will execute the command "net localgroup ... administrators domain\helpdesk ... >> We want to have our support and admin staff be able to ...
    (microsoft.public.win2000.security)
  • Re: file sharing only works for some files, not all
    ... If you now open another Command Prompt and type this ... Local Group Memberships *Administrators *Debugger Users ... Check your NTFS permissions, check your ...
    (microsoft.public.windowsxp.general)
  • Re: AT command and Access Denied
    ... that you tried to run the AT command, ... I turned on auditing for privilege use and this is the ... > Client Logon ID: ... >> administrator as shown by membership on the local administrators group. ...
    (microsoft.public.win2000.security)
  • Re: Net user command to add group to local admin
    ... net localgroup "administrators" domain\groupname. ... So on a workstation called "xp1" which is part of the ... domain called "LabdomainA" i was able to add a group i ... the "Administrators" local built in group of "xp1" via the ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: Help with Guest account
    ... Are you sure you are using an administrator account and did you verify it ... You can also run the command net user ... it is a member of the administrators group under local group memberships. ... Local Group Memberships *Administrators *Network Configuration ...
    (microsoft.public.windowsxp.security_admin)