Skip to content
faq.powervps.ru
RU EN
Support
Виртуальные серверы

How to Reset Your VPS Password on Windows

  This guide will help you reset the admin password on a Windows VPS. Just follow these simple steps to regain access to your server. 1. Enter Recovery Mode Go to the PowerVPS control panel and do the following: Select Virtual Machines. Find your virtual machine (VM), open the menu, and choose Recovery Mode. Start […]

2 min read Updated 05.11.2024 Editorially reviewed
Before you begin

Follow the steps in order. Do not share passwords, private keys, or tokens in comments or support requests.

 

This guide will help you reset the admin password on a Windows VPS. Just follow these simple steps to regain access to your server.

1. Enter Recovery Mode

Go to the PowerVPS control panel and do the following:

  1. Select Virtual Machines.
  2. Find your virtual machine (VM), open the menu, and choose Recovery Mode.
  3. Start Recovery Mode and reboot the server.

2. Connect to the Server via VNC

Once your server reboots, open the VNC menu to connect.

VNC Connection Example

3. Mount the Windows Partition

After the server loads, select the first option in the SystemRescueCD boot menu.

fdisk -l

Run fdisk -l to see all disk partitions. Find the Windows partition and mount it with this command:

mount /dev/vda2 /mnt

Here, /dev/vda2 is the Windows partition.

4. Reset the Password

Go to the configuration files folder and run the command to reset the password:

cd /mnt/Windows/System32/config/

List Windows users:

chntpw -l SAM

To reset the Administrator password, type:

chntpw -u 0x01f4 SAM

After completing these commands, exit the program and confirm changes by typing “y”.

5. Exit Recovery Mode and Reboot

Disable Recovery Mode and reboot the VPS. After Windows loads, set a new password using Computer Management > Local Users and Groups.

That’s it! You now have access to your server with a new password.

 

Guide complete

If the issue remains, attach a screenshot and diagnostic results to your support request.

Get help