Service Fabric Runtime installer not working (Windows PC)

Giovanny Hernandez 0 Reputation points Microsoft Employee
2025-10-10T18:12:50.82+00:00

Hi Team,

Trying to install SF runtime the past 2 hrs.

  1. Updated my PC and reboot
  2. Ran the following: .\MicrosoftServiceFabric.11.2.274.1.exe /force /accepteula
    • Tried this with admin and non admin, also ran Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force -Scope CurrentUser
  3. Tried to also run via winget but get the same error.
10/10/2025 6:08:01 PM,Info,Installing Service Fabric Runtime. Logs written to C:\Windows\TEMP\InstallFabricRuntime_638956984814515838.log
10/10/2025 6:08:01 PM,Info,Running extract in parallel.
10/10/2025 6:08:01 PM,Info,Unpackaging autoextractor...
10/10/2025 6:08:01 PM,Info,10/10/2025 1:08:01 PM Running Process: powershell.exe -NoProfile -Command Get-ExecutionPolicy -Scope CurrentUser with timeout 00:01:00
10/10/2025 6:08:01 PM,Info,Creating temporary runtime directory C:\Program Files\Microsoft Service Fabric.1slqdlmt.eze.
10/10/2025 6:08:01 PM,Info,Extracting runtime cab to C:\Program Files\Microsoft Service Fabric.1slqdlmt.eze...
10/10/2025 6:08:01 PM,Info,10/10/2025 1:08:01 PM Running Process: C:\Windows\TEMP\MicrosoftServiceFabricAutoextractor.exe /L "C:\Program Files\Microsoft Service Fabric.1slqdlmt.eze" /E /Y with timeout 01:00:00
10/10/2025 6:08:02 PM,Info,Current Powershell Execution Policy: Unrestricted
10/10/2025 6:08:02 PM,Info,Searching for legacy installation registry key.
10/10/2025 6:08:02 PM,Info,Service Fabric Product not detected in registry.
10/10/2025 6:08:02 PM,Info,Found legacy fabric files at C:\Program Files\Microsoft Service Fabric. Start removal...
10/10/2025 6:08:02 PM,Info,Executing powershell.exe with parameters: -NoProfile -Command & 'C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\CleanFabric.ps1' -LogPath C:\Windows\TEMP\FabricSetupLog.Uninstall_638956984814515838.log
10/10/2025 6:08:02 PM,Info,10/10/2025 1:08:02 PM Running Process: powershell.exe -NoProfile -Command & 'C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\CleanFabric.ps1' -LogPath C:\Windows\TEMP\FabricSetupLog.Uninstall_638956984814515838.log with timeout 00:10:00
10/10/2025 6:08:05 PM,Info,Legacy Fabric Uninstalled using CleanFabric.ps1!
10/10/2025 6:08:09 PM,Info,Successfully extracted cab file to C:\Program Files\Microsoft Service Fabric.1slqdlmt.eze
10/10/2025 6:08:09 PM,Info,Moving FabricRoot files from 'C:\Program Files\Microsoft Service Fabric.1slqdlmt.eze' to 'C:\Program Files\Microsoft Service Fabric'.
10/10/2025 6:08:09 PM,Info,Moved FabricRoot files 'C:\Program Files\Microsoft Service Fabric' successfully.
10/10/2025 6:08:09 PM,Info,Installing Service Fabric Runtime... Logs written to: C:\Windows\TEMP\FabricSetupLog_638956984814515838.log
10/10/2025 6:08:09 PM,Info,Executing powershell.exe with parameters: -NoProfile -Command & 'C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\InstallFabric.ps1' -FabricRootIsPreInstalled -AcceptEULA -LogPath C:\Windows\TEMP\FabricSetupLog_638956984814515838.log
10/10/2025 6:08:09 PM,Info,10/10/2025 1:08:09 PM Running Process: powershell.exe -NoProfile -Command & 'C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\InstallFabric.ps1' -FabricRootIsPreInstalled -AcceptEULA -LogPath C:\Windows\TEMP\FabricSetupLog_638956984814515838.log with timeout 00:10:00
10/10/2025 6:08:20 PM,Error,Unable to install Service Fabric Runtime using C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\InstallFabric.ps1. ExitCode: 1. Find additional logs at: C:\Windows\TEMP\FabricSetupLog_638956984814515838.log.
Press enter to exit. Process will automatically close after 30 seconds.

Produced log:

