Forgot the Administrator Password of a Windows VPS? Reset It With Recovery

The Reset Password button on the Credentials tab does not work for Windows. If you no longer know the password of Administrator, you can remove it yourself with the GRML recovery image and then set a new one in the console. Your files and programs stay as they are. We tested every step on our test VPS with Windows Server 2025; it took about 15 minutes.

💡 Snapshot first

If the VPS holds important data, create a snapshot on the Snapshots tab before you start: How to Create and Restore a VPS Snapshot.


1. Attach the GRML Image

Open your VPS in the Client Area and the Recovery tab (1). GRML (2) is a Linux system that starts from the image instead of Windows. Click Attach Image (3).

Recovery tab with the GRML image and the Attach Image button

Select GRML (1) and click ATTACH IMAGE (2).

Attach Recovery Image with GRML selected

After a few seconds the tab shows Recovery image attached (1).

Recovery image attached: GRML is currently connected to this VPS

2. Start the VPS From the Image

On the Information tab, click Stop and wait until the status is STOPPED, then click Start. The VPS now starts GRML instead of Windows. Stop switches Windows off without shutting it down; this is why Windows asks for a reason at the next sign-in (step 5).

3. Remove the Password in GRML

Click Console on the Information tab. GRML starts by itself and shows a menu. Press q (1) to get to the command line.

GRML in the VPS console: grml-quickconfig, press q for the command line

Type these commands and press Enter after each line. The console uses the US keyboard layout.

lsblk -o NAME,SIZE,FSTYPE,LABEL

The list shows the Windows disk: an ntfs partition with the label Windows, for example sda2. Use your partition in the next command if it has another name.

mount /dev/sda2 /mnt
cd /mnt/Windows/System32/config
chntpw -u Administrator SAM

chntpw shows the account and a menu. Type 1 (1), Clear (blank) user password, and press Enter at Select (2).

chntpw with the account Administrator and the User Edit Menu

chntpw answers Password cleared! (1) and shows that the account now has no password (2).

chntpw: Password cleared, the user probably has a BLANK password

Type q and Enter (1). At Write hive files? (y/n), type y and Enter. The answer <SAM> - OK (2) means the change is saved.

chntpw: Write hive files answered with y, SAM - OK

Unmount the Windows disk:

cd /
umount /mnt

4. Start Windows Again

On the Recovery tab, click Detach Image and confirm. Then on the Information tab click Stop, wait for STOPPED, and click Start. Windows starts as usual.

5. Sign In at the Console and Set a New Password

Open Console again. On the lock screen, send Ctrl+Alt+Del with the button in the console menu, as described in step 4 of Windows Server on a VPS: Quick Start. Administrator now has no password field: click Sign in (1).

Windows sign-in in the console: Administrator without a password, Sign in

Windows asks why it was shut down. Choose a reason, type a short comment and click OK.

Set a new password at once, still in the console: send Ctrl+Alt+Del again and click Change a password (1).

Ctrl+Alt+Del screen with Change a password

Leave Old password empty (1), type the new password in New password and Confirm password (2) and press Enter. Windows answers Your password has been changed.

If Windows answers Access is denied instead, set the password with net user Administrator * in a Command Prompt, as shown in Method 2 of How to Change the Administrator Password on Windows Server.

Change a password: Old password empty, the new password twice

âš  Do not stay without a password

Until you set the new password, anyone who opens the console of your VPS can sign in. Set it before you close the console, and write it down: the Credentials tab keeps showing the password from the installation.

Connect with Remote Desktop and the new password: How to Connect to Windows Server With Remote Desktop.

The steps work with Windows Server 2025 and GRML 2026.04 (chntpw 1.00).


Related Guides

View all Windows VPS guides

Was this answer helpful? 0 Users Found This Useful (0 Votes)