Skip to content
Menu
DevSecOps Now!!!
  • About
  • Certifications
  • Contact
  • Courses
  • DevSecOps Consulting
  • DevSecOps Tools
  • Training
  • Tutorials
DevSecOps Now!!!

How to Reset a Forgotten Windows 11 Password Without Losing Data

Posted on January 7, 2026

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
Post Views: 1,208
  • Reset a Forgotten Windows
  • Reset a Forgotten Windows 11 Password Without Losing Data
  • Reset a Forgotten Windows password
  • Reset windows password
  • Without Losing Data
Subscribe
Login
Notify of
guest
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
  • Incorrect definition of table mysql.column_stats
  • Mautic and PHP 8.3 Compatibility Guide (2026)
  • Certified AIOps Engineer: The Complete Career Path and Certification Guide
  • How to Rename Apache Virtual Host Files Safely (Step-by-Step Guide for Linux)
  • AIOps Foundation Certification: Everything You Need to Know to Get Certified
  • DevOps to Certified Site Reliability Professional: A Senior Mentorโ€™s Guide
  • Certified Site Reliability Manager Training, Preparation, and Career Mapping
  • Certified Site Reliability Architect: The Complete Career Guide
  • What Is a VPN? A Complete Beginner-to-Advanced Tutorial
  • How to Install, Secure, and Tune MySQL 8.4 on Ubuntu 24.04 for Apache Event MPM and PHP-FPM
  • Complete Guide to Certified Site Reliability Engineer Career
  • Certified DevSecOps Professional Step by Step
  • Certified DevSecOps Manager: Complete Career Guide
  • Certified DevSecOps Engineer: Skills, Career Path and Certification Guide
  • Step-by-Step: Become a Certified DevSecOps Architect
  • Tuning PHP 8.3 for Apache Event MPM and PHP-FPM on Ubuntu: A Complete Step-by-Step Production Guide
  • Complete Step-by-Step Guide to Configure Apache Event MPM, Create index.php, Set Up VirtualHost, and Fix Ubuntu Default Page
  • Convert XAMPP Apache to Event MPM + System PHP-FPM
  • The Gateway to System Observability Engineering (MOE)
  • How to Finetune Apache and Prove It Works: A Real-World Guide to Testing Performance, Concurrency, HTTP/2, Memory, CPU, and Security
  • Building a High-Performance Apache Event MPM + PHP-FPM + MariaDB Stack (Advanced Server Optimization Guide)
  • Master Infrastructure as Code: The Complete Hashicorp Terraform Associate Guide
  • Building a High-Performance Apache Server with Event MPM + PHP-FPM (Step-by-Step Guide)
  • Is XAMPP Safer for Production Than Using Apache and PHP as Root? 2026 Practical Guide
  • Unlock Cloud Security Expertise with Certified Kubernetes Security Specialist (CKS)
  • How to Fix wpDiscuz Not Replacing Default WordPress Comments in Block Themes
  • Complete Guide to Certified Kubernetes Application Developer Certification
  • Overview of Certified Kubernetes Administrator (CKA) Certification
  • How to Install and Configure XAMPP on Ubuntu 24 Server (Latest Version โ€“ 2026 Complete Guide)
  • Mastering the Google Cloud Professional DevOps Engineer

Recent Comments

  1. digital banking on Complete Tutorial: Setting Up Laravel Telescope Correctly (Windows + XAMPP + Custom Domain)
  2. SAHIL DHINGRA on How to Uninstall Xampp from your machine when it is not visible in Control panel programs & Feature ?
  3. Abhishek on MySQL: List of Comprehensive List of approach to secure MySQL servers.
  4. Kristina on Best practices to followed in .httacess to avoid DDOS attack?
  5. Roshan Jha on Git all Commands

Archives

  • April 2026
  • March 2026
  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022

Categories

  • Ai
  • AI Blogging
  • AiOps
  • ajax
  • Android Studio
  • Antimalware
  • Antivirus
  • Apache
  • Api
  • API Security
  • Api Testing
  • APK
  • Aws
  • Bike Rental Services
  • ChatGPT
  • Code Linting
  • Composer
  • cPanel
  • Cyber Threat Intelligence
  • Cybersecurity
  • Data Loss Prevention
  • Database
  • dataops
  • Deception Technology
  • DeepSeek
  • Devops
  • DevSecOps
  • DevTools
  • Digital Asset Management
  • Digital Certificates
  • Docker
  • Drupal
  • emulator
  • Encryption Tools
  • Endpoint Security Tools
  • Error
  • facebook
  • Firewalls
  • Flutter
  • git
  • GITHUB
  • Google Antigravity
  • Google play console
  • Google reCAPTCHA
  • Gradle
  • Guest posting
  • health and fitness
  • IDE
  • Identity and Access Management
  • Incident Response
  • Instagram
  • Intrusion Detection and Prevention Systems
  • jobs
  • Joomla
  • Keycloak
  • Laravel
  • Law News
  • Lawyer Discussion
  • Legal Advice
  • Linkedin
  • Linkedin Api
  • Linux
  • Livewire
  • Mautic
  • Medical Tourism
  • MlOps
  • MobaXterm
  • Mobile Device Management
  • Multi-Factor Authentication
  • MySql
  • Network Traffic Analysis tools
  • Paytm
  • Penetration Testing
  • php
  • PHPMyAdmin
  • Pinterest Api
  • Quora
  • SAST
  • SecOps
  • Secure File Transfer Protocol
  • Security Analytics Tools
  • Security Auditing Tools
  • Security Information and Event Management
  • Seo
  • Server Management Tools
  • Single Sign-On
  • Site Reliability Engineering
  • soft 404
  • software
  • SuiteCRM
  • SysOps
  • Threat Model
  • Twitter
  • Twitter Api
  • ubuntu
  • Uncategorized
  • Virtual Host
  • Virtual Private Networks
  • VPNs
  • Vulnerability Assessment Tools
  • Web Application Firewalls
  • Windows Processor
  • Wordpress
  • WSL (Windows Subsystem for Linux)
  • X.com
  • Xampp
  • Youtube
©2026 DevSecOps Now!!! | WordPress Theme: EcoCoded
wpDiscuz