iSumsoft » Resources »Windows 10»Solved: BitLocker-encrypted System Drive Locked Error

Solved: BitLocker-encrypted System Drive Locked Error -The Drive Where Windows is Installed is Locked

Isabella Shinn
Isabella Shinn

Updated:

"The drive where Windows is installed is locked" error is one of the most common systems recovery errors. You may see this error during Windows Startup. It often happens when performing system recovery or updating the device's BIOS. BitLocker boot agent has been disabled or the TPM has been cleared or resets often causing this problem, sometimes this is due to the BCD file corruption or hard drive error.

If you encounter this error on a Windows 10 device, don't worry, you can fix this drive error using one of the following solutions. There are six solutions to solve this problem.

The system drive is locked

Fix "Windows installed drive has been locked" on Windows 10

To resolve the "System drive is locked. Unlock the drive and try again" issue, you need to boot the device from the Windows 10 USB installation media. If you don't have Windows installation media, you can create one using Microsoft's media creation tools.

To do this, follow these steps:

  • On a working PC, go to the Microsoft software download website.
  • Download the Windows 10 media creation tool and then run it.
  • Select Create installation media for another PC.
  • Choose a language, edition, and architecture (64-bit or 32-bit).
  • Follow the steps to create installation media, and then select Finish.

Create installation media

1. Run Automatic Repair

Press the power button to turn on your PC, then hold the power button down until PC shuts down automatically (about 5 seconds). Repeat this more than 2 times until you see the Preparing Automatic Repair.

Repair your computer

Alternatively, you can access Startup Repair from the installation media, follow these steps:

Step 1: Insert the Windows USB installation and reboot the system.

Step 2: Set the locked PC to boot from the installation media.

Step 3: On the Windows Setup screen, click Next to continue.

Step 4: On the Windows Install screen, click Repair your computer.

Repair your computer

Step 5: Navigate to Troubleshoot > Advanced option > Startup Repair.

Startup Repair

Continue the wizard to complete the process. Startup Repair will start Diagnosing your PC and it will attempt to automatically repair them. If running Automatic repair does not fix the error, go on the next solution.

2. Repair MBR and Rebuild the BCD

In some cases, the "Drive for Windows is locked" error may occur due to the corruption of the BCD file on the Windows system. A BCD (Boot Configuration Data) file containing Windows system boot configuration parameters is a very important part of the boot process. If the BCD file is corrupted or missing, the boot process may stop.

To use the Bootrec.exe tool to troubleshoot a Windows Boot Configuration Data file, follow these steps:

Insert the installation media and boot from it. After your computer boots up and the Windows Setup appears, press Shift + F10 keys together on the keyboard. This will open the command prompt window.

Open Command Prompt

Run the following command and press Enter.

  • Bootrec / FixMbr
  • Bootrec / FixBoot
  • Bootrec / ScanOs
  • Bootrec / RebuildBcd

Repair MBR and Rebuild the BCD file

Remove the installation media from the USB port. Restart your computer.

3. Repair the missing or corrupted system files with SFC.exe

Insert the installation media and boot from it. After your computer boots up from the installation media and the Windows Setup appears, press Shift + F10. This will bring up a command prompt window.

In the Command Prompt, type the following command, then press Enter.

Sfc /scannow

System file check

Just waiting for a while, you can get the scan results and get some diagnoses about the Windows 10 errors. Usually, you can fix the Windows 10 problems using the solutions mentioned in this article.

4. Check for disk errors with chkdsk utility

The chkdsk utility will check the integrity of the hard drive. You can try using the chkdsk /r command to fix the "Installing a Windows drive has been locked" error.

To do this, follow these steps:

Insert the installation media and then restart your computer, then boot from the Windows installation media.

After your computer boots up from the installation media and the Windows Setup appears, press Shift + F10. This will bring up a command prompt window. Then type the following command, then press Enter.

Chkdsk C: / r

Check for disk errors

Where C: is the drive letter where Windows 10 is installed. If your Windows 10 is installed on a D: drive, replace drive letter with D.

5. Refresh your PC

You can perform a Windows 10 system refresh. Refresh can reinstall Windows 10 without affecting your personal files. This may fix the "Drive for Windows is locked" error. If you've encrypted your device, you'll need your BitLocker key to use a recovery drive to restore or reset your PC.

If you don't know your BitLocker key, see Find my BitLocker recovery key.

To perform system refresh, follow these steps:

Restart your computer and then boot it from the Windows installation media.

Boot PC from installation media

Click "Next" on the Windows Setup screen. On the Windows Install screen, click "Repair Computer".

Click "Troubleshooting" and then click "Refresh your PC".

Refresh your PC

Follow the wizard instructions to complete this process.

If you encounter a prompt to use a BitLocker Recovery key to unlock the system drive, but you do not have a valid Recovery key in your related Microsoft account, you will not be able to access the system. Instead, you can follow the next part to reinstall your PC.

6. Reinstall Windows

When all of the above troubleshooting you have tried is unsuccessful, a clean installation of Windows is the right approach. A clean installation will restore your computer to its factory settings, during which all data on the C drive will be deleted. Prior to this, we need to format the locked system drive.

Step 1: Connect the installation media you created to your nonfunctional PC, and then turn it on.

Step 2: Boot Windows from the installation media. Check your PC manufacturer's website for info on how to change your PC's boot order.

Step 3: On the initial setup screen, press Shift + F10. This will bring up a command prompt window.

Step 4: Run the following command, and then press Enter.

  • Type diskpart
  • Type list disk
  • Type Select disk #. # is the drive number they want to install to.
  • Type Clean
  • Type Convert GPT
  • Type Exit

Format the locked system drive

Step 5: Boot to the Windows 10 installation media and start the installation process.

Step 6: Select keyboard language and click "Next" to continue. Then click "Install Now".

Clean install Windows 10

Step 7: You can click the I don't have a product key option to continue (If you have a product key, you can activate Windows 10 at any time).

Step 8: Select the I accept the license terms to agree option to continue. Click on the Custom: Install Windows only (Advanced) option. Then follow the on-screen prompts to install Windows 10.

Custom install Windows 10