How to Unlock Drive in Windows 10: 5 Ways to Remove a Lock

Run the basic commands through the CMD to scan your drives first.

by Ivan Jenic
Ivan Jenic
Ivan Jenic
Troubleshooting Expert
Passionate about all elements related to Windows and combined with his innate curiosity, Ivan has delved deep into understanding this operating system, with a specialization in drivers and... read more
Reviewed by Alex Serban
Alex Serban
Alex Serban
Windows Server & Networking Expert
After moving away from the corporate work-style, Alex has found rewards in a lifestyle of constant analysis, team coordination and pestering his colleagues. Holding an MCSA Windows Server... read more
Affiliate Disclosure
  • If you get the drive where Windows is installed is locked error, it might be because of hardware failure.
  • Another cause of this error is the corruption of some system files.
  • You can fix this by running some commands to repair your boot files.
how to unlock drive in windows 10
XINSTALL BY CLICKING THE DOWNLOAD FILE
To fix Windows PC system issues, you will need a dedicated tool Fortect is a tool that does not simply clean up your PC, but has a repository with several millions of Windows System files stored in their initial version. When your PC encounters a problem, Fortect will fix it for you, by replacing bad files with fresh versions. To fix your current PC issue, here are the steps you need to take:
  1. Download Fortect and install it on your PC.
  2. Start the tool's scanning process to look for corrupt files that are the source of your problem
  3. Right-click on Start Repair so the tool could start the fixing algorythm
  • Fortect has been downloaded by 0 readers this month.

The drive where Windows is installed is locked is one of the widespread errors preventing users from getting full access to their PC. With this comes a surge in the number of people who want to know how to unlock a drive in Windows 10.

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?

In this article

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

  1. Insert the Windows 10 installation media inside your PC and boot from it.
  2. Enter your preferred language and other information, and click the Next button.
    language how to unlock drive in windows 10
  3. Now, click the Repair your computer option in the bottom left corner.
    repair computer
  4. Next, select Troubleshoot > Advanced options.
    advanced
  5. Choose Command Prompt.
    command prompt how to unlock drive in windows 10
  6. Finally, type the command (replace C with the letter of the drive you want to unlock) below and hit Enter to run it: chkdsk c: /f /rchkdsk

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

  1. Repeat steps 1 to 5 in Solution 1.
  2. Type the command below and hit Enter to run it: sfc /scannowsfc scan
  3. Finally, wait for the scan to complete and restart your PC.

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

  1. Repeat steps 1 to 5 in Solution 1.
  2. Type the following commands and press Enter after each: bootrec /RebuildBcdrebuild bcd how to unlock drive in windows 10 bootrec /fixMbrfixmbr bootrec /fixbootfixboot how to unlock drive in windows 10
  3. Finally, wait for the commands to finish running and restart your PC.

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.

Expert tip:

SPONSORED

Some PC issues are hard to tackle, especially when it comes to missing or corrupted system files and repositories of your Windows.
Be sure to use a dedicated tool, such as Fortect, which will scan and replace your broken files with their fresh versions from its repository.

2. Type the following command in Command Prompt: diskpart

Reset your PC The drive where windows is installed is locked

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.

The drive where windows is installed is locked dual boot

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.

The drive where windows is installed is locked GPT

7. Type exit and press Enter to run it.

The drive where windows is stored is locked

8. Enter cd z:EFIMicrosoftBoot

Reset your PC The drive where windows is installed is locked

9. Now run the bootrec /fixboot command.

The drive where windows is installed is locked GPT

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

The drive where windows is installed is locked dual boot

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.

This article covers:Topics: