How to Reset a Forgotten Windows 11 Password Without Losing Data

Posted by

Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Forgetting a Windows 11 password is more common than people realize, especially when a laptop has not been used for several months. Many users immediately assume they need to reinstall Windows or visit a service center, but in reality, Windows provides recovery mechanisms that allow access to the system without deleting personal files.

This guide explains exactly how to reset or bypass a forgotten Windows 11 password, focusing on local accounts, using the Windows Recovery Environment.
It also addresses common errors, including issues like missing files, incorrect drive letters, and recovery-mode limitationsโ€”problems you personally encountered during the process.

This tutorial is intended for:

  • Personal laptop owners
  • Users locked out of their own Windows 11 systems
  • Anyone who wants a safe, data-preserving method

Important Disclaimer (Read Before Proceeding)

This guide is intended only for devices you own or are authorized to access.
Using these steps on unauthorized systems is illegal and unethical.

This method:

  • Does not delete files
  • Does not format the disk
  • Does not require third-party tools
  • Temporarily modifies a Windows system file, which will be restored later

Understanding the Problem: Why You Are Locked Out

There are two types of Windows 11 accounts:

Microsoft Account

  • Login uses an email address
  • Password can be reset online
  • Requires internet access

Local Account (This Guide Applies Here)

  • Login uses only a username
  • No online password reset
  • Requires offline recovery steps

If your login screen does not show an email address, you are using a local account, which is why standard password reset options do not work.


โš ๏ธ IMPORTANT (Please Read First)

  • Use this only on your own laptop
  • This is a temporary change (weโ€™ll restore it later)
  • Files, documents, photos โ†’ SAFE

๐Ÿงญ STEP 1: Enter Windows Recovery Mode

Image
Image

Do this:

  1. Turn ON your laptop
  2. When Windows logo appears โ†’ press & hold Power button to turn it OFF
  3. Repeat this 3 times
  4. On the 4th boot, youโ€™ll see
    โ€œPreparing Automatic Repairโ€

Then:

โžก๏ธ Advanced options
โžก๏ธ Troubleshoot
โžก๏ธ Advanced options
โžก๏ธ Command Prompt


๐Ÿงญ STEP 2: Find Your Windows Drive Letter

In Recovery Mode, Windows drive is not always C:.

Type this and press Enter:

diskpart

Then:

list volume

Look for the volume that:

  • Has Windows
  • Size looks large (50GB+)
  • Note its letter (example: D)

Exit diskpart:

exit

๐Ÿ‘‰ Iโ€™ll assume it is D:
(Replace D: with your actual letter if different)


๐Ÿงญ STEP 3: Replace Utility Manager with Command Prompt

Image
Image

Now type these commands ONE BY ONE:

D:
cd Windows\System32

Backup Utility Manager

ren utilman.exe utilman.exe.bak

Replace it with Command Prompt

copy cmd.exe utilman.exe

You should see:
โœ… 1 file(s) copied

Now close Command Prompt and Restart.


๐Ÿงญ STEP 4: Open Command Prompt from Login Screen

Image
Image
  1. When login screen appears
  2. Click Accessibility icon (โ™ฟ) at bottom-right
  3. Command Prompt opens instead ๐ŸŽ‰

๐Ÿงญ STEP 5: Reset Password OR Create New Admin User

๐Ÿ”น Option A: Create New Admin User (SAFEST)

Type:

net user admin2 /add
net localgroup administrators admin2 /add

Restart โ†’ Login using admin2
(No password needed)


๐Ÿ”น Option B: Reset Existing User Password

First list users:

net user

Then reset password:

net user USERNAME NEWPASSWORD

Example:

net user Ashwani 123456

๐Ÿงญ STEP 6 (VERY IMPORTANT): Restore Utility Manager

After login, open Command Prompt as Administrator and type:

cd C:\Windows\System32
del utilman.exe
ren utilman.exe.bak utilman.exe

โœ… Your system is now fully normal & secure again


Overview of the Solution

The solution involves:

  1. Booting into Windows Recovery Mode
  2. Identifying the correct Windows drive
  3. Temporarily replacing the Utility Manager with Command Prompt
  4. Restarting and accessing Command Prompt from the login screen
  5. Creating a new administrator account
  6. Restoring system security to its original state

