UEFI Lock is an option that stores a protection setting in UEFI firmware variables so it cannot be switched off by a registry or Group Policy change alone. Windows Credential Guard offers it as Enabled with UEFI lock. It stops malware or an attacker with admin rights disabling the feature remotely; reversing it needs physical access.
UEFI Lock and what it changes
UEFI Lock is not a separate protection feature so much as a stronger persistence mode for a setting that already exists in Windows. It writes the choice into firmware variables, which means ordinary software-level changes cannot turn it off on their own. That matters because it moves the protection boundary from the operating system into platform firmware.
For Windows environments, the practical result is that a local registry edit or Group Policy change is not enough to undo the protection. The setting remains active unless someone can access the device physically and change the firmware-backed state. In other words, UEFI Lock makes the protection harder to tamper with remotely.
Why UEFI Lock matters for defensive hardening
The value of UEFI Lock is that it closes a common post-compromise escape hatch: if an attacker gains administrator rights, they may try to disable a security feature before defenders notice. By binding the setting to firmware variables, the lock reduces the chance that malware or an abusive admin session can silently weaken the machine from within the operating system.
This kind of design is especially important for protections that are meant to resist credential theft, kernel tampering, or other deep compromise paths. If an attacker can simply flip a policy value and wait for a reboot, the control is easier to bypass. If the state is stored in firmware, the attacker has to cross a much higher trust boundary.
That is why UEFI Lock is most useful when paired with other controls that assume the endpoint itself may be contested. NHI Management Group’s Windows Memory Integrity (HVCI) Guide explains the same trust shift for memory integrity protections, while Credential Guard and VBS shows how Windows uses the lock to make rollback harder after deployment.
How to think about exposure and reversibility
UEFI Lock changes the operational question from “is the feature enabled?” to “can it be disabled without physical access?” That is an important distinction for fleet management, incident response and recovery planning. A machine may still be vulnerable to the underlying threat if the feature was never enabled, but once the lock is in place, remote rollback becomes much harder.
It also means that recovery is deliberately more cumbersome. In many environments, reversing the setting requires hands-on access to the device, which is a benefit for security but a constraint for troubleshooting. Administrators should treat the lock as a durability mechanism, not just a convenience flag.
Because the setting is stored in firmware, exposure checks should focus on both software policy state and platform state. A system that appears correctly configured in Windows may still be less protected if the firmware-backed setting was not actually applied. For broader boot-chain context, the Firmware and Boot Security Guide covers the same class of trust boundary, including UEFI, Secure Boot and boot-time protections.
What UEFI Lock means during incident response
From a defender’s point of view, UEFI Lock is useful because it narrows a common post-exploitation move: disabling protection before persistence is established. If malware or an intruder has already reached administrator level, a firmware-backed lock can prevent a quick soft disable and force the attacker into louder, more constrained options.
That also affects investigation. When a protection remains enabled despite attempted tampering, it can be a clue that the attacker tried to weaken the endpoint but failed. In environments where attackers target credential-protection features, related hardening such as process integrity controls and domain-controller protection may also matter. The M1025 Privileged Process Integrity guide and the MITRE ATT&CK T1556.001 Domain Controller Authentication guide are useful adjacent references for understanding those escalation paths.
Risk and Threat Considerations
UEFI Lock reduces the risk of remote tampering, but it can also create operational friction if teams do not track where it is enabled and how it is reversed. The main threat is not the lock itself, but the fact that attackers who reach admin rights often try to disable endpoint protections before they are detected.
Failure mechanism: A malicious actor or abused administrative session changes a protection setting in the operating system, but the firmware-backed lock blocks the change from taking effect, forcing the attacker to find a higher-friction path such as physical access or deeper platform compromise.
Impact: The protection is harder to silently disable, which preserves defensive coverage against post-compromise weakening, though it also makes legitimate rollback and repair slower and more dependent on hands-on recovery.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev 5 | IA-5 — Authenticator Management | UEFI Lock helps preserve protected authentication-related settings against local tampering. |
| CM-6 — Configuration Settings | UEFI Lock hardens a security configuration by binding it to firmware state. | |
| SI-3 — Malicious Code Protection | UEFI Lock supports protections that malware may try to disable after gaining admin rights. | |
| Recommendation — Protect credential and security-setting lifecycles so local attackers cannot silently undo them. Enforce secure configuration states that cannot be reverted by routine software policy changes. Preserve anti-malware and hardening controls so malware cannot easily switch them off. | ||
| CIS Controls v8 | CIS-4 — Secure Configuration of Enterprise Assets and Software | UEFI Lock is a secure configuration durability mechanism for endpoint hardening. |
| CIS-10 — Malware Defenses | UEFI Lock helps keep malware-resistance features from being disabled after compromise. | |
| Recommendation — Harden endpoint settings and verify they remain enforced at the firmware layer. Prevent attackers from weakening malware defenses through local configuration changes. | ||
Practitioner Guidance
Why practitioners should care: Treat UEFI Lock as a durability control for protections that would otherwise be too easy to undo from within Windows. It is most valuable when you want the setting to survive local administrative abuse, malware action, or policy drift.
What to watch for: Make sure teams can distinguish between software-level enablement and firmware-backed enablement, because the two do not behave the same way during rollback or incident handling. If a device must be recoverable without site visits, plan that exception up front rather than discovering it during an outage.
Practitioner takeaway: Use UEFI Lock when the security benefit of harder reversal outweighs the recovery cost, especially on devices where local admin compromise is a realistic threat.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org