Microsoft Windows Graphic

To disable or enable a computer account

Using the Windows interface

  1. Open Active Directory Users and Computers.
  2. In the console tree, click Computers.

    Or, click the folder that contains the computer that you want to enable or disable.

  3. In the details pane, right-click the desired computer, and then do one of the following:
    • To disable, click Disable Account.
    • To enable, click Enable Account.

Notes

Using a command line

  1. Open Command Prompt.
  2. Type:

    dsmod computer ComputerDN -disabled {yes|no}

Value Description
ComputerDN Specifies the distinguished names of the computer object that you want to disable or enable.
{yes|no} Specifies whether the computer is disabled for log on (yes) or not (no).

Notes

Related Topics