Forum Discussion
How to reset windows 10 password without losing data?
If you're locked out of your Windows 10 admin account and want to reset the password without losing data, you can try the following method using the Windows 10 installation disk or USB:
Note: This method requires you to have administrative privileges or access to another administrative account on the computer.
1: Create a bootable USB or DVD using the Windows 10 ISO file. You can download the ISO file from the official Microsoft website.
2: Insert the bootable USB or DVD into your computer and restart it.
3: During the boot process, enter the BIOS settings by pressing the key indicated on the startup screen (typically F2, F10, or Del). Inside the BIOS, set your computer to boot from the USB or DVD.
4: Save the changes and exit the BIOS. Your computer will now boot from the Windows 10 installation media.
5: On the Windows Setup screen, select your language preferences and click "Next."
6: Click on "Repair your computer" at the bottom left of the screen.
7: On the next screen, select "Troubleshoot," then "Advanced options," and finally "Command Prompt."
8: In the Command Prompt, you will need to identify the drive letter of your Windows installation. Type the following command and press Enter:
diskpart
list volume
Identify the volume with the "Size" matching your C drive.
9: Exit Diskpart by typing "exit" and pressing Enter.
10: In the Command Prompt, type the following command to navigate to the System32 directory:
cd /d VOLUME:\Windows\System32
Replace "VOLUME" with the drive letter of your Windows installation.
11: Next, create a backup of the original Utilman.exe file by typing the following command:
ren Utilman.exe Utilman.exe.bak
12: Now, make a copy of the Command Prompt executable (cmd.exe) and rename it as Utilman.exe using this command:
copy cmd.exe Utilman.exe
13: Close the Command Prompt and restart your computer.
14: When you reach the Windows 10 login screen, click on the "Ease of Access" icon at the bottom left. This will open Command Prompt.
15: In Command Prompt, type the following command to reset your password:
net user YOUR_USERNAME NEW_PASSWORD
Replace "YOUR_USERNAME" with the username of your locked admin account, and "NEW_PASSWORD" with the new password you want to set.
16: Close Command Prompt and log in to your admin account using the new password.
17: Once you have successfully logged in, open File Explorer and navigate to your user profile folder (C:\Users\YOUR_USERNAME). You should be able to access all your files and applications.
18: After gaining access to your files, you can restore the original Utilman.exe file. Restart your computer and log in as usual.
It's important to note that while this method doesn't involve direct data loss, it's always recommended to have backups of your important files and data.