How to Reset Your VPS Password on Windows
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 Recovery Mode and reboot the server.
2. Connect to the Server via VNC
Once your server reboots, open the VNC menu to connect.
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.