重设域管理员密码-window server 2008 R2

How to Reset Your Forgotten Domain Admin Password on Server 2008 R2

重设域管理员密码-window server 2008 R2

Forgetting your password is always a pain, but luckily there’s an easy way to reset your Domain Administrator password. All you need is a copy of the Windows Server 2008 R2 installation disk and one simple command line trick.

Replacing Utilman.exe

Boot off the Windows disk and select the “Repair your computer” option from the lower left-hand corner.

重设域管理员密码-window server 2008 R2

Follow through until you get to the option to open the Command Prompt, which you’ll want to select.

重设域管理员密码-window server 2008 R2

First you’ll want to type in the following command to backup the utilman.exe file:

MOVE C:WindowsSystem32Utilman.exe C:WindowsSystem32Utilman.exe.bak

重设域管理员密码-window server 2008 R2

Now you will need to copy cmd.exe and rename it Utilman.exe:

COPY C:WindowsSystem32cmd.exe C:WindowsSystem32Utilman.exe

重设域管理员密码-window server 2008 R2

Now you can go ahead and reboot your machine. When its done booting up again and you are at the Logon screen click on the Ease of access icon.

重设域管理员密码-window server 2008 R2

I bet you weren’t expecting that open a command prompt  重设域管理员密码-window server 2008 R2 To change the password type:

net user administrator *

Once you press enter you will asked to set a new password and then confirm it, when entering your new password don’t worry if you can’t see them as you type, they are invisible, they are however being remembered.

重设域管理员密码-window server 2008 R2

Once you’re logged in again don’t forget to delete Utilman.exe and then rename Utilman.exe.bak back to plain old Utilman.exe.