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
- 3/5/2010
- fro5tie
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.
