SFC doesnt work - "Fail to start the repair service"
DISM: even the examples in the help text dont work!! As an example: DISM /online /Cleanup-Image /scanhealth reports the image version then does nothing for ages and finally reports "the cleanup-image option is unknown!!!"
the error in the log are
CDISMPackageManager::RefreshInstanceAndLock(hr:0x80080005)
2025-01-01 12:52:49, Error DISM DISM Package Manager: PID=1044 Failed to create session classID - waiting for a second and trying again - CDISMPackageManager::RefreshInstanceAndLock(hr:0x80080005)
2025-01-01 12:53:49, Error DISM DISM Package Manager: PID=1044 Failed to create session classID - CDISMPackageManager::RefreshInstanceAndLock(hr:0x80080005)
2025-01-01 12:53:49, Error DISM DISM Package Manager: PID=1044 Failed doing internal initialization - CDISMPackageManager::Initialize(hr:0x80080005)
2025-01-01 12:53:49, Warning DISM DISM Provider Store: PID=1044 Failed to call Initialize method on IDismServicingProvider Interface - CDISMProviderStore::Internal_LoadProvider(hr:0x80080005)
2025-01-01 12:53:49, Warning DISM DISM Provider Store: PID=1044 Failed to Load the provider: C:\Users\user\AppData\Local\Temp\2842F465-0E92-486C-A0A0-ED5828ABAEAD\CbsProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x80080005)
2025-01-01 12:53:49, Info DISM DISM Provider Store: PID=1044 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2025-01-01 12:53:49, Info DISM DISM Provider Store: PID=1044 Loading Provider from location C:\Users\user\AppData\Local\Temp\2842F465-0E92-486C-A0A0-ED5828ABAEAD\MsiProvider.dll - CDISMProviderStore::Internal_GetProvider
2025-01-01 12:53:49, Info DISM DISM Provider Store: PID=1044 Connecting to the provider located at C:\Users\user\AppData\Local\Temp\2842F465-0E92-486C-A0A0-ED5828ABAEAD\MsiProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2025-01-01 12:53:49, Info DISM DISM Provider Store: PID=1044 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2025-01-01 12:53:49, Info DISM DISM Provider Store: PID=1044 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2025-01-01 12:53:49, Info DISM DISM Provider Store: PID=1044 Loading Provider from location C:\Users\user\AppData\Local\Temp\2842F465-0E92-486C-A0A0-ED5828ABAEAD\IntlProvider.dll - CDISMProviderStore::Internal_GetProvider
2025-01-01 12:53:49, Info DISM DISM Provider Store: PID=1044 Connecting to the provider located at C:\Users\user\AppData\Local\Temp\2842F465-0E92-486C-A0A0-ED5828ABAEAD\IntlProvider.dll. - CDISMProviderStore::Internal_LoadProvider
So I thought I'd try SURT
SURT got stuck in a loop checking for updates (presumably the same loop that means Windows Update cant find any updates)
A typical cycle is
2025-01-01 10:34:25, Info CSI 00000004@2025/1/1:10:34:25.735 PopulateComponentFamiliesKey - Begin
2025-01-01 10:44:46, Info CBS Starting TrustedInstaller initialization.
2025-01-01 10:44:46, Info CBS Loaded Servicing Stack v6.1.7601.24383 with Core: C:\Windows\winsxs\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.24383_none_0ba36e373ee432e7\cbscore.dll
2025-01-01 10:44:48, Info CSI 00000001@2025/1/1:10:44:48.549 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x6a5cdae4 @0x6a7b5f2b @0x6a79210b @0x8a1c99 @0x8a1236 @0x773375a8)
2025-01-01 10:44:48, Info CSI 00000002@2025/1/1:10:44:48.559 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x6a5cdae4 @0x6a7f73c3 @0x6a7f4253 @0x8a1c99 @0x8a1236 @0x773375a8)
2025-01-01 10:44:48, Info CSI 00000003@2025/1/1:10:44:48.569 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x6a5cdae4 @0x6aa84bb0 @0x6aa8548e @0x8a1327 @0x8a1245 @0x773375a8)
2025-01-01 10:44:48, Info CBS Ending TrustedInstaller initialization.
2025-01-01 10:44:48, Info CBS Starting the TrustedInstaller main loop.
2025-01-01 10:44:48, Info CBS TrustedInstaller service starts successfully.
2025-01-01 10:44:48, Info CBS SQM: Initializing online with Windows opt-in: False
2025-01-01 10:44:48, Info CBS SQM: Cleaning up report files older than 10 days.
2025-01-01 10:44:48, Info CBS SQM: Requesting upload of all unsent reports.
2025-01-01 10:44:48, Info CBS SQM: Failed to start upload with file pattern: C:\Windows\servicing\sqm\*_std.sqm, flags: 0x2 [HRESULT = 0x80004005 - E_FAIL]
2025-01-01 10:44:48, Info CBS SQM: Failed to start standard sample upload. [HRESULT = 0x80004005 - E_FAIL]
2025-01-01 10:44:48, Info CBS SQM: Queued 0 file(s) for upload with pattern: C:\Windows\servicing\sqm\*_all.sqm, flags: 0x6
2025-01-01 10:44:48, Info CBS SQM: Warning: Failed to upload all unsent reports. [HRESULT = 0x80004005 - E_FAIL]
2025-01-01 10:44:48, Info CBS No startup processing required, TrustedInstaller service was not set as autostart, or else a reboot is still pending.
2025-01-01 10:44:48, Info CBS NonStart: Checking to ensure startup processing was not required.
2025-01-01 10:44:48, Info CSI 00000004@2025/1/1:10:44:48.679 PopulateComponentFamiliesKey - Begin
2025-01-01 10:45:16, Info CBS Starting TrustedInstaller initialization.
it looks a bit of a mess but I hope that helps