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.
Syntax
net computer \\<ComputerName> {/add | /del}
Parameters
Parameter | Description |
---|---|
\\<ComputerName> |
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. |
Remarks
- When you run net computer from an administrative
workstation, it forwards all computer additions and deletions to a
domain controller.
Examples
The following command adds the computer Grizzlybear to the domain database:
net computer \\grizzlybear /add