How to reset a forgotten server admin password…

A few weeks ago, we had a call from a business who’s IT support company had gone AWOL.

This left the business with a server they were unable to access – you see, the IT support company hadn’t provided their customer with any passwords or documentation for their server.

hqdefault

So, when we got the call, the company I work for did as any good IT support business would…  we donned our superhero capes and got stuck in….

 

Here’s how you do it:

Boot from a Windows server boot CD

Boot from a Windows server boot CD (that matches the OS).

Press any key to start from the CD and wait for the Windows 2012 installation to start.

At the following screen, press next

screenshot1

The next screen show you the option to install the server, DO NOT CLICK THAT!

screenshot2

At the left bottom of the screen. Click on “Repair your computer”.

screenshot3
You will now be taken to the Repair section of Windows.

Click on Troubleshoot.

screenshot4
We’ve now come to the Advanced options screen.

Click Command Prompt

screenshot5

The command prompt opens… with X:\Sources.

Your Windows installation is now secondary so you will have to change to D:\Windows\System32 to get to the system files.

screenshot9

When you are in D:\Windows\System32 you have to execute the following commands.

Copy UTILMAN.EXE UTILMAN.EXE.BAK

Move CMD.EXE UTILMAN.EXE

Press Y when asked to replace the file.

Type exit and reboot the server.

 

Changing the password

Start the server normally and wait for the logon screen.

screenshot7

After you see the welcome screen, you hit the Windows key and press “U”

screenshot8

In that command box you can enter the following command to reset the administrator password:

NET USER Administrator newpassword

(Where newpassword is the password you want to use)

You’ve just changed the Administrator password.

Logon and confirm that the password reset has worked.

 

Changing the files back

Reboot the server and once again boot off the Windows install DVD.

Again, select Troubleshoot and the Command Prompt.

Change Directory to D:\Windows\System32

screenshot6

Enter the following:

Move UTILMAN.EXE CMD.EXE

Rename UTILMAN.EXE.BAK UTILMAN.EXE

Check that both cmd.exe and utilman.exe exist

Type dir | more

Use space to page down, enter to scroll by one line.

Give your server another reboot and confirm everything is working as expected.

 

Congratulations,  you’ve saved the day!!!  Go make yourself a brew, you deserve it.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s