Technical Anshu
Tutorials Blog
🔒 Secure Boot

Secure Boot Blocking the Test Signing Change in Windows What It Means and How to Handle It

You ran the test mode command and Windows answered that the value is protected by Secure Boot policy and cannot be modified or deleted. That message sounds like a dead end. It is actually Secure Boot and test signing explaining their relationship, and once you understand it, the right move becomes clear.

✍️ Technical Anshu💻 Windows 10 / 11⏱️ 6 minute read
🎥 Watch the full video above for the complete live process, then follow the written steps here

Secure Boot and test mode cannot honestly coexist. Secure Boot exists to make sure only trusted, properly signed code runs during startup. Test mode exists to let test-signed drivers run. Windows resolves that contradiction in Secure Boot's favour: while Secure Boot is on, test-signed drivers are not loaded, and the test signing boot value is locked against changes. This guide explains what that means for your specific situation, including the surprising conclusion that if you are seeing this error, your PC may already be safer than you thought.

Command Prompt (recreated) - the Secure Boot refusal
C:\Windows\System32> bcdedit /set testsigning off
An error occurred while attempting to modify the specified entry.
The value is protected by Secure Boot policy and cannot be modified or deleted.
This message appears when Secure Boot is enabled in the UEFI firmware and Windows is refusing to touch the locked boot value.
👆 Read this error as information, not failure. It is telling you Secure Boot is on and standing guard over this setting.
1

What Secure Boot Is Guarding Here

Secure Boot is a UEFI firmware feature. Before Windows even starts, the firmware checks the signatures of the boot components against a list of trusted certificates. Anything unsigned or tampered with is stopped at the door. It is one of the strongest protections a normal PC has against boot-level malware.

The test signing switch lives in the boot configuration, exactly the territory Secure Boot watches. So when Secure Boot is enabled, Windows locks that value. Nobody, not even an administrator inside Windows, can flip it while the guard is on duty. The lock is deliberate and it is a feature.

2

The Twist, Your PC Is Probably Not Really in Test Mode

Here is the part most guides skip. Test-signed drivers only load when test signing is on and Secure Boot is off. With Secure Boot on, Windows ignores test signing at driver load time. So a PC that shows this error is, in practical terms, already refusing test-signed drivers, which is the whole point of turning test mode off.

If the watermark is what brought you here, restart the PC and look again. In some cases the watermark line can linger from an earlier configuration. The ground truth is the combination of two checks: bcdedit /enum {current} for the testsigning line, and the System Information tool (msinfo32), which shows Secure Boot State as On or Off. If Secure Boot is On, your drivers are being held to the full signature standard today, regardless of what the stored value says.

3

If You Genuinely Need to Change the Locked Value

There are rare, legitimate reasons to edit the value anyway, for example cleaning up a configuration before handing a PC to someone else. The only route is through the firmware, and it must be done with open eyes.

  1. Restart and enter the UEFI or BIOS setup, usually with Del, F2 or the key your PC shows at startup
  2. Find the Secure Boot setting, typically under Boot or Security, and disable it
  3. Save, boot into Windows, and run bcdedit /set testsigning off from an elevated Command Prompt. It will now succeed
  4. Restart, re-enter setup, and turn Secure Boot back on. Do not leave it disabled as a leftover
  5. Restart once more and confirm with msinfo32 that Secure Boot State shows On

Disabling Secure Boot, even briefly, lowers your PC's boot protection during that window, and on some PCs changing it can interact with BitLocker, which may ask for its recovery key on the next boot. Have that key available before you start if your drive is encrypted.

4

What Not to Do

Do not leave Secure Boot off permanently just to make a watermark or a setting easier to change. Do not disable it to make an unsigned driver work on a machine that holds real data, yours or an employer's, without understanding that you have removed a layer of protection for as long as it stays off. And do not use third-party boot tools that promise to bypass the policy lock; the lock exists precisely to stop software from doing that quietly.

The calm summary: this error means a strong protection is active. Usually the correct action is no action, plus a verification that Secure Boot is on and your devices all work.

🔴 Secure Boot on is the goal, not the obstacle. If this error stopped your command, your PC is already refusing test-signed drivers in practice. Verify with msinfo32 that Secure Boot State is On, and only enter the firmware if you have a specific, temporary reason, turning Secure Boot back on the moment you are done.

🎥 Watch the Full Video Guide

See every step done live on a real Windows PC in the Technical Anshu video, including the exact command and the restart.

▶️ Watch Full Video
❓ Frequently Asked Questions

Can test mode be on while Secure Boot is on?

The value can be stored in the boot configuration, but Windows will not load test-signed drivers while Secure Boot is enabled, and the value is locked against changes. So the practical protection is the same as test mode being off. This is why the error message, strange as it looks, is good news.

Will disabling Secure Boot break Windows or my files?

Windows and your files are not harmed by the change itself, but boot protection is lowered while it is off, and a PC with BitLocker encryption may ask for the recovery key after firmware changes. If you disable Secure Boot for a maintenance step, have the key ready and re-enable Secure Boot as soon as the step is done.

My PC shows the watermark and Secure Boot is on. What should I do?

Restart fully and check again, then verify the testsigning line with bcdedit /enum {current}. If Secure Boot is on, test-signed drivers are not loading, so the security goal is already met. A lingering watermark in that state is a display leftover, and a clean restart plus the verification is the proportionate response before considering any firmware change.

This guide is based on the Technical Anshu test mode video • Stuck on a step? Ask in the video comments — you will get a reply 🙏