Name

netdom

Synopsis

netdom action [options]

Manage Windows NT/2000 domains and trust relationships.

Common Options

/D: domain [ /Ud: [ domain\] user /Pd: pwd | *]

Specify the target domain, and optionally specify a username and password for authentication. (* says to prompt for the password.)

/Uo: [ domain\]user /Po: pwd | *

Specify a username and password for authentication upon the domain specified as the object of the action keyword. (* says to prompt for the password.)

/S: server

Operate upon the specified domain controller.

/V

Verbose command output.

Available Operations

netdom join computer /D: domain [ /OU:ou-dn] [ /Reb: [ s ]]

Cause the specified computer to join the indicated domain and organizational unit, specified by distinguished name. /DC says to make the system a domain controller, and /Reb causes a reboot on the affected computer s seconds after the operation completes (the default is 20 seconds).

The add keyword may be used in place of join to create the computer account in the target domain without actually joining. The option /DC may be added to create a domain controller account.

netdom move computer /D: domain [ /OU:ou-dn] [ /Reb:[ s ]]

Move the specified computer to join the indicated domain and organizational unit, specified by distinguished name. /DC says to make the system a domain controller, and /Reb causes a reboot on the affected computer s seconds after the operation completes (the default is 20 seconds).

netdom rename computer /D: domain [ /Reb: [ s ]]

Change the name ...

Get Windows 2000 Commands Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.