Forum Discussion
Unlock Windows 11 without password for local account If I forgot?
chntpw is an effective, free, and open-source tool that can help you unlock Windows 11 without password for a local account you have forgotten . It works by modifying the SAM file, where Windows stores local user password hashes, while the operating system is not running . This makes it a perfect solution for learning how to unlock Windows 11 without password when you are locked out.
Before you start, it's important to know what chntpw can and cannot do, which will guide you on how to unlock Windows 11 without password effectively.
It can clear (blank) a local user password, unlock a disabled account, and even promote a standard user to administrator . The recommended action is to clear the password rather than try to set a new one, as the latter can be unreliable on newer systems .
What it cannot do:
- Microsoft Accounts: It does not work for Microsoft (online) accounts. If you log in with an email address, this tool will not help .
- BitLocker Encryption: It is unable to access the SAM file on a BitLocker-encrypted drive. You would need the BitLocker recovery key first .
The process involves booting your computer from a Linux-based environment that contains chntpw. This is the core of the method to unlock Windows 11 without password.
Step 1: Prepare a Bootable USB Drive
On a working computer, you will need to create a bootable USB drive.
- Download an ISO: Obtain an ISO file for a Linux distribution that includes chntpw, such as Kali Linux or a dedicated chntpw Live CD .
- Write to USB: Use a free tool like Rufus to write the ISO file to your USB drive, making it bootable .
Step 2: Boot from the USB Drive
- Insert the USB drive into your locked Windows 11 computer and restart it .
- Enter the boot menu (often by pressing keys like F12, Del, or Esc during startup) and select your USB drive as the boot device .
Step 3: Locate and Edit the SAM File
Once booted into the Linux environment, you will use command-line instructions:
- Find the Windows partition: Use a command like fdisk -l to list all disk partitions and identify your Windows system drive (e.g., /dev/sda2) .
- Mount the partition: Mount the drive to access its files. For example: mount /dev/sda2 /mnt .
- Navigate to the config folder: Change to the directory containing the SAM file: cd /mnt/Windows/System32/config .
- Run chntpw: To start the interactive password editor, run: chntpw -i SAM .
Step 4: Clear the Password
- Select option 1 for "Edit user data and passwords" .
- Type the username of the account you want to unlock (e.g., Administrator).
- In the user editing menu, select option 1 to "Clear (blank) user password" .
- Quit the program by pressing q and then q again, and confirm with y when asked to save your changes .
Finally, restart your computer and remove the USB drive. You should now be able to log into your Windows 11 local account with a blank password.