Sub Total
Excluding delivery and voucher code discounts.
Go to basket

Free Delivery on all orders to UK mainland within 3 working days.


Exploring today's technology for tomorrow's possibilities
How to Unlock a Hard Drive

How to Unlock a Hard Drive

Linsey Knerl
If you’ve experienced a blue screen with a message from Windows that your hard drive is locked, it can be a bit unnerving. Will your data be OK? Is there an easy fix?
Before you panic, follow these quick tips for what to do next.

What it means

Before you get started, it helps to know what “hard drive locked” error messages mean. While it doesn’t happen often, it can be a serious headache.
Also known as the “blue screen of death,” this can happen at any time during a Windows computer session, and you’ll be prompted to unlock the drive and try again when logging in. Several issues cause this, including malware corruption or hardware failure.
All is not usually lost, however, if you act quickly.
You’ll need Windows installation files on a previously created DVD or USB stick to do the following steps. If you don’t have a boot disk, visit the Windows website for your version of the OS to get help.

Step 1: Run a disk check

Install the boot disk or USB drive, and power the computer on.
In most cases, you’ll see a message flash across the bottom of the screen to press F12 or F8 to access the boot menu. Do this, and wait for it to load.
1. Choose “repair your computer”
2. Then “advanced startup options”
3. Then “troubleshoot”
4. Then “advanced options”
5. And finally “command prompt”
6. An MS-DOS screen (black box) should pop-up
7. Type “chkdsk D: /f /x /r” and hit “enter”
The operation will run for a few seconds. When it is finished, simply type “exit” then hit enter. You can now reboot the computer.
If you still get the locked hard drive message, move on to step two.

Step 2: Run a system file check

Boot the computer from the disk or USB as you did in step one. Move through the steps to the MS-DOS screen again.
1. In the command prompt screen, type “sfc /scannow” and wait for the process to run
2. Type “exit” and enter to get out of DOS
Reboot the computer. If it is still locked, try step three.

Step 3: Complete a startup repair

You may have corruption in your boot files, so use these steps to reconcile them.
Boot from your disk or USB as you did before, then enter the following prompts into your MS-DOS window to run through the repair sequence:
1. Type "bootrec /RebuildBcd” and press enter. Wait for the process to run.
2. Type "bootrec /fixMbr" and press enter. Again, wait for it to run before moving on to the next step.
3. Type "bootrec /fixboot" and press enter. After this runs, type “exit” and enter to leave the screen. Reboot your computer.
If you are still having issues, move on to step four.

Step 4: Try a system restore

If the hard drive locked very recently (within the past few weeks), a system restore may solve your problems.
System restore differs from a refresh in that it keeps almost all of your non-Windows files, drivers, and software. However, it will return to a previously known “good state” of your choosing for Windows-issued products and services.
To initiate this solution:
1. Boot from the disk or USB
2. Select “repair your computer”
3. Select the “restore” option, choosing the earliest date from the list or the last known date that your computer was working properly
4. Allow the wizard to run
5. Restart the computer and see if you can boot normally again
If not, you will want to move on to step five.

Step 5: Refresh your PC

This process may be your last opportunity before moving on to outside help. Refreshing your computer should not harm or erase files.
After booting from your disk or USB:
1. Click on “repair your computer”
2. Then “troubleshoot”
3. Then “refresh your PC”
The wizard will walk you through the steps needed to complete the process.
This can take several minutes. When it’s finished, you’ll be prompted to reboot your computer and see if the refresh worked. If it worked properly, you’ll notice that some settings changed and programs have been removed.
To continue using a computer after a system refresh, you may find that you need to reset your user settings and firewall preferences, as well as reinstall some third-party programs.
When the refresh is performed, Windows will create a list of the programs it removed for you to refer to. It’s up to you to track down the individual sites or stores to download or install these apps again.
Also, some drivers (such as those for printers, accessories, or routers) may be removed. And you may also be prompted to install Windows updates because these can sometimes disappear after a refresh.

Is it a hardware issue?

If all the above steps have failed, you may have a hardware problem. Unfortunately, a severely damaged hard drive cannot usually be fixed, and your data will need to be transferred to a new hard drive like a solid state drive.
Most computer professionals are trained on how to get your data off your PC, if necessary, but it’s recommended that you keep a backup either on a second storage device, such as an external hard drive or in cloud storage, for situations such as these.

What to do next

Once you have managed to unlock your hard drive, act immediately to restore and back up your files.
Locked hard drives can occur due to simple software or formatting issues. However, if you have physical damage to your drive - a common reason for the “blue screen of death” - it may work for a very brief time before crashing permanently.
You’ll want to make a copy of those files right away. Depending on the age of your drive, you may want to replace it right away as well.
Computer users with two hard drives installed have an easy solution. Just run the second, undamaged drive in administrator mode and move files from the first drive to the second.
You should also be proactive in making sure you’re protected against future locked hard drive errors by practicing regular maintenance on your PC.
Restarting your computer in “safe mode” will allow you to do some of the maintenance tasks. It’s also the perfect time to make sure your malware and antivirus protection is up-to-date so you can run a deep scan of your drives and files.

How to prevent a locked hard drive

