This guide explains how to configure a custom UEFI Boot Menu entry that loads the FakeSecureBoot driver using a UEFI Shell script before launching Windows. This allows you to spoof Secure Boot "Enabled" status while keeping it physically disabled in the BIOS, without relying on external USB sticks or manual interaction with a UEFI shell.
- Secure Boot: Must be Disabled in BIOS.
- BitLocker: If enabled, have your Recovery Key ready or suspend BitLocker protection.
- Architecture: 64-bit UEFI system.
Download the following files:
- UEFI Shell: shellx64.efi (Rename to
Shell.efi). - FakeSecureBoot Driver: FakeSecureBoot.efi (v1.0 or newer).
- Open Command Prompt as Administrator.
- Mount the EFI System Partition (ESP):
mountvol S: /s - Create the necessary directory:
mkdir S:\EFI\FakeSecureBoot - Copy
Shell.efiandFakeSecureBoot.efiintoS:\EFI\FakeSecureBoot\. - Create a file named
startup.nshin the same folder:- Path:
S:\EFI\FakeSecureBoot\startup.nsh - Content:
load fs0:\EFI\FakeSecureBoot\FakeSecureBoot.efi fs0:\EFI\Microsoft\Boot\bootmgfw.efi
fs0:may need to be changed tofs1:depending on your disk configuration). - Path:
Run the following commands in the Administrator Command Prompt to add the entry to your UEFI Boot Loader Menu:
-
Create the entry based on the Windows Boot Manager:
bcdedit /copy {bootmgr} /d "FakeSecureBoot"
Copy the {GUID} returned by this command.
-
Set the path to the UEFI Shell:
bcdedit /set {YOUR-GUID-HERE} path \EFI\FakeSecureBoot\Shell.efi
-
Ensure the device is set to the EFI partition:
bcdedit /set {YOUR-GUID-HERE} device partition=S: -
Add to the end of the boot order (Non-Default):
bcdedit /set {fwbootmgr} displayorder {YOUR-GUID-HERE} /addlast
- Restart your computer.
- Press your Boot Menu Key (usually F11, F12, or Esc).
- Select "FakeSecureBoot" from the list.
- The UEFI Shell will launch, automatically execute
startup.nsh, load the driver, and chain-load Windows.
Once Windows has booted via the Shell:
- Press
Win + R, typemsinfo32, and press Enter. - Look for Secure Boot State. It should report On, even though it is disabled in your BIOS.
If you wish to remove the custom boot entry and delete the files:
-
Find the GUID of the entry:
bcdedit /enum firmwareLocate the entry with the description "FakeSecureBoot" and copy its
{GUID}. -
Delete the UEFI Boot Entry:
bcdedit /delete {YOUR-GUID-HERE} -
Delete the files from the EFI Partition:
mountvol S: /s rd /s /q S:\EFI\FakeSecureBoot mountvol S: /d
https://www.youtube.com/watch?v=FDSA2NzzQIA
- To Change Order: Use
bcdedit /set {fwbootmgr} displayorder {GUID} /addfirstif you ever want to make it the default.