Add or Remove a Computer from the Domain, Command-line style

By | 2008-07-07

Using a simple command, you can add or remove a computer to a domain. You must be a domain administrator to run this command.

Open a command prompt and type the following to add a computer to the domain:

net computer \\computername /add

Type the following to remove a computer from the domain:

net computer \\computername /del

These command are especially valuable if you are using batch files.

Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.