Can’t Activate SecureBoot. Entire Hard Disk Needs to be Repartitioned. What Should I Do Now?

Secure Boot is a security feature that prevents loading of malicious code during the Windows pre-boot interval. It prevents any unsigned UEFI drivers and bootloaders that can load malicious code and infect your machine and steal your personal, confidential information. This feature is available in every computer with the UEFI support, and can be enabled/ disabled from the CMOS Settings.

How Does Secure Boot Work?

We all have heard about the BIOS. It was commonly used in computers until the 2000s when the modern UEFI technology replaced it. Secure Boot is available on modern computers that use Unified Extensible Firmware Interface (UEFI).

Each modern Windows operating system version is signed with pairs of public/ private encryption keys that establish trust relationship between your computer and the operating system. Each time you start your computer, the UEFI system validates the keys against the signed keys that are whitelisted by the certifying authority (in this case, Microsoft). If the key matches, the boot loader will be permitted to load the operating system. Otherwise, your operating system may not load at all.

Benefits

  • Prevents malicious and illicit software from attacking to take control of your computer’s boot process and load itself at the startup
  • Protects your data from ransomware, a type of malware that encrypts and holds the victim’s confidential information at ransom.
  • Validates the origin and authenticity of the software before loading
  • On certain machines, organizations can remove the manufacturer-integrated keys and insert their own for their own internal safety and privacy concerns. For example, software like Shim act as dedicated first-stage bootloaders

The idea behind Secure Boot is not to prevent non-Microsoft based operating systems from booting and creating a monopoly for Microsoft’s OS. Rather,  Microsoft acts as the Certificate Authority (CA) for the Secure Boot system and non-Microsoft operating systems can obtain certifications by fulfilling the minimum requirements that have to meet for certification and submit their source code for auditing. Upon reviewing the source code for safety and privacy, a certificate may be issued or denied.

Disadvantages

Each technology has its pros and cons. Just like any other technology, Secure Boot has its disadvantages. For example, Secure Boot might prevent dual-booting a computer. You may not be able to boot a particular operating system from the boot loader. Secure Boot has also received criticism from certain sections of the Linux community. In order to make your PC dual-boot or install certain, non-popular distributions of the Linux operating system, you might need to first disable the Secure Boot feature.

Solution 1: Convert your MBR Disk to GPT

If you’re unable to activate Secure Boot, you might want to convert your MBR disk to GPT.

Important: It is highly recommended that you backup your important data on to an external drive (such as an external hard disk). MBR to GPT conversion can cause extreme data loss.

  1. Close any open programs that may be running.
  2. Click on Start.
  3. Select Settings.
  4. Click on Update & Security.
  5. Click on Recovery tab > Restart Now (under Advanced Startup).
  6. Your computer will shutdown and restart itself.
  7. Click on the Troubleshoot icon.
  8. Select Command Prompt.
  9. Type the following commands one by one:
    1. diskpart
    2. list disk
  10. Command Prompt will list the available disks connected to your PC. In the following command, insert your disk number:
    1. select disk <type your disk number here>
  11. Finally, type the following:
    1. clean
    2. Convert gpt

Solution 2: Reduce Transfer Data Size, Transfer Data to an External HDD & Re-partition your Hard Disk

The second solution is to repartition your hard disk. But not everyone can transfer all of their data to an external hard disk. Due to the immense nature and size of the data on your hard disk, your external hard disk may be insufficient to store all the files. Thankfully, you can overcome this issue by deleting all the duplicate versions of your documents, images, music, videos stored onto your hard disk. The best thing? This process is completely automatic. After freeing-up tens of GBs of storage space, the transfer process will become smoother and faster.

Step 1: Get Rid of Duplicate File Versions to Reduce Storage & Transfer Size

  1. Download Clone Files Checker. Install and run it.
  2. Click on the Add button and add all the partitions of your hard disk.
  3. Click on Start Search.
  4. Once the duplicate scan is finished, choose the Quick Fix option.
  5. To keep only newer files in each group, select the Newest option.
  6. In the subsequent page, choose an action. Select Delete permanently to destroy all duplicate file versions and reclaim your storage.

Note: You can also review your files individually instead of automatically deleting. Just select the Review & Fix option instead of Quick Fix in the Step # 4 above.

Steps 2: Transfer all the Data to External Hard Disk

Once you’re done, copy all the data from your hard disk to an External Hard Disk or on to the Cloud. This might take some time depending on the size of your data.

Step 3: Re-partition your Hard Disk

Warning: Formatting and/ or re-partitioning your hard disk will destroy all the files from your hard disk.

For Dell Laptops:

  1. Insert the Windows 10 installation DVD ROM, or connect your Windows 10 installation USB drive to your PC.
  2. Restart your computer.
  3. Press F2 or Delete key repeatedly until it opens the CMOS Setup.
  4. Use the keyboard arrow keys to select the Boot Sequence tab on the left.
  5. Select the UEFI option and then click on Apply.
  6. Go to Advanced Boot Options and enable the Enable legacy option ROMs.
  7. Click on Apply again.
  8. Now, go to the Secure Boot > Secure Boot Enable.
  9. Check the option Secure Boot Enable.
  10. Click on Apply.
  11. Click on Exit and your computer will restart.
  12. When you’re prompted to press a key, follow it.
  13. Wait for a while until the Setup is loaded.
  14. Click on Install now.
  15. Read the license agreement and accept it, if you agree.
  16. Click on Next.
  17. Select Custom: Install Windows only (Advanced).
  18. Select a partition (drive) from your hard disk. Click on Delete.
  19. Confirm the action.
  20. Repeat the same step for other drives on your hard disk.
  21. Use the New icon and specify a size for your new partition(s).
  22. Follow the on-screen instructions.