What to do if you encounter the “The value is protected by Secure Boot policy” issue when using Command Prompt? Don’t worry. This post from MiniTool Partition Wizard will show you the solution.

Some Windows users encounter the “The value is protected by Secure Boot policy” issue under any of the following scenarios:

  1. When trying to turn off Data Execution Prevention (DEP) using bcdedit.
  2. When trying to disable Driver Signature Enforcement.
  3. When running VMware.

If you see an error message “An error has occurred setting the element data. The value is protected by Secure Boot policy and cannot be modified or deleted” in Windows 10/11, then this post may be able to help you solve this problem.

The value is protected by Secure Boot policy
Diskpart Delete Partition Override Not Working? Fix It Now
Diskpart Delete Partition Override Not Working? Fix It Now

What if you encounter the Diskpart delete partition override not working problem? Don’t worry. This post provides a full guide for it.

Read More

How to Fix The Value Is Protected by Secure Boot Policy

If you see an error setting element data message, it means that your computer’s UEFI firmware has Secure Boot enabled. Secure Boot is a feature in UEFI and legacy BIOS. It protects the PC startup process by preventing any malicious programs from loading. However, this feature is enabled by default, and it turns out that disabling them fixes the bug.

To solve the “The value is protected by Secure Boot policy” issue, you should disable Secure Boot first and then run the commands.

Note:
After disabling Secure Boot and installing other software and hardware, it may be difficult to re-activate Secure Boot unless you restore your PC to the factory state. Please be careful when you make some changes to your BIOS settings, and be sure to follow the manufacturer’s instructions exactly.

To disable Secure Boot, you can follow the steps below:

Step 1: Press the Win + I key to open Windows Settings. Then go to Update & Security> Recovery > Restart now to enter Advanced Startup.

Step 2: Then choose Troubleshoot > Advanced options > UEFI Firmware Settings. Then click on the Restart button to enter the BIOS settings screen.

Step 3: Move to the Boot tab on the top menu. According to the information on the screen, use the arrow key to go to the Secure Boot option.

Tips:
The Secure Boot option will be found on the Boot, Security, or Authentication tab.

Step 4: Press Enter to bring up a Disable option and select it.

disable Secure Boot

Step 5: Press the F10 key to save and exit BIOS.

BIOS/UEFI firmware layouts can vary between different PC models. So, the exact steps for accessing the disabling Secure Boot BIOS setting can also vary slightly.

Once done, you can try to boot again and check if the “The value is protected by Secure Boot policy” issue gets solved.

Further reading: If you want to clone a hard drive to SSD in Windows 11/10/8/7, you can try to use MiniTool Partition Wizard. Its Copy Disk feature can copy all partitions on the hard drive to a larger SSD/HDD without the wrong disk size problem. It is worth a try!

DiskPart Error: The Device Does Not Recognize the Command
DiskPart Error: The Device Does Not Recognize the Command

When you receive the error: DiskPart has encountered an error: The device does not recognize the command, you can read this post to learn how to fix this error.

Read More

Bottom Line

It is common to see the “The value is protected by Secure Boot policy” issue. How to fix it? This post has provided a full guide about it. If you run into some problems during the fixing process, you can leave them in the following comment zone.

  • linkedin
  • reddit