Change Windows Password clears the password of a local Windows account, so you can sign in again. It works on the Windows drive directly, without starting Windows. The password is left blank. Once you are signed in, set a new one in Windows.

Before You Start

  • It works with local accounts, the kind you sign in to with a user name. If you sign in to Windows with an email address, that is a Microsoft account, and Microsoft keeps its password. Reset it on Microsoft’s website from another device.
  • Change Windows Password reads Windows’ own files, so Windows must not be encrypted with BitLocker. Windows 11 often turns on device encryption, which is BitLocker, during setup. An encrypted Windows partition does not show in the list.
  • It does not change a Windows Hello PIN.
  • Windows must be fully shut down. With Fast Startup on, Windows 10 and 11 only shut down partway, and its partition cannot be written. Change Windows Password checks this when you click Load Users and tells you. At the Windows sign-in screen, click the power button and choose Restart. Start Erase Station as the computer comes back up.

Clear the Password

  1. Start Erase Station on the computer. Open Change Windows Password from the System menu.
  2. The first screen lists the NTFS partitions on the computer. Click Mount & Use on the Windows partition, or Use if it is already mounted. Change Windows Password finds the file that holds the accounts (Windows\System32\config\SAM) by itself. Click Load Users.
  3. The next screen lists the accounts. Each one is marked ADMIN, USER, GUEST or DISABLED. Click the account you want, then Next.
  4. Click Clear Password and answer Yes.
  5. The last screen shows the result. Close Change Windows Password and restart the computer into Windows. Sign in to the account with the password box left empty, then set a new password in Windows.

Each change is written to a log in /home/partedmagic. Click View Log on the last screen to read it. Clear Another goes back to the list of accounts.

The Built-in Administrator Account

Windows 10 and 11 keep their built-in Administrator account turned off, so it shows as DISABLED. Clearing its password does not turn it on. Clear the password of your own account instead.

If Something Goes Wrong

The Windows partition is not listed

Change Windows Password lists NTFS partitions. A partition encrypted with BitLocker does not show, and Change Windows Password cannot clear a password on it. If Windows is on an NTFS partition that is not listed, type the path to its SAM file under SAM HIVE PATH, or click Browse to pick it, and click Load Users.

The password was not cleared

If Windows was not fully shut down, Change Windows Password says so: Erase Station can only read the Windows partition. Start Windows, click the power button on the sign-in screen and choose Restart, then start Erase Station as the computer comes back up and clear the password again.

If it says the SAM file did not change, the account may already have no password. Try signing in with the password box left empty.

Windows still asks for the password

If you sign in with an email address, the account is a Microsoft account. Microsoft checks that password, so clearing it here has no effect. Reset it on Microsoft’s website instead.