Export (0) Print
Expand All

Netdom resetpwd

Updated: April 17, 2012

Applies To: Windows Server 2008, Windows Server 2008 R2

Resets the computer account password for a domain controller.

Netdom is a command-line tool that is built into Windows Server 2008 and Windows Server 2008 R2. It is available if you have the Active Directory Domain Services (AD DS) server role installed. It is also available if you install the Active Directory Domain Services Tools that are part of the Remote Server Administration Tools (RSAT). For more information, see How to Administer Microsoft Windows Client and Server Computers Locally and Remotely (http://go.microsoft.com/fwlink/?LinkID=177813).

To use netdom, you must run the netdom command from an elevated command prompt. To open an elevated command prompt, click Start, right-click Command Prompt, and then click Run as administrator.

netdom resetpwd {/s: | /server:}<Server> {/ud: | /userd:}[<Domain>\]<User> {/pd: | /passwordd:}{<Password>|*}] [{/help | /?}]

 

Parameter Description

{/s: | /server:}<Server>

Specifies the domain controller to use to set the computer account password.

{/ud: | /userd:}[<Domain>\]<User>

Specifies the user account to use to make the secure connection with the domain that you specify in the /s parameter. You must specify the user account in the Domain\User format. If you do not specify this parameter, then netdom resetpwd uses the current user account.

{/pd: | /passwordd:}{<Password>|*}

Specifies the password of the user account that you specify in the /ud parameter. If you specify the value of this parameter as a wildcard character (*), this parameter prompts you for the password.

{/help | /?}

Displays help at the command prompt.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft