If you need to add a computer account (computername$) to a local group or domain local group in Windows Server 2003, you can modify the object picker to select computer accounts or you can use the net localgroup command-line utility. If you need to add a computer account to a local group or domain local group in Windows 2000 Server, you can use only the command prompt.

Procedure

To add a computer account to a group by using the Windows interface

  1. In Computer Management (member server) or Active Directory Users and Computers (domain controller), in the results pane, right-click the group, and then click Properties.

  2. Click the General tab (member server) or Members tab (domain controller), and then click Add.

  3. In the Select Users, Computers, or Groups dialog box, click Object Types.

  4. In the Object Types dialog box, select Computers, and then click OK.

  5. In the Select Users, Computers, or Groups dialog box, in the Enter the object names to select box, type computername$, where computername is the name of the computer you want to add to the group.

  6. Click OK.

  7. The Select Users, Computers, or Groups dialog box closes. Verify that your computer appears in the list.

    Note
    When you set the computer as an object type to select, it does not persist the next time you add an account. If you need to add another computer account, repeat these steps to select the correct object type.

To add a computer account to a group by using the command prompt

  • You can add computer accounts to a domain group or local group of another computer by typing the following command:

Net localgroup <group> <domain name>\<computer name>$ /ADD

For example, to add a computer named Dublin that is a member of the NWTRADERS domain to the Site System to Site Server Connection group in the ABC domain, you would type the following command:

Net localgroup SMS_SiteSystemToSiteServerConnection_ABC NWTRADERS\DUBLIN$ /ADD

See Also