Each step is explained clearly below.


Step 1: Boot into Windows Recovery Mode

  1. Turn on your laptop
  2. When the Windows logo appears, press and hold the power button to force shutdown
  3. Repeat this process three times
  4. On the fourth startup, Windows will display Preparing Automatic Repair

Navigate through:

  • Advanced options
  • Troubleshoot
  • Advanced options
  • Command Prompt

You will now see a Command Prompt window.


Step 2: Understand Why You See Drive X:

When Command Prompt opens in recovery mode, you will see a path similar to:

X:\Windows\System32>

This confuses many users.

Important Explanation

  • Drive X: is a temporary recovery environment
  • It is not your real Windows installation
  • System files like utilman.exe will not exist here

This is why commands like:

dir utilman.exe

fail when run on X:

This behavior is expected and normal.


Step 3: Find the Actual Windows Drive

To locate the real Windows partition:

diskpart

Then:

list volume

Look for a volume that:

  • Uses NTFS
  • Has a large size (usually 50 GB or more)
  • Is not labeled Boot or Recovery

Commonly, this will be C: or D:.

Once identified, exit diskpart:

exit

Step 4: Switch to the Correct Drive

If your Windows partition is C:

C:

Verify:

dir

You should see folders such as:

  • Windows
  • Users
  • Program Files

This confirms you are on the correct drive.


Step 5: Navigate to System32

cd Windows\System32

Now verify the Utility Manager file exists:

dir utilman.exe

If you see the file listed, you are in the correct location.


Step 6: Backup Utility Manager

Before making changes, always create a backup:

ren utilman.exe utilman.exe.bak

This step is critical and ensures you can restore Windows to its original secure state later.


Step 7: Fix the โ€œcmd.exe Not Foundโ€ Error (Very Important)

Many users encounter this error:

The system cannot find the file specified.

This happens because:

  • cmd.exe is running from the recovery drive (X:)
  • It is not accessible from C: in recovery mode

Correct Command (This Solves the Issue)

copy X:\Windows\System32\cmd.exe C:\Windows\System32\utilman.exe

If successful, you will see:

1 file(s) copied

This confirms the replacement worked.


Step 8: Restart the System Properly

Use this command:

wpeutil reboot

The laptop will restart normally.


Step 9: Access Command Prompt from Login Screen

After restart:

  1. Wait for the Windows login screen
  2. Do not enter any password
  3. Click the Accessibility button (bottom-right)

Instead of accessibility options, Command Prompt opens.

This confirms the process worked correctly.


Step 10: Create a New Administrator Account

Creating a new admin account is safer than modifying the original user.

Type:

net user admin /add

Then:

net localgroup administrators admin /add

This creates a new administrator-level account named admin.


Step 11: Restart Using the Admin Account

Restart from Command Prompt:

shutdown /r /t 0

Once Windows loads:

  • Select user admin
  • No password required
  • Log in normally

You now have full access to Windows.


Step 12: Restore Windows Security (Mandatory)

This is the most important cleanup step.

After logging in:

  1. Open Command Prompt as Administrator
  2. Run the following commands:
cd C:\Windows\System32
del utilman.exe
ren utilman.exe.bak utilman.exe

This restores the Utility Manager and removes the temporary modification.


Final Outcome

At this point:

  • Windows 11 is unlocked
  • All files remain intact
  • System security is fully restored
  • You can reset your original account password or continue using the new admin account

Common Questions Answered

Does this delete my files?

No. All personal files remain untouched.

Is this safe?

Yes, if you restore utilman.exe as instructed.

Why didnโ€™t cmd.exe copy initially?

Because recovery mode runs from a temporary X: drive.

Can this work on Windows 10?

Yes, the process is nearly identical.

Should I reset my original account password later?

Yes, once logged in, update passwords and security settings.


Conclusion

Being locked out of Windows 11 does not mean your data is lost or that reinstalling Windows is necessary. With a careful, step-by-step approach using built-in recovery tools, you can regain access safely and legally.

This guide covered:

  • Recovery mode behavior
  • Drive identification
  • Common command-line errors
  • Safe administrative access restoration

Leave a Reply

Your email address will not be published. Required fields are marked *

0
Would love your thoughts, please comment.x
()
x