To disable or enable a computer account
Using the Windows interface
- Open Active Directory Users and Computers.
- In the console tree, click Computers.
Where?
- Active Directory Users and Computers
- domain node
- Computers
Or, click the folder that contains the computer that you want to enable or disable.
- 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
- XOX
- XOX
- When you disable a computer account, the computer cannot authenticate to the domain until it has been enabled.
Using a command line
- Open Command Prompt.
- Type:
dsmod computer ComputerDN -disabled {yes|no}
Value |
Description |
ComputerDN |
Specifies the 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
- XOX
- XOX
- When you disable a computer account, the computer cannot authenticate to the domain until it has been enabled.
- To view the complete syntax for this command, at a command prompt, type:
dsmod computer /?
Related Topics