1. Virtual Private Servers (VPS)
FSH Knowledgebase
  • Game Guides
    • Minecraft
      • How to change MOTD for a Minecraft server
      • How to download your Minecraft server world
      • How to install a custom Minecraft modpack
      • How to Install Datapacks to your server
      • How to upload a custom Minecraft world
      • What is the difference between Spigot Paper and PurPur
      • Reducing Lag
        • Reduce Lag on ForgeMC server
        • Reduce Lag on FabricMC server
      • Common Issues
        • How to Fix Authentication servers are down Please try again later
        • Failed to check session lock
        • Exception Server Tick Loop
        • Server Connection Timed Out
        • Fixing the Connection timed out getsockopt Error in Minecraft
      • Managing your Server
        • How to Optimize Your Server
        • How to set a custom seed on your Minecraft Server
        • Using Chunker to Convert Minecraft Worlds Across Editions
        • Which Java version to use for Minecraft server
        • Add Add-ons to your Bedrock Server
        • How To EnableDisableManage Your WhitelistAllowlist
      • Plugins
        • Simple Voice Chat
        • Dynmap
        • Bluemap
        • Chunky
    • Palworld
      • How to add mods to your Palworld Server
      • How To Update A Palworld Server
      • Resetting a Player's Save on a Palworld Server
      • Finding Your Palworld Server in the Community Servers List
      • Changing the Egg Hatching Time on a Palworld Server
      • How to Edit Palworld Server Settings
      • How to Become Admin on Your Palworld Server
  • Panel Knowledgebase
    • Game Server Panel
      • How to reset your Game Panel Password
      • Uploading Files Via SFTP
      • Adding Dev Sub Users
    • Client Area
      • Affiliate Program
      • Discord Linking
      • How to Cancel A Service
      • How to upgrade or downgrade your service
  • Service Knowledgebase
    • Virtual Private Servers (VPS)
      • Change Window Server Password Locked Out
      • Creating Your VPS
      • Developers and your VPS
      • How to connect to your VPS from any Linux or Debian Distro
      • Logging into your VPS Windows
      • Opening Ports on a VPS
      • Resetting your VPS Password
      • SSH Client Setup
  1. Virtual Private Servers (VPS)

Change Window Server Password Locked Out

Sometimes Windows account's will lock up due to too many failed tries, or you forget your Windows Server password.
You will need some basic knowledge of Linux for this
Reboot the vps/server into rescue mode
Rescue Mode must be on for the admin password to be changed.
Mount the system partition
You will need to connect to the server via SSH or use the KVM/ Console
Find the drive that Windows is installed on (usually the same size as your storage) you can run the command lsblk to see the list of drives
ntfsfix /dev/sdb2
mount -t ntfs-3g /dev/sdb2 /mnt
Clear The Current Pass
SAMfile is edited by using a tool in Linux to edit Windows systems
Sometimes you need to install chntpw on the system.. apt install chntpw
The command below will list all users on the system
chntpw -l /mnt/Windows/System32/config/SAM
The next command, you will need to replace USER with the account you'd like to edit
chntpw -u USER /mnt/Windows/System32/config/SAM
Type "1" and press Enter. (Make use of option 2 first if there is an "X" next to "Disabled".)
Type "q" and press Enter to quit the tool. Type "y" when prompted and press Enter.
Reboot Server
DO NOT SKIP THIS STEP
Connect to your server and enter cmd into the search bar to open the Command Prompt.
Set the password for the current user ("Administrator"): net user Administrator
Modified at 2026-06-18 07:46:29
Previous
Service Knowledgebase
Next
Creating Your VPS
Built with