Search Tools Links Login

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


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.

About this post

Posted: 2008-07-07
By: dwirch
Viewed: 14,491 times

Categories

Tip

Windows Commandline

Scripting

Windows

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.