How to Safely Reset a Windows VPS Administrator Password

Updated on Nov 7, 2026
Mila H
7 MINS READ
Table of Contents
Safely Recover Windows VPS Password

If you forgot the Administrator password on your Windows server, you can fix it without losing data. Use your provider's tools, another admin account, or a backup. This guide shows safe ways to reset the Windows VPS administrator password.

Safety Checklist Before You Begin

Take a few minutes to check your setup first. Look at your admin accounts, backups, account type, and disk encryption. These checks help you pick the right fix and protect your data. A wrong move, such as a reinstall, can erase your files.

  • Check if you have a second admin account. It can fix the first one in a minute.
  • Check if you have a backup or snapshot. Take a new snapshot before you change anything.
  • Check if the server is domain-joined. The fix is different for domain accounts.
  • Check if the disk uses BitLocker. If it does, find the recovery key before you do anything.
  • Confirm you own or manage the server. Only reset passwords on servers you are allowed to manage.

If you are locked out, try to get back in without changing the disk. Use this list each time you need to reset Windows VPS administrator password details on a live server. If you must reset Windows VPS administrator password access from outside the system, follow the safe steps below in order.

Local Accounts vs. Domain Accounts

Windows Server has two main account types, including local and domain. A local account lives on the VPS itself. A domain account lives on a domain controller. The fix is different for each, so check your account type first.

Account type Where the password lives Where to fix it
Local account On the VPS itself On the VPS, using another admin or the provider console
Domain account On the domain controller On the domain controller, not on the VPS

If a domain account is locked out, changing the local password on the VPS will not help. Ask a domain admin to reset it. A domain controller has no local accounts, but it has a special recovery password called the DSRM password. We cover it later.

Fix 1: Use Another Admin Account

This is the safest route and the fastest way to reset the Windows VPS administrator password data for a local account. You must sign in with any other administrator account over RDP or the console. Then, open PowerShell as Administrator.

Reset a local account; here it is the Administrator account:

PowerShell
$pw = Read-Host "Enter new password" -AsSecureStringSet-LocalUser -Name "Administrator" -Password $pw

Set-LocalUser is part of the built-in Microsoft.PowerShell.LocalAccounts module in Windows PowerShell 5.1, which Windows Server includes. This command does not put the password in your shell history.

Also, you can use the classic command. The * makes Windows ask for the password so it is not shown on screen:

net user Administrator *

If the account is disabled, turn it on with:

PowerShell
Enable-LocalUser -Name "Administrator"

Check the result with the command below:

PowerShell
Get-LocalUser -Name "Administrator" | Select-Object Name, Enabled, PasswordLastSet

PasswordLastSet should show the current date and time.

Fix 2: Recover Access With Your VPS Provider Console

Most VPS panels have a web console, such as VNC or KVM style. It works like a screen and keyboard plugged into the server. It works even when RDP is blocked. It does not change or skip the password, so it is safe. Use it to:

  1. Open the console from your provider's control panel.
  2. Send Ctrl+Alt+Del with the console's button. Your own keyboard shortcut may not reach the VPS.
  3. Sign in with any working admin account.
  4. Run the PowerShell commands from Fix 1.

If you have no working admin account, check what your provider offers. Some panels have a password reset or rescue mode. Others only reboot or reinstall. For example, Windows VPS Plans from PerLod lets you reboot, reinstall, and open console access from its panel. Check your own provider's panel and docs before you try a reinstall, because a reinstall clears the disk.

If your provider has no reset option, you can open a support ticket. Prove you own the account, and ask what recovery steps they support. Support can usually attach a rescue image or run a supported reset.

Fix 3: Use a Backup or Snapshot

A backup is a slow but safe way to reset Windows VPS administrator password access when nothing else works.

  1. First, make a new snapshot of the current server. This keeps the current data safe.
  2. Restore the older backup or snapshot to a new VPS or a test copy.
  3. Sign in with the password that worked at that time.
  4. Copy the newer files and settings you need.
  5. Set a new password on the restored server.

