4 Ways to Unlock a Hard Drive

By Dominic Chooper on July 12, 2023

A particular hard drive in your PC may be locked and inaccessible. In such a situation, you will not be able to start and use your PC as usual. This may happen automatically sometimes, which is usually an error that can be fixed quite easily.

Sometimes, you or some other user may also lock a hard drive unknowingly or knowingly.

Whatever it may be, you can unlock the hard drive quite easily by using some inbuilt features in your computer. Of course, there are quite a few third-party tools that you can use for the same purpose.


Why is Your Hard Drive Locked?

A hard drive may be locked mainly due to hardware failure. It may also be locked if it is corrupted or if there is any vital system file missing.

Sometimes such a situation may happen if the System BCD or Boot Configuration Data is damaged or there is some useful information missing or a corrupt boot file.

There are also a lot of other reasons for a hard drive to be locked, such as:

Irrespective of the reason, this is not a fatal issue and can be fixed by some easy methods.

How to Unlock a Hard Drive?

Besides using a third-party software, you can unlock a hard drive by turning the BitLocker off or by running a few simple commands in the Command Prompt.

However, it is always better to start with some basic troubleshooting than jumping on to the relatively complex solutions to unlock your hard drive.

These simple solutions include:

Apart from that, you may also refresh your PC to unlock the hard drive. Simply restart your computer > Boot from the USB drive or DVD installation media > Click on Repair your computer > Troubleshoot > Refresh your PC. Then follow the instruction of the refresh wizard to complete the process.

As in most issues, performing a system restore may also unlock the hard drive, provided there is an earlier restore point available.

You may even change a setting in the Basic Input Output System (BIOS) to switch to Unified Extensible Firmware Interface (UEFI) and unlock the hard drive, provided your computer’s motherboard supports it. Check the manual first.

If none of the above solutions work, move on to the more sophisticated and proven solutions and follow the steps exactly as mentioned.

Method 1: From the File Explorer in This PC

If the BitLocker Encryption feature is disabled, the operating system of your PC will not be able to unlock the disk while booting. Enabling this bootable agent through This PC in the Windows File Explorer is one of the easiest ways to unlock a hard drive.


Right clicking on it

Method 2: Set the BitLocker Directly

If you are using an advanced version of Windows, you can use the BitLocker feature directly to unlock your hard drive.


Clicking on Manage BitLocker

In the following BitLocker Drive Encryption window, select the drive to unlock, Windows (C:) here for example, and click on the Turn on BitLocker button next to it.

BitLocker Drive Encryption window

Method 3: Run Few Specific Commands on the Command Prompt

You may run a few specific commands in the Command Prompt to unlock a hard drive.


Run CHKDSK, in Drive C for example, to find its integrity and fix the bad sectors that may have locked the hard drive.

In the Command Prompt window, type either of the two following commands:

The first command will check the integrity of the hard drive, and the second will find the bad sectors and repair it along with.


Wait for the scanning and fixing process to be complete and reboot your computer. Your hard drive will be unlocked.

In most cases a locked hard drive can be unlocked by running the System File Check (SFC) command, Sfc /scannow, in the Command Prompt window.

Read Also:  How to Install Second Hard Drive?

Sfc /scannow

It will scan and repair potential errors in the drive.

Reboot your system and your drive will be unlocked.

You may also run the bootrec command in the Command Prompt for the same purpose. However, in this case, you will have to run a few commands and hit Enter every time. The bootrec commands are:

The bootrec commands are: bootrec /RebuildBcd bootrec /fixMbr bootrec /fixboot

When all the commands are executed successfully, type Exit and press Enter to close the window.

Now restart your PC and you will see that the hard drive is unlocked.

Method 4: Perform a System Restore

When you perform a system restore, it will take your computer back to a point when everything was working fine. If you have such a restore point created earlier, you may try this solution.


Clicking on Recovery

Clicking on Open System Restore

System Restore window

Restart your system and the locked hard drive will now be unlocked.


Now that you know the easy ways to unlock a hard drive in your PC, you should not worry when you face such an issue and call for a processional service.