Hello Jania,
Thank you for posting your question in the Microsoft Q&A forum.
The Service Fabric runtime installation failure with error 0x800704fb ("A system shutdown is in progress") typically occurs due to pending system operations or driver conflicts during setup. To resolve this, first check for pending reboots (run shutdown /a to abort any unintended shutdowns) and ensure Hyper-V or Containers features are fully installed, as Service Fabric depends on these.
If the issue persists, manually install the LeaseLayer driver by:
- Extracting the driver (LeaseLayer.inf) from the Service Fabric installer.
- Run below powershell command:
*pnputil /add-driver "C:\path\to\LeaseLayer.inf" /install*
- Disabling driver signature enforcement temporarily (bcdedit /set testsigning on).
Alternatively, clean boot Windows to eliminate third-party service interference, or deploy via ARM template to bypass local setup quirks. For persistent failures, review Event Viewer logs under System for driver-related errors.
Reference documentation you may review - https://learn.microsoft.com/en-us/azure/service-fabric/
If the above answer helped, please do not forget to "Accept Answer" as this may help other community members to refer the info if facing a similar issue. Your contribution to the Microsoft Q&A community is highly appreciated.