Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

Active Directory Domain Services 2008 : Add a Computer to a Group

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
1/27/2012 3:18:14 PM

Scenario/Problem: Your company uses AD DS groups to filter the application of GPOs on computers.


Solution: Add a computer account to a group using the Windows interface or the command line.

Add a Computer to a Group by Using the Windows Interface

To add a computer object to a group by using the Windows interface, perform the following steps:

1.
Log on to a domain controller or a member computer that has Windows Server 2008 RSAT installed.

2.
Click Start, click Administrative Tools, and then click Active Directory Users and Computers.

3.
In the details pane, right-click the computer object you want to add to the group and click Add to a group.

4.
In the Select Groups window, shown in Figure 1, enter the name of the group to which you want to add the user, click Check Names, and click OK.



Figure 1. Adding a computer to a group using the Windows interface.



Add a Computer to a Group by Using the Command Line

To add a computer object to a group by using the command line, perform the following steps:

1.
Log on to a domain controller.

2.
Click Start, and click Command Prompt.

3.
In the Command Prompt window, type the following command and press Enter:

Dsmod group "CN=DenyGPO,CN=Users,DC=WS08DOMAIN01,DC=LOCAL" -addmbr
"CN=Desktop1,CN=Computers,DC=WS08DOMAIN01,DC=LOCAL"

(WHERE "CN=DenyGPO,CN=Users,DC=WS08DOMAIN01,DC=LOCAL" is the distinguished name of the group and "CN=Desktop1,CN=Computers,DC=WS08DOMAIN01,DC=LOCAL" is the distinguished name of the computer you want to add to the group).

4.
Verify that the results of the dsmod group command entered above returns dsmod succeeded, as shown in Figure 2.

Figure 2. Adding a computer to a group using the command line.

Tip

For a full list of dsmod group parameters, go to http://technet.microsoft.com/en-us/library/cc732423.aspx.

Other -----------------
- Active Directory Domain Services 2008 : Move a Computer Object
- Windows Server 2008 Server Core : Starting and Configuring the Registry Editor (part 2)
- Windows Server 2008 Server Core : Starting and Configuring the Registry Editor (part 1)
- Microsoft BizTalk 2010 : Consuming ASDK-based Adapters - Installation
- Microsoft BizTalk 2010 : Understanding the ASDK-based adapter
- Microsoft Dynamics CRM 4.0 Accelerators : eService Accelerator (part 4)
- Microsoft Dynamics CRM 4.0 Accelerators : eService Accelerator (part 3) - Modify the New Workflows & eService Configuration
- Microsoft Dynamics CRM 4.0 Accelerators : eService Accelerator (part 2)
- Microsoft Dynamics CRM 4.0 Accelerators : eService Accelerator (part 1) - Configuring ASP.NET Membership
- Automating Dynamics GP 2010 : Speeding up document delivery with e-mail
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server