T The Triage ManualTechnical Guides for IT Emergencies
P4 · Endpoint & Device Management

Hardening Windows 10 Against WinRE Physical Security Back Door via Boot Interruption

On Windows 10, repeatedly interrupting the boot sequence automatically triggers the Windows Recovery Environment (WinRE), granting unauthenticated administrative command-line access to the local filesystem. This represents a significant physical security risk in kiosk, lab, and shared-device environments, as an attacker with physical access can read or modify files and reset local passwords without credentials. WinRE can be fully disabled via reagentc /disable or by removing winre.wim from the install image, with BitLocker providing an additional layer of protection against file-level access.

Indicators

Likely causes

Diagnostic steps

  1. Open an elevated command prompt and run 'reagentc /info' to confirm whether WinRE is currently enabled or disabled on the machine.
  2. Run 'manage-bde -status' to determine whether BitLocker is enabled on the system volume. If the volume is unencrypted, file read/write access via WinRE is fully exposed.
  3. To confirm the attack vector in a controlled test: repeatedly interrupt power during boot (two or three times) and verify whether a WinRE command prompt is accessible without credential prompting.
  4. For unattended or image-based deployments, mount the install image with DISM and inspect whether \windows\system32\recovery\winre.wim is present — its presence causes WinRE to be enabled on all machines built from that image.
  5. If using unattend.xml, review the Microsoft-Windows-WinRE-RecoveryAgent component settings. Note that this setting has no effect on Windows 10 LTSB (version 1607 and likely later branches); reagentc or image-level removal is required instead.
  6. Check UEFI/BIOS settings to confirm whether boot from external media (USB, PXE) is disabled and whether a BIOS/UEFI password is set, as these are complementary controls.

Resolution path

Prevention

Tools

References

windows-10winrewindows-recovery-environmentphysical-securitykiosklabreagentcbitlockerpassword-resetunattended-installationsecurity-hardeninghardeningboot-securityltsbdismuefi