Disable Memory Integrity in Windows Security before running bcdedit /set testsigning on – on most Windows 11 machines, Test Mode will not activate while Memory Integrity is enabled, which is why the bcdedit command appears to succeed but the watermark never appears and unsigned drivers still cannot load.
Windows 11 enforces driver signing through multiple independent layers, not just one. Understanding which layer is blocking your driver determines the correct fix – applying the wrong fix wastes time and can leave security settings in an inconsistent state.
The Three Layers of Driver Signature Enforcement in Windows 11
Windows 11 has three independent mechanisms that enforce driver signing, each one operating at a different level of the system:
1. Memory Integrity (HVCI) – uses the Windows Hypervisor to verify drivers before they enter kernel memory. This is the most common blocker in Windows 11. Even in Test Mode, HVCI-incompatible drivers may still fail to load because HVCI operates below the OS layer. Disabling Test Mode does not disable HVCI. They are separate controls.
2. Secure Boot – enforced in UEFI firmware and validates boot components including the Windows bootloader. Secure Boot does not directly enforce driver signing at runtime, but it does prevent bcdedit from activating Test Mode on many OEM systems because the system is configured to reject non-standard boot settings. If Secure Boot is enabled and the UEFI is locked, bcdedit changes may be silently blocked.
3. Test Mode / bcdedit – a Windows boot flag that tells the OS to allow test-signed or unsigned drivers during the current and all future sessions. This is the layer that bcdedit /set testsigning on modifies. It only works when Secure Boot does not block it and HVCI is either compatible or disabled.
| Enforcement layer | How to check if active | How to bypass |
|---|---|---|
| Memory Integrity (HVCI) | Windows Security > Core Isolation Details | Toggle off, restart |
| Secure Boot | System Info (msinfo32) > Secure Boot State | Disable in UEFI firmware settings |
| Driver Signature Enforcement / Test Mode | bcdedit /enum | find testsigning | bcdedit /set testsigning on (after above) |
Step 1 – Check if a Signed Version Exists First
Before attempting any bypass, verify that an unsigned version is genuinely necessary. Many drivers that appear unsigned when downloaded from third-party aggregator sites actually have a properly signed version on the official manufacturer site. Search the manufacturer’s official support page for the driver. Also check Settings > Windows Update > Advanced Options > Optional Updates – Microsoft validates and distributes signed versions of some drivers that cannot be found elsewhere. If an Optional Update for your device appears here, install it first. It will install cleanly without requiring any bypass of signature enforcement, Secure Boot, or HVCI.
Step 2 – One-Time Bypass Using Advanced Startup
If you only need to install the unsigned driver once, the Advanced Startup method is safer and faster than enabling Test Mode permanently. Hold Shift and click Restart from the Start menu. In the blue recovery menu, go to Troubleshoot > Advanced Options > Startup Settings > Restart. After the second restart, press 7 (or F7) to choose Disable driver signature enforcement. Windows boots with signature enforcement suspended for this session only. Install the unsigned driver during this session. On the next normal restart, enforcement returns automatically. Note that HVCI is also suspended during this session, so drivers that fail the HVCI check can also be installed using this method. The driver you installed may or may not survive the next boot depending on whether Windows re-validates it – test before treating it as a permanent fix.
Per Arjun K., who is a Senior Infrastructure Engineer at Wipro, “Driver signature enforcement on Windows 11 is fundamentally more robust than Windows 10 because of Secure Boot integration. The bcdedit testsigning workaround that worked reliably on Windows 10 requires Secure Boot to also be disabled on most Windows 11 machines before Test Mode activates.”
Step 3 – Persistent Test Mode: Disable Memory Integrity First
For a permanent bypass where the unsigned driver loads on every boot, Test Mode is the correct tool. But on most Windows 11 machines, you must disable Memory Integrity before Test Mode will activate. Open Windows Security, go to Device Security > Core Isolation Details, and toggle Memory Integrity to off. Restart. After the reboot, open an elevated Command Prompt (right-click Start, select Windows Terminal (Admin)) and run: bcdedit /set testsigning on. Restart again. Check for the Test Mode watermark at the bottom-right corner of the desktop. If it appears, Test Mode is active. If it does not appear, Secure Boot is the remaining blocker.
Step 4 – Disable Secure Boot if Test Mode Still Does Not Activate
If the Test Mode watermark is absent after both restarts, Secure Boot is preventing bcdedit from taking effect.
To disable Secure Boot: hold Shift and click Restart, go to Troubleshoot > Advanced Options > UEFI Firmware Settings, and restart into the BIOS. Inside the UEFI, find the Secure Boot option under the Security or Boot tab. Set it to Disabled. Save and exit. Back in Windows, run bcdedit /set testsigning on again from an elevated Command Prompt and restart. The Test Mode watermark should now appear. To verify the current bcdedit state at any time, run bcdedit /enum {current} and look for the testsigning line – Yes confirms Test Mode is active. According to Microsoft’s documentation on the testsigning boot option, Test Mode is specifically designed for testing and development scenarios where standard signature enforcement would block a driver under development or from a legacy source.
BitLocker Warning When Disabling Secure Boot
If your system drive uses BitLocker encryption, disabling Secure Boot will change the Trusted Platform Module (TPM) measurement values that BitLocker monitors. On the next boot after disabling Secure Boot, BitLocker will detect the changed measurements and prompt for the BitLocker recovery key before allowing Windows to load. Have this key available before entering UEFI. Find it at account.microsoft.com/devices/recoverykey if your Microsoft account has it saved, or check the printout or USB you stored it on during BitLocker setup. Entering UEFI without the recovery key ready and disabling Secure Boot on a BitLocker machine can lock you out of Windows until the key is provided.
Re-Enable Protections After Installing the Driver
Once the unsigned driver is installed and confirmed working, re-enable the protections you disabled. Run bcdedit /set testsigning off from an elevated Command Prompt to turn off Test Mode. Re-enable Secure Boot in UEFI if you disabled it – save the UEFI change. Re-enable Memory Integrity in Windows Security. Restart after each step. The unsigned driver you installed may continue working after re-enabling protections if it was only blocked by the absence of Test Mode, not by HVCI directly. If the device stops working after re-enabling Memory Integrity, it means HVCI is still blocking the driver – leave Memory Integrity off or look for a newer compatible driver from the manufacturer.
Frequently Asked Questions
Why does bcdedit report success but Test Mode never appears?
This is the most common confusion with driver signature enforcement on Windows 11. The bcdedit command writes to the boot configuration data successfully – it does not fail. But either Memory Integrity or Secure Boot prevents the Test Mode flag from taking effect at runtime. The command reports no error because the write to BCD succeeded. The enforcement happens at boot, not at the bcdedit command itself. Disable Memory Integrity and Secure Boot first, then re-run bcdedit.
Is it safe to run in Test Mode permanently?
Test Mode is designed for temporary use during driver development and testing – not as a permanent configuration for a daily-use machine. Running in Test Mode permanently allows any unsigned code to load into the kernel, which increases vulnerability to rootkits and kernel-level malware. Use it for the minimum time needed to install and verify the driver, then re-enable enforcement.
What is the difference between Test Mode and disabling driver signature enforcement in Advanced Startup?
The Advanced Startup method (pressing 7 at the Startup Settings menu) disables enforcement for a single boot session only – it reverts automatically on the next restart. Test Mode (via bcdedit) is persistent – it stays active across all reboots until you explicitly run bcdedit /set testsigning off. Use Advanced Startup for a one-time install; use Test Mode only if the driver must load on every boot.
Can I check which drivers are currently loaded in Test Mode?
Yes – open Event Viewer (run eventvwr.msc), go to Windows Logs > System, and filter for source Code Integrity. Event IDs 3001 and 3002 show when unsigned or test-signed drivers are loaded. This is useful for auditing which drivers are relying on Test Mode being active and whether any of them should be replaced with signed versions.
Conclusion
Driver signature enforcement in Windows 11 is not a single switch – it is three independent layers working together. If bcdedit testsigning appears to succeed but Test Mode never activates, Memory Integrity or Secure Boot is the actual blocker. Disable Memory Integrity first, then run bcdedit, and disable Secure Boot if the watermark still does not appear. Always check for a properly signed driver version before attempting any bypass, and re-enable all protections after the driver is confirmed working.
Ryan holds a Computer Science degree and has over 20 years of hands-on experience with PC hardware, software, and driver troubleshooting. He is the author behind softwaredriverdownload.com, where he helps everyday users fix driver issues quickly and accurately. Ryan has personally tested most of the fixes on this site across a range of Windows 10 and Windows 11 machines.
Leave a Reply