Invoke **BlackLotus** mitigation step for step (multiple reboots necessary) and check succes of each step before continuing


[CVE-2023-24932: Secure Boot Security Feature Bypass Vulnerability](

[KB5025885: How to manage the Windows Boot Manager revocations for Secure Boot changes associated with CVE-2023-24932](


tested on Windows 10 and 11, check requirements = **OK**  
possibly not all failures will be intercepted gracefully, use with care in your environment

this script will run until all steps have been succesfully performed  
please investigate if device(s) keep failing after at least 6 runs


- **Org** can be used for the name of your organization (default = **Org**) to use in the registry path that holds script execution progress
- **DelayRebootInSeconds** is the number of seconds (default = 28800 seconds or 8 hours) before a reboot is triggered with notification to the logged on user
- **EnforceReboot** triggers an immediate reboot with a message to the logged on user


Authored by ChristelVdH on 23 May 2024


Version 1.1 - 23/05/2024 - added verbose output and added some comments before publication