Net computer


Applies To: Windows Server 2003, Windows Vista, Windows Server 2008, Windows Server 2003 R2, Windows Server 2000, Windows Server 2012, Windows Server 2003 with SP1, Windows 8

Adds or deletes a computer from a domain database.

Net computer is a command-line tool that is built into Windows Vista. To run net computer, open a command prompt, type net computer with the appropriate parameter, and then press ENTER.

For examples of how this command can be used, see Examples.


net computer \\<ComputerName> {/add | /del}





Specifies the computer to add or delete from the domain database for the domain in which you are currently logged on. You can specify only one computer. You cannot specify other domains.

{/add | /del}

Adds or deletes the specified computer from the domain database.

net help <Command>

Displays Help for the specified net command.


  • When you run net computer from an administrative workstation, it forwards all computer additions and deletions to a domain controller.


The following command adds the computer Grizzlybear to the domain database:

net computer \\grizzlybear /add

Additional references

Command-Line Syntax Key