FabricSetup.exe invoked with arguments (C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\FabricSetup.exe /operation:install). Current Exe version 10.0.1949.9590
Environment information Data Root C:\ProgramData\Microsoft Service Fabric, Log Root C:\ProgramData\Microsoft Service Fabric\Log
Starting service eventlog
Starting service pla
Starting UserGroupManager::Install
UserGroupCreated : LAPTOP-N08UDG7K/ServiceFabricAdministrators : S-1-5-21-3161413939-2301108139-2507844589-1032
CreateUserGroup succeeded. Group:ServiceFabricAdministrators has been created or already exists with sid:S-1-5-21-3161413939-2301108139-2507844589-1032
UserGroupCreated : LAPTOP-N08UDG7K/ServiceFabricAllowedUsers : S-1-5-21-3161413939-2301108139-2507844589-1033
CreateUserGroup succeeded. Group:ServiceFabricAllowedUsers has been created or already exists with sid:S-1-5-21-3161413939-2301108139-2507844589-1033
UserGroupManager::Install successful
Starting RegistryManager::Install
Creating the registry key Software\Microsoft\Service Fabric
Setting the ACLs for the registry key Software\Microsoft\Service Fabric
lockFileName:Service Fabric.lock
Updating Object ACls. ObjectName=MACHINE\Software\Microsoft\Service Fabric, DaclLockFileName=Service Fabric.lock, Timeout=1:00.000
Obtained exclusive file Service Fabric.lock
Released exclusive file Service Fabric.lock
Creating the registry key SYSTEM\CurrentControlSet\Services\ESE\Performance
RegistryManager::Install successful
Starting FolderACLManager::Install
Obtained exclusive file C:\ProgramData\Microsoft Service Fabric\daclupdate.lock
Updating ACLs on folderName C:\ProgramData\Microsoft Service Fabric with removeInvalidSids true
LookupAccountSidW for S-1-5-21-3161413939-2301108139-2507844589-1030 failed; error=0x80070534
LookupAccountSidW for S-1-5-21-3161413939-2301108139-2507844589-1030 failed; error=0x80070534
LookupAccountSidW for S-1-5-21-3161413939-2301108139-2507844589-1031 failed; error=0x80070534
LookupAccountSidW for S-1-5-21-3161413939-2301108139-2507844589-1031 failed; error=0x80070534
Released exclusive file C:\ProgramData\Microsoft Service Fabric\daclupdate.lock
Directory:C:\ProgramData\Microsoft Service Fabric has been updated with ACL (Account|Sid) ServiceFabricAdministrators|S-1-5-21-3161413939-2301108139-2507844589-1032 ServiceFabricAllowedUsers|S-1-5-21-3161413939-2301108139-2507844589-1033 
Obtained exclusive file C:\ProgramData\Microsoft Service Fabric\Log\daclupdate.lock
Updating ACLs on folderName C:\ProgramData\Microsoft Service Fabric\Log with removeInvalidSids true
LookupAccountSidW for S-1-5-21-3161413939-2301108139-2507844589-1030 failed; error=0x80070534
LookupAccountSidW for S-1-5-21-3161413939-2301108139-2507844589-1030 failed; error=0x80070534
Released exclusive file C:\ProgramData\Microsoft Service Fabric\Log\daclupdate.lock
Directory:C:\ProgramData\Microsoft Service Fabric\Log has been updated with ACL (Account|Sid) ServiceFabricAdministrators|S-1-5-21-3161413939-2301108139-2507844589-1032 
FolderACLManager::Install successful
Starting EnvironmentManager::Install
EnvironmentManager::Install successful
Starting EventTraceInstaller::Install
EventTraceInstaller::Install successful
Starting CrashDumps::Install
CrashDumps::Install successful
Starting EventLogManager::Install
CreateProcess Successful for CommandLine:wevtutil um "C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\Microsoft-ServiceFabric-Events.man". ProcessId:13040 MainThreadId:3408 ProcessHandle:2ac
CreateProcess Successful for CommandLine:wevtutil im "C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\Microsoft-ServiceFabric-Events.man" /rf:"C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\FabricResources.dll" /mf:"C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\FabricResources.dll". ProcessId:27240 MainThreadId:21052 ProcessHandle:280
CreateProcess Successful for CommandLine:wevtutil um "C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\Microsoft-ServiceFabric-LeaseEvents.man". ProcessId:28736 MainThreadId:26636 ProcessHandle:2d8
CreateProcess Successful for CommandLine:wevtutil im "C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\Microsoft-ServiceFabric-LeaseEvents.man" /rf:"C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\leaslayr.sys" /mf:"C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\leaslayr.sys". ProcessId:10412 MainThreadId:24592 ProcessHandle:2d4
CreateProcess Successful for CommandLine:wevtutil um "C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\Microsoft-ServiceFabric-KtlEvents.man". ProcessId:14508 MainThreadId:6280 ProcessHandle:2d8
CreateProcess Successful for CommandLine:wevtutil im "C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\Microsoft-ServiceFabric-KtlEvents.man" /rf:"C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\KtlEvents.dll" /mf:"C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\KtlEvents.dll". ProcessId:26640 MainThreadId:28404 ProcessHandle:2d4
EventLogManager::Install successful
Starting GACManager::Install
Removing System.Fabric from gac
Uninstalling assembly: System.Fabric - Already uninstalled.
Adding C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\System.Fabric.dll to gac
Removing Policy.1.0.System.Fabric from gac
Uninstalling assembly: Policy.1.0.System.Fabric - Already uninstalled.
Adding C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\Policy.1.0.System.Fabric.dll to gac
Removing Policy.2.0.System.Fabric from gac
Uninstalling assembly: Policy.2.0.System.Fabric - Already uninstalled.
Adding C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\Policy.2.0.System.Fabric.dll to gac
Removing Policy.3.0.System.Fabric from gac
Uninstalling assembly: Policy.3.0.System.Fabric - Already uninstalled.
Adding C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\Policy.3.0.System.Fabric.dll to gac
Removing Policy.4.0.System.Fabric from gac
Uninstalling assembly: Policy.4.0.System.Fabric - Already uninstalled.
Adding C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\Policy.4.0.System.Fabric.dll to gac
Removing Policy.5.0.System.Fabric from gac
Uninstalling assembly: Policy.5.0.System.Fabric - Already uninstalled.
Adding C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\Policy.5.0.System.Fabric.dll to gac
Removing Policy.6.0.System.Fabric from gac
Uninstalling assembly: Policy.6.0.System.Fabric - Already uninstalled.
Adding C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\Policy.6.0.System.Fabric.dll to gac
Removing Policy.7.0.System.Fabric from gac
Uninstalling assembly: Policy.7.0.System.Fabric - Already uninstalled.
Adding C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\Policy.7.0.System.Fabric.dll to gac
Removing Policy.8.0.System.Fabric from gac
Uninstalling assembly: Policy.8.0.System.Fabric - Already uninstalled.
Adding C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\Policy.8.0.System.Fabric.dll to gac
Removing Policy.9.0.System.Fabric from gac
Uninstalling assembly: Policy.9.0.System.Fabric - Already uninstalled.
Adding C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\Policy.9.0.System.Fabric.dll to gac
Removing System.Fabric.Strings from gac
Uninstalling assembly: System.Fabric.Strings - Already uninstalled.
Adding C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\System.Fabric.Strings.dll to gac
Removing System.Fabric.Dca.Validator from gac
Uninstalling assembly: System.Fabric.Dca.Validator - Already uninstalled.
Adding C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\System.Fabric.Dca.Validator.dll to gac
Removing DcaStandardPluginValidator from gac
Uninstalling assembly: DcaStandardPluginValidator - Already uninstalled.
Adding C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\DcaStandardPluginValidator.dll to gac
Removing System.Fabric.dSTSClient from gac
Uninstalling assembly: System.Fabric.dSTSClient - Already uninstalled.
Adding C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\System.Fabric.dSTSClient.dll to gac
Removing Microsoft.ServiceFabric.Data.Interfaces from gac
Uninstalling assembly: Microsoft.ServiceFabric.Data.Interfaces - Already uninstalled.
Adding C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\Microsoft.ServiceFabric.Data.Interfaces.dll to gac
Removing Microsoft.ServiceFabric.Data.Interfaces.V2 from gac
Uninstalling assembly: Microsoft.ServiceFabric.Data.Interfaces.V2 - Already uninstalled.
Adding C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\Microsoft.ServiceFabric.Data.Interfaces.V2.dll to gac
GACManager::Install successful
Starting DriverInstallManager::Install
Uninstalling Driver: LeasLayr.
Stopping Driver: LeasLayr.
Driver stop exited with permissible errorcode 0x80070424.
Uninstall Driver: LeasLayr result: 0x80070424.
Installing Driver: LeasLayr from C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\LeasLayr.sys.
Start Service call for driver failed LeasLayr because 0x800704fb.
Error 0x800704fb while installing driver LeaseLayer
DriverInstallManager::Install failed with error 0x800704fb
DriverInstallManager::Install failed with error 0x800704fb, Rolling back
Starting DriverInstallManager::Uninstall
Uninstalling Driver: LeasLayr.
Stopping Driver: LeasLayr.
Driver stop exited with permissible errorcode 0x80070426.
Uninstall Driver: LeasLayr result: S_OK.
Uninstalling Driver: KtlLogger.
Stopping Driver: KtlLogger.
Driver stop exited with permissible errorcode 0x80070424.
Uninstall Driver: KtlLogger result: 0x80070424.
DriverInstallManager::Uninstall successful
Starting GACManager::Uninstall
Removing System.Fabric from gac
Uninstalling assembly: System.Fabric - Successful.
Removing Policy.1.0.System.Fabric from gac
Uninstalling assembly: Policy.1.0.System.Fabric - Successful.
Removing Policy.2.0.System.Fabric from gac
Uninstalling assembly: Policy.2.0.System.Fabric - Successful.
Removing Policy.3.0.System.Fabric from gac
Uninstalling assembly: Policy.3.0.System.Fabric - Successful.
Removing Policy.4.0.System.Fabric from gac
Uninstalling assembly: Policy.4.0.System.Fabric - Successful.
Removing Policy.5.0.System.Fabric from gac
Uninstalling assembly: Policy.5.0.System.Fabric - Successful.
Removing Policy.6.0.System.Fabric from gac
Uninstalling assembly: Policy.6.0.System.Fabric - Successful.
Removing Policy.7.0.System.Fabric from gac
Uninstalling assembly: Policy.7.0.System.Fabric - Successful.
Removing Policy.8.0.System.Fabric from gac
Uninstalling assembly: Policy.8.0.System.Fabric - Successful.
Removing Policy.9.0.System.Fabric from gac
Uninstalling assembly: Policy.9.0.System.Fabric - Successful.
Removing System.Fabric.Strings from gac
Uninstalling assembly: System.Fabric.Strings - Successful.
Removing System.Fabric.Dca.Validator from gac
Uninstalling assembly: System.Fabric.Dca.Validator - Successful.
Removing DcaStandardPluginValidator from gac
Uninstalling assembly: DcaStandardPluginValidator - Successful.
Removing System.Fabric.dSTSClient from gac
Uninstalling assembly: System.Fabric.dSTSClient - Successful.
Removing Microsoft.ServiceFabric.Data.Interfaces from gac
Uninstalling assembly: Microsoft.ServiceFabric.Data.Interfaces - Successful.
Removing Microsoft.ServiceFabric.Data.Interfaces.V2 from gac
Uninstalling assembly: Microsoft.ServiceFabric.Data.Interfaces.V2 - Successful.
GACManager::Uninstall successful
Starting EventLogManager::Uninstall
CreateProcess Successful for CommandLine:wevtutil um "C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\Microsoft-ServiceFabric-Events.man". ProcessId:21620 MainThreadId:2372 ProcessHandle:2d74
CreateProcess Successful for CommandLine:wevtutil um "C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\Microsoft-ServiceFabric-LeaseEvents.man". ProcessId:7932 MainThreadId:29332 ProcessHandle:2d60
CreateProcess Successful for CommandLine:wevtutil um "C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\Microsoft-ServiceFabric-KtlEvents.man". ProcessId:8632 MainThreadId:19688 ProcessHandle:2d74
EventLogManager::Uninstall successful
Starting CrashDumps::Uninstall
Reset crash dump location to default
CrashDumps::Uninstall successful
Starting EventTraceInstaller::Uninstall
EventTraceInstaller::Uninstall successful
Starting EnvironmentManager::Uninstall
EnvironmentManager::Uninstall successful
Starting FolderACLManager::Uninstall
FolderACLManager::Uninstall successful
Starting RegistryManager::Uninstall
RegistryManager::Uninstall successful
Starting UserGroupManager::Uninstall
DeleteUserGroup: For group:ServiceFabricAdministrators with sid:S-1-5-21-3161413939-2301108139-2507844589-1032
DeleteUserGroup: For group:ServiceFabricAllowedUsers with sid:S-1-5-21-3161413939-2301108139-2507844589-1033
UserGroupManager::Uninstall successful
Operation failed with error 0x800704fb

Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.