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.
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.
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.
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.
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.
bcdedit /set testsigning off from an elevated Command Prompt. It will now succeedmsinfo32 that Secure Boot State shows OnDisabling 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.
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.
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.See every step done live on a real Windows PC in the Technical Anshu video, including the exact command and the restart.
▶️ Watch Full VideoThe 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.
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.
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.