Learn how to reset your Administrator account password with the Windows customer rescue system.
Requirements
- Microsoft Windows installed on your dedicated server
- At least 16 GB of RAM installed on the server
- Access to the OVHcloud Control Panel
WinPE Rescue
mode. Follow this guide instead when using the WinPE Rescue
mode in the OVHcloud Control Panel.
Instructions
Step 1 - Reboot the server into rescue mode
The system has to be started in the Windows customer rescue system before the admin password can be changed.
For detailed instructions, please refer to the rescue mode guide.
Step 2 - Clear the current password
Connect to your server in Remote Desktop using the credentials provided by email.
Please note that the user name for the rescue mode is Administrator
.
- If your server uses software RAID on your Windows disk, you have to import your Windows local disk to be able to access it: Follow the instructions in section A below.
- If your server does not use software RAID on your Windows disk, you should be able to directly access the local Windows disk as explained in section B of this guide.
A - Importing your local Windows disk
Access disk management
Right-click the Start
menu and select Disk Management
.
You can then see the disks and volumes of the server.
Your server's Windows disk is probably Disk 1. You must import it to be able to access it.
Please note that if you have several disk groups, the number of the Windows disk may vary. You may have to import several disks to get the Windows one.
You also have to import the second disk to properly import your software RAID volume.
Import local disks
Right-click Disk 1 and select Online
.
Do the same thing for the second disk (Disk 2) to properly import your software RAID volume.
Right-click Disk 2 and select Online
.
Disks are now seen as "Dynamic" and "Foreign".
Right-click Disk 1 again and select Import Foreign Disks
.
Click OK
twice.
You can see that the local disk is now accessible and that the Windows disk is drive (E:)
(spreading on two software RAID disks with Mirrored volume type).
In this example, the volume status is "Resynching" because the server was hard-rebooted into rescue mode. This is an expected status and it is not caused by the rescue mode itself.
This will not affect data on the volume and resynchronization will continue once the server is rebooted on its installed OS.
E:\Windows
) when browsing to find the "SAM" configuration file below.You can now reset the password by following the instructions below.
B - Reset the password
To reset passwords, the tool NTPWEdit is required.
Once you are connected via Remote Desktop, open the browser and download it from its official website.
Navigate to the folder where the downloaded ZIP file is located and extract its content.
Next, open the ntpwedit64
executable to start the application.
In this interface, you can manipulate the SAM file to clear the admin user's password.
You must browse the local Windows drive to find your system's SAM file.
Click the more options button (...
) to browse the drive containing your server's local Windows folder.
It usually is the Windows (E:\)
drive.
Browse to E:\WINDOWS\SYSTEM32\CONFIG\
.
Select and open the SAM file to display the user accounts by clicking Open
.
Select the user account "admin" and click on Change password
.
In the popup window, leave the fields empty and click OK
. Finish by clicking Save changes
and Exit
.
After this, the server needs to be rebooted on the normal operating system.
Step 3 - Reboot the server
First, change the netboot back to "Boot from the hard disk" in your OVHcloud Control Panel (see step 1).
Then restart the server from the Control Panel.
Click the more options ...
button near "Status" in the service Status section and click Restart
.
Step 4 - Set a new password (IPMI)
In your OVHcloud Control Panel, navigate to the IPMI tab to open a KVM session.
For a newer version of Windows
Once you have accessed your server through IPMI, click the start menu icon at the bottom left. Start typing Sign-in options
and click the Sign-in options
button once it pops up.
Next, click the Add
button under "Password" to set your new password.
For an older version of Windows
A command line window (cmd) should open when the KVM session is established.
Set the password for the current user (Administrator
):
We advise you to use the virtual keyboard when typing passwords in this interface to avoid mistakes.
Go further
For more information and tutorials, please see our other Dedicated Server support guides or explore the guides for other OVHcloud products and services.