Unfortunately, there are many reasons why the blue screen of death happens. Sometimes, it’s just a matter of hard drive age and wear.
The average consumer hard-drive product has a warranty between two and five years, so don’t expect it to last much longer than that. And if your office area is especially hot or dusty, it may not even last that long.
Again, maintenance is recommended. Your typical maintenance tasks should include:
  • Running disk defrag
  • Cleaning up temporary and duplicate files
  • Keeping antivirus and firewall software up-to-date and regularly running scans for malware and other corruptors
  • Allowing Windows to install updates, as needed
  • Using secure networks
  • Keeping your computer dust-free and in a cool environment
  • Responding to warnings promptly (don’t wait until the blue screen of death, if possible)
In other words, if your computer is older, displaying signs of failure, or frequently freezes or gives error messages, don’t wait until the hard drive locks to take action. Start backing up your data now, and use best practices to ensure your precious files are safe for when the inevitable happens.
Hard drives don’t last forever. While these fixes can keep your computer going for a good long time, there’s no substitute for keeping your data secure in a second location.
Related articles:
About the Author: Linsey Knerl is a contributing writer for HP® Tech Takes. Linsey is a Midwest-based author, public speaker, and member of the ASJA. She has a passion for helping consumers and small business owners do more with their resources via the latest tech solutions.

Disclosure: Our site may get a share of revenue from the sale of the products featured on this page.

More about these products

Prices, specifications, availability and terms of offers may change without notice. Price protection, price matching or price guarantees do not apply to Intra-day, Daily Deals or limited-time promotions. Quantity limits may apply to orders, including orders for discounted and promotional items. Despite our best efforts, a small number of items may contain pricing, typography, or photography errors. Correct prices and promotions are validated at the time your order is placed. These terms apply only to products sold by; reseller offers may vary. Items sold by are not for immediate resale. Orders that do not comply with terms, conditions, and limitations may be cancelled. Contract and volume customers not eligible.

HP’s MSRP is subject to discount. HP’s MSRP price is shown as either a stand-alone price or as a strike-through price with a discounted or promotional price also listed. Discounted or promotional pricing is indicated by the presence of an additional higher MSRP strike-through price

The following applies to HP systems with Intel 6th Gen and other future-generation processors on systems shipping with Windows 7, Windows 8, Windows 8.1 or Windows 10 Pro systems downgraded to Windows 7 Professional, Windows 8 Pro, or Windows 8.1: This version of Windows running with the processor or chipsets used in this system has limited support from Microsoft. For more information about Microsoft’s support, please see Microsoft’s Support Lifecycle FAQ at

Ultrabook, Celeron, Celeron Inside, Core Inside, Intel, Intel Logo, Intel Atom, Intel Atom Inside, Intel Core, Intel Inside, Intel Inside Logo, Intel vPro, Itanium, Itanium Inside, Pentium, Pentium Inside, vPro Inside, Xeon, Xeon Phi, Xeon Inside, and Intel Optane are trademarks of Intel Corporation or its subsidiaries in the U.S. and/or other countries.

In-home warranty is available only on select customizable HP desktop PCs. Need for in-home service is determined by HP support representative. Customer may be required to run system self-test programs or correct reported faults by following advice given over phone. On-site services provided only if issue can't be corrected remotely. Service not available holidays and weekends.

HP will transfer your name and address information, IP address, products ordered and associated costs and other personal information related to processing your application to Bill Me Later®. Bill Me Later will use that data under its privacy policy.

Microsoft Windows 10: Not all features are available in all editions or versions of Windows 10. Systems may require upgraded and/or separately purchased hardware, drivers, software or BIOS update to take full advantage of Windows 10 functionality. Windows 10 is automatically updated, which is always enabled. ISP fees may apply and additional requirements may apply over time for updates. See

“Best All In One Printer” and “the easiest printer you’ve ever had to set up” from Wirecutter. ©2020 The Wirecutter, Inc.. All rights reserved. Used under license.

Get Marvel’s Avengers when you purchase HP gaming PCs with qualifying 9th gen or 10th gen Intel® Core™ i5, i7 and i9 processors. Redemption code will be sent out by email within 60 days of purchase. Limited quantities and while supply lasts. Offer valid thru 12/31/2020 only while supplies last. We reserve the right to replace titles in the offer for ones of equal or greater value. Certain titles may not be available to all consumers because of age restrictions. The Offer may be changed, cancelled, or suspended at any time, for any reason, without notice, at Intel’s reasonable discretion if its fairness or integrity affected whether due to human or technical error. The Offer sponsor is Intel Corporation, 2200 Mission College Blvd., Santa Clara, CA 95054, USA. To participate you must create an Intel Digital Hub Account, purchase a qualifying product during the redemption period, enter a valid Master Key, and respond to a brief survey. Information you submit is collected, stored, processed, and used on servers in the USA. For more information on offer details, eligibility, restrictions, and our privacy policy, visit

© 2020 MARVEL. © Intel Corporation. Intel, the Intel logo, and other Intel marks are trademarks of Intel Corporation or its subsidiaries in the U.S. and/or other countries. Other names and brands may be claimed as the property of others.

The personal information you provide will be used according to the HP Privacy Statement (