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.
To add a computer object to a group by using the Windows interface, perform the following steps:
To add a computer object to a group by using the command line, perform the following steps:
Dsmod group "CN=DenyGPO,CN=Users,DC=WS08DOMAIN01,DC=LOCAL" -addmbr "CN=Desktop1,CN=Computers,DC=WS08DOMAIN01,DC=LOCAL"
Tip
For a full list of dsmod group parameters, go to http://technet.microsoft.com/en-us/library/cc732423.aspx.