This document outlines a local privilege escalation technique used to bypass the Windows lock screen and reset a local user account password. This method works by replacing the Windows Accessibility feature executable (Utilman.exe) with the Command Prompt (cmd.exe) via the Windows Recovery Environment (WinRE).
Note: This technique requires physical access to the device and relies on the system drive being unencrypted (e.g., no BitLocker enabled).
- Trigger Advanced Startup: On the Windows lock screen, press and hold the Left Shift key. While holding it, click the Power icon and select Restart.
- Open Command Prompt: Once the Advanced Startup menu loads, navigate to
Troubleshoot>Advanced options>Command Prompt.
- Target the OS Drive: Select or type the drive letter where Windows is installed. (In the recovery environment, this is usually
C:orD:).c:
- Navigate to System32: Change the directory to the core Windows system folder:
cd windows\system32 - Backup Utilman: Rename the original Utility Manager executable so it is not permanently lost:
ren Utilman.exe Utilman1.exe - Replace Utilman with CMD: Rename the Command Prompt executable to trick the system into launching it from the lock screen:
ren cmd.exe Utilman.exe
- Reboot System: Close the command prompt and select the option to continue booting into Windows normally.
- Trigger the Bypass: Once at the lock screen, click the Accessibility icon (typically located in the bottom-right corner). Because of the file swap, a Command Prompt window running with
SYSTEMprivileges will open instead of the accessibility menu. - Reset the Password: In the elevated Command Prompt, type either of the following commands to open the User Accounts control panel and reset your password:
or
control userpasswords2
netplwiz
For visual demonstrations of this technique, refer to the following resources:
- Forgot Your Windows 11 Password? Reset it EASY! (YouTube Short)
- Description: A 60-second summary walking through the advanced options, accessing the command prompt, swapping the executable files, and resetting the password from the lock screen.
- Link: Watch on YouTube
-
Reset Forgotten Windows 11/10 password in 3 minutes
- Description: A straight-to-the-point demonstration of using the command prompt from the recovery environment to swap the
Utilman.exefile. - Link: Watch on YouTube
- Description: A straight-to-the-point demonstration of using the command prompt from the recovery environment to swap the
-
How to Reset Windows 10/11 Password (No USB or Format Needed)
- Description: Covers the full process of interrupting the boot cycle to reach the Advanced Startup menu, renaming the
cmd.exe, and utilizing the user account commands to regain access. - Link: Watch on YouTube
- Description: Covers the full process of interrupting the boot cycle to reach the Advanced Startup menu, renaming the
1. Press and hold "Left shift" key then restart the pc/lapi on lock screen.
2. Go to advance option and go to cmd option.
3. "Select drive" where u install windows in my case its C: Type c: enter.
4. Go to system 32 folder cd windows/system32.
5. ren Utilman.exe Utilman1.exe
6. ren cmd.exe Utilman.exe
7. Boot window, then click on accessibility option on lock screen.
8. Cmd will open then type "control userpasswords2." Or "netplwiz"