If you are also facing this issue, this guide will show the efficient ways to remove any lock on your drive.

Why is my drive locked?

Below are some of the reasons your drive might be locked on Windows 10:

Bad disk sector: One of the major causes of the locked hard drive issue is a bad disk sector. The solution to this is to repair the faulty sectors. Corrupt system files: Sometimes, you might need to unlock your Windows 10 drive because of the impact of faulty system files. Repairing and restoring these corrupt files should get rid of the problem. Faulty boot files: Another known cause of this problem is a broken or corrupt boot file. You need to run a few commands on the Advanced startup page to fix this.

How can I unlock the drive in Windows 10?

Below are some basic troubleshooting steps to apply before proceeding to the more sophisticated fixes in this section:

Check if your drive is connected correctly Disconnect other drives Ensure the hard drive is set as the boot source

1. Run the CHKDSK command

The first thing to do to unlock your drive on Windows 10 is to try to fix the bad sectors. This will eliminate the most prominent cause of the error message. You can also use this method to unlock an external hard drive on Windows 10.

2. Run the SFC command

If the CHKDSK scan can’t unlock your drive on Windows 10, you might want to try using the SFC scan instead. This will repair and replace any corrupt system file causing the issue.

3. Fix boot records

The common cause for The drive where Windows is installed is locked error is corrupted boot records. However, you can easily unlock your drive on Windows 10 by following the steps above. The first three solutions above are how to unlock your drive in Windows 10 using Command Prompt.

4. Ensure you’re using UEFI

UEFI is a modern and more advanced version of BIOS, and most new motherboards support it. Check your motherboard manual for detailed instructions to switch to UEFI. The switching process is relatively simple; you must find and change a single setting in BIOS. So, it would be best if you switched to UEFI to unlock your drive in Windows 10.

5. Use diskpart

You can fix The Drive Where Windows is Installed is Locked error by using the diskpart command in Command Prompt. Before we start, we have to mention that diskpart is extremely powerful tool, so be extra cautious while using it.

  1. Repeat steps 1 to 5 in Solution 1.

  2. Type the following command in Command Prompt: diskpart SPONSORED

  3. Now, you need to select the hard drive that has Windows on it. If you have only one hard drive, enter sel disk 0. If you have two or more hard drives, you might have to use a different number.

  4. Next, enter list vol in cmd.

  5. Look for FAT32 partition on the list. If you don’t have it, this solution won’t work for you, so you can just skip it. Once you find FAT32 partition, select it by typing sel vol X (replace X with the number of the volume).

  6. Run the assign letter=z: command.

  7. Type exit and press Enter to run it.

  8. Enter cd z:EFIMicrosoftBoot

  9. Now run the bootrec /fixboot command.

  10. Lastly, run bcdboot c:Windows /s z:

After doing that, your Windows should start working again. Remember that this is an advanced solution, so be extra cautious. You are using this tool at your own risk, and we aren’t responsible for any potential damage or file loss that might occur. With this, we can conclude this guide on how to unlock your drive on Windows 10. Ensure you follow the instructions in the letter, and things should return to normal. If you face other issues like resetting this PC, this drive is locked; check our detailed guide to fix it quickly. Let us know the solution that worked for you in the comments below.

Name * Email * Commenting as . Not you? Save information for future comments
Comment

Δ