Windows Server
This topic has not yet been rated - Rate this topic

Netdom Remarks

Updated: March 28, 2003

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

NetDom Remarks

Using the /Verbose Parameter

By default, only the result of an operation is reported. For example, if you use the join operation you see output similar to the following:

success: mywksta joined to mycompany domain

If you specify the /verbose parameter, the output lists the success or failure of each transaction necessary to perform the operation. For example, this time when you use the join operation, you see output similar to the following:

success: adding machine account for mywksta to mycompany domain
success: configuring lsa on mywksta
success: mywksta joined to mycompany domain

Using the /Reboot Parameter

The /reboot parameter specifies that the computer being acted upon by the specified NetDom operation is shut down and automatically rebooted after the completion of the operation. When you specify the /reboot parameter, the following message and a countdown timer display on the workstation screen, prior to the restart:

The system is shutting down. Please save
all work in progress and logoff. Any unsaved changes
will be lost. This shutdown was initiated because the
domain which this machine belongs to was changed by
nnn.

The name of the administrator entered by using the /uo parameter is substituted for nnn.

The default delay before computer restart is 20 seconds.

See Also

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
suppressing netdom
we are sending the command remotely, and use the /force and the /reboot flags which just forces it through and doesnt ask the user for confirmation. if you use /force but not /reboot then this renames it and then next time they reboot it will process everything. the name change will be reflected in ads as soon as the command is send, whether its rebooted or not.
How to suppress the Netdom pop up message box.
I am tring to rename a machine remotely with the PsExec and Netdom command.
When I run this command:
psexec -c \\vmxp-ws1 netdom renamecomputer vmxp-ws1 /newname:vmxp-ws2

I get a message box pops up on the vmxp-ws1: "Netdom" "Do you want to procceed (y or n)?"

How do you keep the box from poping up?
I do not want the enduser to get a message or able them to click on the no to not procceed.