Reset the machine account password for a domain controller.
In Windows 10 use the Reset-ComputerMachinePassword PowerShell cmdlet instead.
Syntax NETDOM RESETPWD /Server:domain_controller /UserD:user /PasswordD:[password | *] [/SecurePasswordPrompt] Key: Server The name of a specific domain controller that should have its machine account password reset. /UserD User account used to make the connection with the domain controller specified by the /Server argument. /PasswordD Password of the user account specified By /UserD. Specifying a * will prompt for the password. /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 *
Currently there is no support for resetting the machine password of a remote machine or a member server.
All parameters must be specified.
Netdom options can be abbreviated to just the UPPER case letters, e.g. /PasswordD can be supplied as just /PD
“You can’t convince a believer of anything; for their belief is not based on evidence, it’s based on a deep seated need to believe” ~ Carl Sagan
Related:
NETDOM RESET - Reset the secure connection between a workstation and a DC.
PowerShell Equivalent: Reset-ComputerMachinePassword - Reset the machine account password for the computer.