Search
Windows Server

Active Directory Domain Services 2008 : Enable a Computer Object

Published 1 min readBy Programming4us Editorial Team

Enable a Computer Object


Solution: Enable a computer account by using the Windows interface or the command line.

Enable a Computer Object by Using the Windows Interface

To enable a computer object 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 disable and click Enable Account.

4.

Verify the computer account was enabled, as shown in Figure 1, and click OK.

Figure 1. Enabling a computer object using the Windows interface.


Enable a Computer Object by Using the Command Line

To enable a computer object 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 computer "CN=Desktop1,CN=Computers,DC=WS08DOMAIN01,DC=LOCAL"
								-disabled no

(where "CN=Desktop1,CN=Computers,DC=WS08DOMAIN01,DC=LOCAL" is the distinguished name of the computer you want to disable).

4.

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

Figure 2. Enabling a computer object using the command line.