If you want to find out how to fix the error message The drive where Windows is installed is locked using Windows 10 or Windows 11, you only need to read the described steps posted below.
Run the basic commands through the CMD to scan your drives first.
The drive where Windows is installed is locked - here’s a common error that can often arise.
This error can be caused by internal hardware failure or corrupted files.
In our guide below we will show you 9 different methods to unlock a drive in Windows 10.
Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
Click Start Scan to find Windows issues that could be causing PC problems.
Click Repair All to fix issues affecting your computer’s security and performance
Restoro has been downloaded by 0 readers this month.
Soon, you will be able to get on with your operating system without any issues from this part.
When you are trying to repair Windows 10 or Windows 11 either via a USB or a DVD with an OS version on it, you might get the error message the drive where Windows is installed is locked.
This is usually an error message from an internal hardware failure like the SSD hard drive you have connected to the Windows 10 or Windows 11 device.
How do I unlock a drive in Windows 10?
The Drive Where Windows is Installed is Locked error can be a big problem, but there can be even more connected issues on the horizon.
In this article, we’re going to show you how to fix the following issues as well:
- Reset your PC The drive where windows is installed is locked – According to users, this error message will sometimes ask them to reset their PC. This can be a big problem, but you should be able to fix it with one of our solutions.
- The drive where windows is installed is locked dual boot – If you’re using two operating systems on your PC, you might experience this error if your boot records get corrupted.
- The drive where windows is installed is locked GPT – This error is relatively common while using GPT partitions. However, you can easily fix it by using one of our solutions.
- The drive where windows is stored is locked – This is basically the same error but with a different message. Since the errors are the same, the same solutions apply to both of them.
1. How to unlock a drive in Windows 10 using the chkdsk command
The drive where Windows is installed is locked error can occur due to file corruption, but you should be able by performing a chkdsk scan. To do that, follow these steps:
- Insert the Windows 10 installation media inside to your PC and boot from it.
- You will get to a Windows setup screen and you will need to left-click or tap on the Next button.
- In the next window, you will need to left-click or tap on the Repair your computer option.
- Now you should be in the Advanced startup options window. Navigate to Troubleshoot > Advanced options > Command Prompt.
- Now after you have the command prompt window in front of the screen you will need to write the following line: chkdsk /f C:Note: If you’re Windows 10 device is installed on another partition than the C: drive, please copy the necessary drive in the command above.
- Press the Enter button on the keyboard for the check to start.
- After this operation is finished please reboot the Windows 10 device and check to see if you get the same error message.
2. How to unlock drive in Windows 10 using the SFC command
If the chkdsk scan can’t fix The drive where Windows is installed is locked error, you might want to try using SFC scan instead. You can do that by following these steps:
- Open the Command Prompt window as you did in the first solution.
- Write the following command in the Command Prompt window: sfc /scannow.
- Press the Enter button on the keyboard.
- Let the scan finish and fix any potential errors.
- Reboot your Windows 10 device again and check if you have the same error message.
After the scan is finished, the problem should be resolved.
3. Fix boot records to unlock a drive in Windows 10
The common cause for The drive where Windows is installed is locked error are corrupted boot records. However, you can easily fix this problem by doing the following:
- Open Command Prompt by following the steps from Solution 1.
- In the Command Prompt window you will need to enter the following commands:
- bootrec /RebuildBcd
- bootrec /fixMbr
- bootrec /fixboot
- After running these commands reboot your PC.
- See if you still get the same error message after doing this method.
4. How to unlock a drive by disconnecting additional hard drives
Many users reported that the drive where windows is installed is locked error can be caused by the hard drive itself.
- bootrec /RebuildBcd
- bootrec /fixMbr
- bootrec /fixboot
If you have more than one hard drive on your PC, you need to disconnect it and check if that solves the problem.
Simply power down your PC, disconnect it from the power outlet and disconnect all other hard drives that don’t have Windows on them. After doing that, your PC should boot without any problems.
If your PC boots without an additional hard drive, turn it off, reconnect other hard drives, and check if the problem is resolved.
Keep in mind that this solution requires you to open your computer case, so use it only if your PC isn’t under warranty.
5. Check if your hard drive is properly connected
As previously mentioned, The Drive Where Windows is Installed is Locked error can appear due to your hard drive. Several users reported that their hard drive wasn’t properly connected causing the error to occur.
To fix this problem, you need to open your computer case, locate your hard drive and check if its cables are tightly connected. In addition, you need to check if the hard drive is properly connected to your motherboard.
After connecting your hard drive properly, the issue should be completely resolved.
6. How to unlock drive in Windows 10 by changing BIOS settings
Several users reported seeing the drive where Windows is installed is locked error message after updating their BIOS.
The BIOS update is a risky procedure that can cause various issues to appear. In this case, it can be what changed the hard drive configuration.
According to users, their hard drive configuration was changed from RAID to AHCI. After changing the setting back to RAID, the issue was completely resolved.
If you were using a different setting such as AHCI or IDE, be sure to revert to that setting instead.
To see how to access BIOS and how to change this setting, we strongly advise you to check your motherboard manual for detailed instructions.
Several users reported that the battery on their motherboard was faulty causing these settings to change.
If that’s the case, you need to replace your motherboard battery and change the settings to their original values.
7. Check if your hard drive is set as the boot device
Sometimes The Drive Where Windows is Installed is Locked error message can appear if your hard drive isn’t set as the boot device.
- File Count Over Limit in Sharepoint: How to Bypass It
- Bad Sectors Were Encountered During the Format [Windows 11 Fix]
- Fix: This Email Address is Already Connected with Office 365
- ChatGPT Is at Capacity Right Now: How to Fix This Error
Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken. We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.Click here to download and start repairing.
Expert tip:
SPONSORED
If you have two or more hard drives, you might have set the secondary hard drive as the boot device.
This is a minor problem, and it can be fixed simply by entering BIOS and changing the boot order.
To see how to do that, be sure to check your motherboard manual for detailed instructions.
8. Make sure that you’re using UEFI to unlock drive in Windows 10
According to users, The Drive Where Windows is Installed is Locked error message usually appears when you’re using BIOS instead of UEFI.
UEFI is a modern and more advanced version of BIOS, and most new motherboards support it. To see how to switch to UEFI, check your motherboard manual for detailed instructions.
The switching process is rather simple, and you just need to find and change a single setting in BIOS. Several users reported that switching to UEFI fixed the problem for them, so be sure to try that.
9. How to unlock drive in Windows 10 using 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.
Insert the Windows 10 installation media into your PC and boot from it.
The Windows setup screen will appear. Click the Next button.
Select Repair your computer to access the Advanced boot screen.
Navigate to Troubleshoot and select Advanced options from the list, then click on Command Prompt.
Type the following command in Command Prompt: diskpart
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.
Now enter list vol in cmd.
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).
Run the assign letter=z: command.
Type exit and press Enter to run it.
Enter cd z:EFIMicrosoftBoot
Now run the bootrec /fixboot command.
Lastly, run bcdboot c:Windows /s z:
After doing that, your Windows should start working again. Keep in mind that this is an advanced solution, so be extra cautious while using it.
You are using this tool at your own risk, and we aren’t responsible for any potential damage or file loss that might occur.
Was that hard? I am sure that anybody with a bootable Windows 10 or Windows 11 DVD or USB can do these methods very easily.
You can also write us below in the comments section if these methods worked for you or if you need any additional assistance on this matter.
- Fix Hard Drive issues
Email *
Commenting as . Not you?
Comment