Windows Tools

NetDom Notes

Overview | Notes | Syntax | Examples | Related Tools Open Command Prompt

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 /verbose parameter also causes NetDom to return a value signalling its success or failure in the overall operation. This return value is useful when using NetDom in a batch file or script.

Using the /Reboot Parameter

The /reboot parameter specifies that the computer being affected by the specified NetDom operation is shut down and automatically rebooted after that operation has completed. When you specify the /reboot parameter, the following message and a countdown timer are displayed on the workstation's 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.