A Secure Boot Violation message appears during the startup due to a missing or invalid Secure Boot file.
See the steps below on how to resolve the issue.
- Prepare an empty USB thumb drive.
- Access the BIOS. See How to access the BIOS settings for instructions.
- Go to “Security” and set Secure Boot to “Disabled.”
- Click “Save & Exit” > “Save Changes”.
- Power on the laptop and plug in the USB drive.
- Run Command Prompt as an Administrator.
- In the Command Prompt window, copy the recovery application to the USB drive using the commands below (assuming the USB drive is set to drive D:).
Type each command separately, then press Enter:
- md D:\EFI\BOOT
- copy C:\windows\boot\efi\securebootrecovery.efi D:\efi\boot\bootx64.efi
- Restart the laptop and access the BIOS again.
- Go to “Security” and set Secure Boot to “Enabled.”
- Click “Save & Exit” > “Save Changes”.
- Restart the laptop.
- Press F12 and select to boot from the USB drive.
- Follow the on‑screen instructions.
Note: If the issue returns after unplugging the power adapter for more than 20 seconds, the CMOS battery is no longer working and needs to be replaced.