NETDOM COMPUTERNAME machine [/UserO:user] [/PasswordO:[password | *]]
[/UserD:user] [/PasswordD:[password | *]] [/SecurePasswordPrompt]
/Add: | /Remove:
| /MakePrimary: |
/Enumerate[:{AlternateNames | PrimaryName | AllNames}] |
/Verify
NETDOM COMPUTERNAME manages the primary and alternate names for a computer.
This command can safely rename a domain controller or a server.
machine The name of the computer whose names are to be managed.
/UserO User account used to make the connection with the machine to be
managed
/PasswordO Password of the user account specified By /UserO. A * means
to prompt for the password
/UserD User account used to make the connection with the domain of
the machine to be managed
/PasswordD Password of the user account specified By /UserD. A * means
to prompt for the password
/Add Specifies that a new alternate name should be added. The new
name must be a fully qualified DNS name(FQDN - computer name
followed by primary DNS suffix, such as comp1.example.com.).
/REMove Specifies that an existing alternate name should be removed.
The name being removed must be a fully qualified DNS
name (FQDN - computer name followed by primary DNS suffix,
such as comp1.example.com.).
/MakePrimary Specifies that an existing alternate name should be made into
the primary name. The name being made primary must be a fully
qualified DNS name (FQDN - computer name followed by primary
DNS suffix, such as comp1.example.com.).
/ENUMerate Lists the specified names. It defaults to AllNames.
/Verify Checks if there is a DNS A record and an SPN for each computer
name.
/SecurePasswordPrompt
Use secure credentials popup to specify credentials. This
option should be used when smartcard credentials need to be
specified. This option is only in effect when the password
value is supplied as *
NET USER username password | options /DOMAIN username {password | *} /ADD options /DOMAIN username /DELETE /DOMAIN username ...
NetBIOS domain name %1!s! in the forest description names a different domain in the current forest. You can't reassign a ...
NetConnectionStatus is a string indicating the state of the network adapter's connection to the network. The value of the ...
NETDOM ADD machine /Domain:domain /UserD:user /PasswordD:[password | /Server:server /OU:ou path /DC /SecurePasswordPrompt ...
NETDOM COMPUTERNAME machine /UserO:user /PasswordO:[password | /UserD:user /PasswordD:[password | /SecurePasswordPrompt /Add: ...
NETDOM HELP command -or- NETDOM command /help Commands available are: NETDOM ADD NETDOM RESETPWD NETDOM RESET NETDOM COMPUTERNAME ...
NETDOM MOVE machine /Domain:domain /OU:ou path /UserD:user /PasswordD:[password | /UserO:user /PasswordO:[password | /UserF:user ...
NETDOM MOVENT4BDC machine /Domain:domain /REBoot[:Time in seconds NETDOM MOVENT4BDC Renames NT4 backup domain controllers ...
NETDOM QUERY /Domain:domain /Server:server /UserD:user /PasswordD:[password | /Verify /RESEt /Direct /SecurePasswordPrompt ...