I tried running sfc /scannow as administrator
I get an error saying:
"Windows resource Protection could not start the repair service"
I tried running net start trustedinstaller
I get an error saying:
"A system error has occurred."
"System error 1017 has occurred."
"The system has attempted to load or restore a file into the registry, but the specified file is not in the registry file format."
I tried booting to a Windows 7 DVD and running:
sfc /scannow /offbootdir=c:\ /offwindir=c:\windows
I received an error saying:
"There is a system repair pending which requires reboot to complete. Restart windows and run sfc again."
I did restart. And came up with the same error.
The file on C:\Windows\Winsxs\Pending.xml is not present.
I found a log in:
C:\Windows\Logs\CBS\CBS.log
2011-06-03 08:18:35, Info CBS Starting TrustedInstaller initialization.
2011-06-03 08:18:35, Info CBS Loaded Servicing Stack v6.1.7601.17592 with Core: C:\Windows\winsxs\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_0b0e4b4025cf4049\cbscore.dll
2011-06-03 08:18:35, Info CBS Failed to load the COMPONENTS hive from 'C:\Windows\System32\config\COMPONENTS' into registry key 'HKLM\COMPONENTS'. [HRESULT = 0x800703f9 - ERROR_NOT_REGISTRY_FILE]
2011-06-03 08:18:35, Info CBS Failed to load WCP DLL. [HRESULT = 0x800703f9 - ERROR_NOT_REGISTRY_FILE]
2011-06-03 08:18:35, Info CBS Failed to initialize the Core DLL: C:\Windows\winsxs\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_0b0e4b4025cf4049\cbscore.dll [HRESULT = 0x800703f9 - ERROR_NOT_REGISTRY_FILE]
2011-06-03 08:18:35, Info CBS Failed to initialize CBS Core. [HRESULT = 0x800703f9 - ERROR_NOT_REGISTRY_FILE]
2011-06-03 08:18:35, Info CBS Ending TrustedInstaller initialization.
2011-06-03 08:18:35, Info CBS Failed to initialize Trusted Installer. [HRESULT = 0x800703f9 - ERROR_NOT_REGISTRY_FILE]
2011-06-03 08:18:35, Info CBS Starting TrustedInstaller finalization.
2011-06-03 08:18:35, Info CBS Trusted Installer core was not initialized.
2011-06-03 08:18:35, Info CBS Ending TrustedInstaller finalization.
I hope this helps someone figure this out.
Thanks,
Docfxit