Do not overwrite the live server with an old backup until you have checked what is missing. You can lose the data created since that backup.

Domain Accounts: Reset Password From the Domain Controller

A domain account is managed by a domain controller, not by the VPS. So you must fix the password there. A domain admin can reset the password and unlock the account in a few steps.

Sign in to a domain controller, or to a PC with the Active Directory tools. Then, run:

PowerShell
Set-ADAccountPassword -Identity "jsmith" -Reset -NewPassword (Read-Host "New password" -AsSecureString)Unlock-ADAccount -Identity "jsmith"

The -Reset option does not need the old password. Set-ADAccountPassword and Unlock-ADAccount come from the Active Directory module. It is installed by default on domain controllers and is available on other machines through RSAT.

Also, you can use Active Directory Users and Computers. You must right-click the user and select Reset Password.

If you lost the DSRM password on a domain controller, you can open a command prompt on the DC as an admin and run:

Bash
ntdsutilset dsrm passwordreset password on server null

Type the new password when asked, then enter quit twice to exit.

Protect Your Data: BitLocker and Encryption

BitLocker can block any attempt to reset the Windows VPS administrator password access from outside Windows. If the system disk is encrypted, you must have the recovery key to read it from outside Windows. That includes rescue mode or an offline tool. A password reset does not remove BitLocker.

If you can still sign in, check the BitLocker status with:

PowerShell
manage-bde -statusmanage-bde -protectors -get C:

Save the 48-digit recovery password in a safe place. Microsoft Support cannot find or recreate a lost BitLocker key. If you lost it, check these places:

  • A Microsoft account (aka.ms/myrecoverykey)
  • A work or school account (aka.ms/aadrecoverykey)
  • Active Directory
  • A printed page
  • A USB drive

Without the key, you cannot recover the encrypted data. The only option left is to reset the system, and that erases the data.

Other encrypted files work the same way. EFS (Encrypting File System) locks files to the user's certificate. A forced password reset can make these files unreadable. Back up the certificates while you still can.

Avoid Unsupported Password Bypass Methods

You may find some tricks to bypass the Windows password from a rescue disk. They look quick, but they are risky. Do not use them on a production server, for these reasons:

  • Microsoft does not support them.
  • They change system files, which can break updates and security tools.
  • They can leave a security hole if you forget to undo them.
  • They fail on BitLocker-protected disks.
  • Changing a password from outside can lock you out of EFS-encrypted files and saved credentials.
  • They may break your provider's terms of service or your company's rules.

If a rescue disk is the only option, use your provider's supported rescue mode and ask support first.

Secure Your Server After Recovery

Once you reset the Windows VPS administrator password access, you must secure the server. Do these steps immediately to avoid a repeat:

  1. Set a long, unique password and store it in a password manager.
  2. Create a second admin account as a backup.
  3. Keep the Administrator account, but limit RDP access with firewall rules, and turn on Network Level Authentication.
  4. Turn on automatic snapshots or backups, and test one restore.
  5. Save the BitLocker recovery key in two places.

If you run many Windows systems or need full hardware access with remote management, a dedicated server with IPMI access can give you full control. That is useful when the OS is not reachable.

Conclusion

A forgotten password is a fixable problem. First, try a second admin account or the provider console, then a backup. Know whether the account is local or domain, check BitLocker before you touch the disk, and skip the offline bypass tricks. Safe recovery keeps your data and keeps the server supported.

Only with provider tools, such as a rescue mode or console reset, or by restoring a backup. Ask your provider's support what they support.

No. A normal reset keeps your files. Reinstalling Windows does delete them.

You cannot recover the data. Microsoft cannot recreate the key. You must restore from a backup.

Ask a domain admin to run Unlock-ADAccount and reset the password on the domain controller.