Resetting Windows user password

Guide to Updating the Administrator Password in Windows

Note

Windows Server can be installed on all VPS and dedicated server orders.

Go to your server in the billing panel, open Console, and click Enable Rescue Mode.

file

Confirm the action.

file

Once Rescue Mode is enabled, the server will reboot (cold reset).

Next, select the first option Boot SystemRescueCD using default options and press Enter.

file

To view the list of available partitions/disks, run:

fdisk -l | more

file

Mount the Windows partition/disk:

mount /dev/vda1 /mnt

Check that the correct partition is mounted by viewing its contents.

Note

The partition should contain system folders such as Program Files, Users, and Windows.

ls -l /mnt

file

If you mounted the wrong partition, unmount it with:

umount /mnt

and mount the correct partition containing Windows.

Navigate to the configuration folder:

cd /mnt/Windows/System32/config/

file

List Windows users:

chntpw -l SAM

file

To start the password reset utility, run:

chntpw -u 0xRID SAM

where RID is the user identifier. In our example, it is 01f4:

chntpw -u 0x01f4 SAM

The account may be locked if too many password attempts have been made. This will be indicated by [probably locked now] under Unlock and enable user account. To unlock, use the corresponding number for Unlock and enable user account [probably locked now].

file

Make sure the account is unlocked — it should say [seems unlocked already] next to Unlock and enable user account.

To clear the password, enter the number for Clear (blank) user password.

file

Exit the utility by pressing q, then confirm saving the changes with y.

Check the result:

chntpw -l SAM

file

Note

If everything was done correctly, the account will have no password (*BLANK*).

Shut down the server using poweroff and disconnect Rescue Mode.


To set a new password for the Administrator account, use the Windows Command Prompt. Search for cmd and open the Command Prompt application:

file

In the console, run:

net user Administrator someStrongPassword

Replace someStrongPassword with a strong password of your choice:

file

The password for the Windows Server user is now changed.

Note

You can reset the password for another user the same way by replacing Administrator with the desired username.


Help

If you encounter any difficulties or need assistance, please create a request to our support team through the ticket system, and we will be happy to help you.

Need help?Our engineers will help you free of charge with any question in minutesContact us