CSI Missing Component Keys + Broken roles and features in SM

Hi

Please see attached the error from the dism.log upon running that command.

Code:
2018-04-12 11:02:02, Info                  DISM   PID=964 Scratch directory set to 'X:\windows\TEMP\'. - CDISMManager::put_ScratchDir2018-04-12 11:02:02, Info                  DISM   PID=964 Successfully loaded the ImageSession at "X:\Sources" - CDISMManager::LoadImageSession
2018-04-12 11:02:02, Info                  DISM   DISM Provider Store: PID=964 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2018-04-12 11:02:02, Info                  DISM   DISM Provider Store: PID=964 Failed to get and initialize the PE Provider.  Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
2018-04-12 11:02:02, Info                  DISM   DISM Provider Store: PID=964 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
2018-04-12 11:02:02, Info                  DISM   DISM Provider Store: PID=964 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2018-04-12 11:02:02, Info                  DISM   DISM Provider Store: PID=964 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:02, Info                  DISM   DISM Provider Store: PID=964 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2018-04-12 11:02:02, Info                  DISM   DISM Provider Store: PID=964 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:02, Info                  DISM   DISM Manager: PID=964 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
2018-04-12 11:02:02, Info                  DISM   DISM Provider Store: PID=964 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2018-04-12 11:02:02, Info                  DISM   DISM Provider Store: PID=964 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:02, Info                  DISM   DISM.EXE: 
2018-04-12 11:02:02, Info                  DISM   DISM.EXE: <----- Starting Dism.exe session ----->
2018-04-12 11:02:02, Info                  DISM   DISM.EXE: 
2018-04-12 11:02:02, Info                  DISM   DISM.EXE: Host machine information: OS Version=6.1.7600, Running architecture=amd64, Number of processors=2
2018-04-12 11:02:02, Info                  DISM   DISM.EXE: Executing command line: DISM  /Image:D:\ /Cleanup-Image /RevertPendingActions
2018-04-12 11:02:02, Info                  DISM   DISM Provider Store: PID=964 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2018-04-12 11:02:02, Info                  DISM   DISM Provider Store: PID=964 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:02, Info                  DISM   DISM Provider Store: PID=964 Loading Provider from location X:\Sources\WimProvider.dll - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:02, Warning               DISM   DISM Provider Store: PID=964 Failed to Load the provider: X:\Sources\WimProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2018-04-12 11:02:02, Info                  DISM   DISM Provider Store: PID=964 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:02, Info                  DISM   DISM Provider Store: PID=964 Loading Provider from location X:\Sources\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:02, Info                  DISM   DISM Provider Store: PID=964 Connecting to the provider located at X:\Sources\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2018-04-12 11:02:02, Info                  DISM   DISM Provider Store: PID=964 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:02, Info                  DISM   DISM Provider Store: PID=964 Loading Provider from location X:\Sources\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:02, Info                  DISM   DISM Provider Store: PID=964 Connecting to the provider located at X:\Sources\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2018-04-12 11:02:02, Info                  DISM   DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2018-04-12 11:02:02, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: FolderManager
2018-04-12 11:02:02, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2018-04-12 11:02:02, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: Compatibility Manager
2018-04-12 11:02:02, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.
2018-04-12 11:02:02, Warning               DISM   DISM.EXE: Failed to load WimManager. Try running from the Deployment Tools Command Prompt. If the issue persists, ensure that wimgapi.dll and wimserv.exe are up to date.
2018-04-12 11:02:02, Warning               DISM   DISM.EXE: Failed to add any commands.
2018-04-12 11:02:02, Info                  DISM   DISM Provider Store: PID=964 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2018-04-12 11:02:02, Info                  DISM   DISM Provider Store: PID=964 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2018-04-12 11:02:03, Info                  DISM   DISM Manager: PID=964 Successfully loaded the ImageSession at "X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA" - CDISMManager::LoadImageSession
2018-04-12 11:02:03, Info                  DISM   DISM Image Session: PID=1000 Instantiating the Provider Store. - CDISMImageSession::get_ProviderStore
2018-04-12 11:02:03, Info                  DISM   DISM Provider Store: PID=1000 Initializing a provider store for the IMAGE session type. - CDISMProviderStore::Final_OnConnect
2018-04-12 11:02:03, Info                  DISM   DISM Provider Store: PID=1000 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:03, Info                  DISM   DISM Provider Store: PID=1000 Loading Provider from location X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA\OSProvider.dll - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:03, Info                  DISM   DISM Provider Store: PID=1000 Connecting to the provider located at X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA\OSProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2018-04-12 11:02:03, Info                  DISM   DISM OS Provider: PID=1000 Defaulting SystemPath to D:\ - CDISMOSServiceManager::Final_OnConnect
2018-04-12 11:02:04, Info                  DISM   DISM OS Provider: PID=1000 msxml6.dll was successfully copied to X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA\msxml6.dll - CDISMOSServiceManager::RunASICompatibilityShim
2018-04-12 11:02:04, Info                  DISM   DISM OS Provider: PID=1000 msxml6r.dll was successfully copied to X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA\msxml6r.dll - CDISMOSServiceManager::RunASICompatibilityShim
2018-04-12 11:02:04, Info                  DISM   DISM OS Provider: PID=1000 Defaulting Windows folder to D:\Windows - CDISMOSServiceManager::Final_OnConnect
2018-04-12 11:02:15, Info                  DISM   DISM Provider Store: PID=1000 Attempting to initialize the logger from the Image Session. - CDISMProviderStore::Final_OnConnect
2018-04-12 11:02:15, Info                  DISM   DISM Provider Store: PID=1000 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:15, Info                  DISM   DISM Provider Store: PID=1000 Loading Provider from location X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA\LogProvider.dll - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:15, Info                  DISM   DISM Provider Store: PID=1000 Connecting to the provider located at X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA\LogProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2018-04-12 11:02:15, Info                  DISM   DISM Provider Store: PID=1000 Getting Provider OSServices - CDISMProviderStore::GetProvider
2018-04-12 11:02:15, Info                  DISM   DISM Provider Store: PID=1000 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:15, Info                  DISM   DISM Provider Store: PID=1000 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2018-04-12 11:02:15, Info                  DISM   DISM Provider Store: PID=1000 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:15, Info                  DISM   DISM Provider Store: PID=1000 Loading Provider from location X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA\PEProvider.dll - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:15, Warning               DISM   DISM Provider Store: PID=1000 Failed to Load the provider: X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA\PEProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2018-04-12 11:02:15, Info                  DISM   DISM Provider Store: PID=1000 Failed to get and initialize the PE Provider.  Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
2018-04-12 11:02:15, Info                  DISM   DISM Provider Store: PID=1000 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
2018-04-12 11:02:15, Info                  DISM   DISM Provider Store: PID=1000 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2018-04-12 11:02:15, Info                  DISM   DISM Provider Store: PID=1000 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:15, Info                  DISM   DISM Manager: PID=964 Image session successfully loaded from the temporary location: X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA - CDISMManager::CreateImageSession
2018-04-12 11:02:15, Info                  DISM   DISM Provider Store: PID=1000 Getting Provider OSServices - CDISMProviderStore::GetProvider
2018-04-12 11:02:15, Info                  DISM   DISM Provider Store: PID=1000 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:15, Info                  DISM   DISM OS Provider: PID=1000 Setting SystemPath to D:\ - CDISMOSServiceManager::SetSystemPath
2018-04-12 11:02:15, Info                  CSI    00000001 Shim considered [l:256{128}]"\??\D:\Windows\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.18766_none_675144b3de10d6f7\pkgmgr.exe" : got STATUS_OBJECT_PATH_NOT_FOUND
2018-04-12 11:02:15, Info                  CSI    00000002 Shim considered [l:250{125}]"\??\D:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.18766_none_675144b3de10d6f7\pkgmgr.exe" : got STATUS_SUCCESS
2018-04-12 11:02:15, Info                  DISM   DISM.EXE: Target image information: OS Version=6.1.7601.18766, Image architecture=amd64
2018-04-12 11:02:15, Info                  DISM   DISM Provider Store: PID=1000 Getting the collection of providers from an image provider store type. - CDISMProviderStore::GetProviderCollection
2018-04-12 11:02:15, Info                  DISM   DISM Provider Store: PID=1000 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:15, Info                  DISM   DISM Provider Store: PID=1000 Loading Provider from location X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA\CbsProvider.dll - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:15, Info                  DISM   DISM Provider Store: PID=1000 Connecting to the provider located at X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA\CbsProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2018-04-12 11:02:15, Info                  DISM   DISM Provider Store: PID=1000 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2018-04-12 11:02:15, Info                  CSI    00000001 Shim considered [l:256{128}]"\??\D:\Windows\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.18766_none_675144b3de10d6f7\pkgmgr.exe" : got STATUS_OBJECT_PATH_NOT_FOUND
2018-04-12 11:02:15, Info                  CSI    00000002 Shim considered [l:250{125}]"\??\D:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.18766_none_675144b3de10d6f7\pkgmgr.exe" : got STATUS_SUCCESS
2018-04-12 11:02:15, Info                  DISM   DISM Package Manager: PID=1000 Finished initializing the CbsConUI Handler. - CCbsConUIHandler::Initialize
2018-04-12 11:02:15, Info                  CSI    00000001 Shim considered [l:256{128}]"\??\D:\Windows\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.18766_none_675144b3de10d6f7\pkgmgr.exe" : got STATUS_OBJECT_PATH_NOT_FOUND
2018-04-12 11:02:15, Info                  CSI    00000002 Shim considered [l:250{125}]"\??\D:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.18766_none_675144b3de10d6f7\pkgmgr.exe" : got STATUS_SUCCESS
2018-04-12 11:02:15, Info                  CBS    Transactions disabled in registry, continuing without transaction support.
2018-04-12 11:02:15, Info                  CBS    Kernel transactions are disabled, continuing without transaction support.
2018-04-12 11:02:15, Info                  CBS    Failed to find a matching version for servicing stack: D:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.18766_none_675144b3de10d6f7\ [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2018-04-12 11:02:15, Info                  CBS    Failed to find servicing stack directory in online store. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2018-04-12 11:02:15, Info                  CBS    Must be doing offline servicing, using stack version from: D:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.18766_none_675144b3de10d6f7\cbscore.dll
2018-04-12 11:02:15, Info                  CBS    Loaded Servicing Stack v6.1.7601.18766 with Core: D:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.18766_none_675144b3de10d6f7\cbscore.dll
2018-04-12 11:02:15, Info                  CSI    00000001@2018/4/12:19:02:15.468 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7fefafef0dd @0x7fefb3198b5 @0x7fefb2e34e3 @0x7fefb47a82d @0x7fefb47a9a1 @0x7fefb44b89f)
2018-04-12 11:02:15, Info                  CSI    00000002@2018/4/12:19:02:15.593 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7fefafef0dd @0x7fefb366816 @0x7fefb332b18 @0x7fefb2e35b9 @0x7fefb47a82d @0x7fefb47a9a1)
2018-04-12 11:02:15, Info                  DISM   DISM Package Manager: PID=1000 Loaded servicing stack for offline use only. - CDISMPackageManager::RefreshInstanceAndLock
2018-04-12 11:02:15, Info                  CBS    Loading offline registry hive: SOFTWARE, into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/Windows/System32/config/SOFTWARE' from path '\\?\D:\Windows\System32\config\SOFTWARE'.
2018-04-12 11:02:15, Info                  CBS    Loading offline registry hive: SYSTEM, into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/Windows/System32/config/SYSTEM' from path '\\?\D:\Windows\System32\config\SYSTEM'.
2018-04-12 11:02:15, Info                  CBS    Loading offline registry hive: SECURITY, into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/Windows/System32/config/SECURITY' from path '\\?\D:\Windows\System32\config\SECURITY'.
2018-04-12 11:02:15, Info                  CBS    Loading offline registry hive: SAM, into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/Windows/System32/config/SAM' from path '\\?\D:\Windows\System32\config\SAM'.
2018-04-12 11:02:15, Info                  CBS    Loading offline registry hive: COMPONENTS, into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/Windows/System32/config/COMPONENTS' from path '\\?\D:\Windows\System32\config\COMPONENTS'.
2018-04-12 11:02:15, Info                  CBS    Loading offline registry hive: DEFAULT, into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/Windows/System32/config/DEFAULT' from path '\\?\D:\Windows\System32\config\DEFAULT'.
2018-04-12 11:02:15, Info                  CBS    Loading offline registry hive: ntuser.dat, into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/Users/default/ntuser.dat' from path '\\?\D:\Users\default\ntuser.dat'.
2018-04-12 11:02:15, Info                  CBS    Loading offline registry hive: schema.dat, into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/Windows/system32/smi/store/Machine/schema.dat' from path '\\?\D:\Windows\system32\smi\store\Machine\schema.dat'.
2018-04-12 11:02:16, Info                  CBS    Offline image is: writeable
2018-04-12 11:02:16, Info                  CSI    00000003 CSI Store 3608256 (0x0000000000370ec0) initialized
2018-04-12 11:02:16, Info                  CBS    Session: 1000_248703 initialized by client DISM Package Manager Provider.
2018-04-12 11:02:16, Info                  DISM   DISM Package Manager: PID=1000 Loaded servicing stack for offline use only. - CDISMPackageManager::RefreshInstanceAndLock
2018-04-12 11:02:16, Info                  DISM   DISM Package Manager: PID=1000 Loaded servicing stack for online use only. - CDISMPackageManager::RefreshInstanceAndLock
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Loading Provider from location X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA\MsiProvider.dll - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Connecting to the provider located at X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA\MsiProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Loading Provider from location X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA\IntlProvider.dll - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Connecting to the provider located at X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA\IntlProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Loading Provider from location X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA\DmiProvider.dll - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Connecting to the provider located at X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA\DmiProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2018-04-12 11:02:16, Info                  CSI    00000001 Shim considered [l:256{128}]"\??\D:\Windows\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.18766_none_675144b3de10d6f7\pkgmgr.exe" : got STATUS_OBJECT_PATH_NOT_FOUND
2018-04-12 11:02:16, Info                  CSI    00000002 Shim considered [l:250{125}]"\??\D:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.18766_none_675144b3de10d6f7\pkgmgr.exe" : got STATUS_SUCCESS
2018-04-12 11:02:16, Info                  DISM   DISM OS Provider: PID=1000 Get the registry path to the SOFTWARE hive located at D:\Windows\system32\config\SOFTWARE and determine if it is loaded. - CDISMOSServiceManager::DetermineBootDrive
2018-04-12 11:02:16, Info                  DISM   DISM Driver Manager: PID=1000 Further logs for driver related operations can be found in the target operating system at %WINDIR%\inf\setupapi.offline.log - CDriverManager::Initialize
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Loading Provider from location X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA\UnattendProvider.dll - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Connecting to the provider located at X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA\UnattendProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Loading Provider from location X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA\SmiProvider.dll - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Connecting to the provider located at X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA\SmiProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Loading Provider from location X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA\TransmogProvider.dll - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Connecting to the provider located at X:\windows\TEMP\10C20176-0180-4BE5-A4BD-4423FD415ADA\TransmogProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Getting Provider DISM Package Manager - CDISMProviderStore::GetProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Getting Provider DISM Unattend Manager - CDISMProviderStore::GetProvider
2018-04-12 11:02:16, Info                  DISM   DISM Provider Store: PID=1000 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:16, Info                  DISM   DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2018-04-12 11:02:16, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Package Manager
2018-04-12 11:02:16, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: DISM Package Manager.
2018-04-12 11:02:16, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: OSServices
2018-04-12 11:02:16, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: MsiManager
2018-04-12 11:02:16, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: MsiManager.
2018-04-12 11:02:16, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: IntlManager
2018-04-12 11:02:16, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: IntlManager.
2018-04-12 11:02:17, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DriverManager
2018-04-12 11:02:17, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: DriverManager.
2018-04-12 11:02:17, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Unattend Manager
2018-04-12 11:02:17, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: DISM Unattend Manager.
2018-04-12 11:02:17, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2018-04-12 11:02:17, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: SmiManager
2018-04-12 11:02:17, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: Edition Manager
2018-04-12 11:02:17, Info                  DISM   DISM Transmog Provider: PID=1000 Current image session is [OFFLINE] - CTransmogManager::GetMode
2018-04-12 11:02:17, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: Edition Manager.
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=1000 Getting Provider DISM Package Manager - CDISMProviderStore::GetProvider
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=1000 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2018-04-12 11:02:17, Info                  DISM   DISM Package Manager: PID=1000 Processing the top level command token(cleanup-image). - CPackageManagerCLIHandler::Private_ValidateCmdLine
2018-04-12 11:02:17, Warning               DISM   DISM Package Manager: PID=1000 The scratch directory size might be insufficient to perform this operation. This can cause unexpected behavior. Use the /ScratchDir option to point to a folder with sufficient scratch space. The recommended size is at least 1024 MB - CPackageManagerCLIHandler::ExecuteCmdLine
2018-04-12 11:02:17, Info                  DISM   DISM Package Manager: PID=1000 Attempting to route to appropriate command handler. - CPackageManagerCLIHandler::ExecuteCmdLine
2018-04-12 11:02:17, Info                  DISM   DISM Package Manager: PID=1000 Routing the command... - CPackageManagerCLIHandler::ExecuteCmdLine
2018-04-12 11:02:17, Info                  CBS    Client specifies cancelling all pending transactions.
2018-04-12 11:02:17, Info                  CBS    Blocked system sleep; prior state: 0x80000000
2018-04-12 11:02:17, Info                  CBS    Exec: Session processing started.  Client: DISM Package Manager Provider, Session(Cancelling): 1000_248703
2018-04-12 11:02:17, Info                  CBS    Exec: Pended transaction, changes will be applied during startup processing. Scheduled TrustedInstaller for auto-start. [HRESULT = 0x00000000 - S_OK]
2018-04-12 11:02:17, Info                  CBS    Exec: Poq is not partially committed, rollback everything
2018-04-12 11:02:17, Info                  CBS    Doqe: Completed processing queue
2018-04-12 11:02:17, Error                 CSI    00000004 (F) Cannot cancel pending transactions while primitive operations are partially committed[gle=0x80004005]
2018-04-12 11:02:17, Error                 CSI    00000005@2018/4/12:19:02:17.203 (F) d:\win7sp1_gdr\base\wcp\componentstore\com\cancel.cpp(325): Error E_UNEXPECTED originated in function Windows::COM::CComponentStore::IAdvancedInstallerAwareStore_Cancel expression: ((HRESULT)0x8000FFFFL)
[gle=0x80004005]
2018-04-12 11:02:17, Error                 CSI    00000006 (F) E_UNEXPECTED #144# from Windows::COM::CComponentStore_IAdvancedInstallerAwareStore::Cancel(dwFlags = (RollBackAll), TxCount = 0, TxIds = [0:(null)[1]"]", Progress = NULL, Disp = (unknown enumerant 0))[gle=0x8000ffff]
2018-04-12 11:02:17, Error                 CSI    00000007 (F) E_UNEXPECTED #143# from Windows::ServicingAPI::CCSIStore_ICSIStore::CancelPendingTransactions(dwFlags = 0x00000001, Transactions = [0:(null)[1]"]", Disposition = 0)
[gle=0x8000ffff]
2018-04-12 11:02:17, Info                  CBS    Exec: Failed to rollback CSI transaction [HRESULT = 0x8000ffff - Unknown Error]
2018-04-12 11:02:17, Info                  CBS    Failed to execution reverse operations. [HRESULT = 0x8000ffff - Unknown Error]
2018-04-12 11:02:17, Info                  CBS    Failed to process Reverse session operations. [HRESULT = 0x8000ffff - Unknown Error]
2018-04-12 11:02:17, Info                  CBS    Restored system sleep block state: 0x80000000
2018-04-12 11:02:17, Info                  CBS    Exec: Processing complete, session(Cancelling): 1000_248703 [HRESULT = 0x8000ffff - Unknown Error]
2018-04-12 11:02:17, Error                 CBS    Session: 1000_248703 failed to perform cancelling all pending transactions. [HRESULT = 0x8000ffff - Unknown Error]
2018-04-12 11:02:17, Info                  CBS    Session: 1000_248703 finalized. Reboot required: no [HRESULT = 0x8000ffff - Unknown Error]
2018-04-12 11:02:17, Error                 DISM   DISM Package Manager: PID=1000 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x8000ffff)
2018-04-12 11:02:17, Info                  CBS    Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/Windows/System32/config/SOFTWARE
2018-04-12 11:02:17, Info                  CBS    Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/Windows/System32/config/SOFTWARE, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2018-04-12 11:02:17, Info                  CBS    Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/Windows/System32/config/SYSTEM
2018-04-12 11:02:17, Info                  CBS    Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/Windows/System32/config/SYSTEM, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2018-04-12 11:02:17, Info                  CBS    Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/Windows/System32/config/SECURITY
2018-04-12 11:02:17, Info                  CBS    Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/Windows/System32/config/SECURITY, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2018-04-12 11:02:17, Info                  CBS    Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/Windows/System32/config/SAM
2018-04-12 11:02:17, Info                  CBS    Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/Windows/System32/config/SAM, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2018-04-12 11:02:17, Info                  CBS    Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/Windows/System32/config/COMPONENTS
2018-04-12 11:02:17, Info                  CBS    Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/Windows/System32/config/COMPONENTS, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2018-04-12 11:02:17, Info                  CBS    Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/Windows/System32/config/DEFAULT
2018-04-12 11:02:17, Info                  CBS    Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/Windows/System32/config/DEFAULT, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2018-04-12 11:02:17, Info                  CBS    Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/Users/default/ntuser.dat
2018-04-12 11:02:17, Info                  CBS    Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/Users/default/ntuser.dat, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2018-04-12 11:02:17, Info                  CBS    Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}D:/Windows/system32/smi/store/Machine/schema.dat
2018-04-12 11:02:17, Error                 DISM   DISM Package Manager: PID=1000 An error occured clearing the pending actions from the image. - CDISMPackageManager::RevertPendingActions(hr:0x8000ffff)
2018-04-12 11:02:17, Error                 DISM   DISM Package Manager: PID=1000 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x8000ffff)
2018-04-12 11:02:17, Info                  DISM   DISM Image Session: PID=1000 Disconnecting the provider store - CDISMImageSession::Final_OnDisconnect
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=1000 Finalizing the servicing provider(DISM Package Manager) - CDISMProviderStore::Internal_DisconnectProvider
2018-04-12 11:02:17, Info                  DISM   DISM Package Manager: PID=1000 Finalizing CBS core. - CDISMPackageManager::Finalize
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=1000 Disconnecting Provider: DISM Package Manager - CDISMProviderStore::Internal_DisconnectProvider
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=1000 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=1000 Finalizing the servicing provider(MsiManager) - CDISMProviderStore::Internal_DisconnectProvider
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=1000 Disconnecting Provider: MsiManager - CDISMProviderStore::Internal_DisconnectProvider
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=1000 Finalizing the servicing provider(IntlManager) - CDISMProviderStore::Internal_DisconnectProvider
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=1000 Disconnecting Provider: IntlManager - CDISMProviderStore::Internal_DisconnectProvider
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=1000 Found the PE Provider.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=1000 Finalizing the servicing provider(DriverManager) - CDISMProviderStore::Internal_DisconnectProvider
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=1000 Disconnecting Provider: DriverManager - CDISMProviderStore::Internal_DisconnectProvider
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=1000 Finalizing the servicing provider(DISM Unattend Manager) - CDISMProviderStore::Internal_DisconnectProvider
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=1000 Disconnecting Provider: DISM Unattend Manager - CDISMProviderStore::Internal_DisconnectProvider
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=1000 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=1000 Finalizing the servicing provider(SmiManager) - CDISMProviderStore::Internal_DisconnectProvider
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=1000 Disconnecting Provider: SmiManager - CDISMProviderStore::Internal_DisconnectProvider
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=1000 Finalizing the servicing provider(Edition Manager) - CDISMProviderStore::Internal_DisconnectProvider
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=1000 Disconnecting Provider: Edition Manager - CDISMProviderStore::Internal_DisconnectProvider
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=1000 Releasing the local reference to OSServices. - CDISMProviderStore::Internal_DisconnectProvider
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=1000 Disconnecting Provider: OSServices - CDISMProviderStore::Internal_DisconnectProvider
2018-04-12 11:02:17, Info                  DISM   DISM OS Provider: PID=1000 Successfully unloaded all registry hives. - CDISMOSServiceManager::Final_OnDisconnect
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=1000 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
2018-04-12 11:02:17, Info                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.
2018-04-12 11:02:17, Info                  DISM   DISM.EXE: 
2018-04-12 11:02:17, Info                  DISM   DISM.EXE: <----- Ending Dism.exe session ----->
2018-04-12 11:02:17, Info                  DISM   DISM.EXE: 
2018-04-12 11:02:17, Info                  DISM   DISM Image Session: PID=964 Disconnecting the provider store - CDISMImageSession::Final_OnDisconnect
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=964 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=964 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=964 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider
2018-04-12 11:02:17, Info                  DISM   DISM Provider Store: PID=964 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider

Thanks!
 
It still says

"Beginning system scan. This process will take some time. There is a system repair pending which requires reboot to complete. Restart Windows and run sfc again."
 
It does, okay. Thanks. We're going to rename the Pending.xml and see what happens. Please do the following. Note: The computer will reboot after the fix.

FRST Fix
NOTICE: This script was written specifically for this user, for use on that particular machine. Running this on another machine may cause damage to your operating system
1. Download attached file and save it to the Desktop.
2. Download Farbar Recovery Scan Tool from this link.
Note. It's important that both files, FRST64 and fixlist.txt are in the same location or the fix will not work (in this case...the desktop).
3. Run FRST64 by Right-Clicking on the file and choosing Run as administrator.
4. Press the Fix button just once and wait. If for some reason the tool needs a restart, please make sure you let the system restart normally. After that let the tool complete its run.
5. When finished FRST64 will generate a log on the Desktop (Fixlog.txt). Please post the contents of it in your reply.
 

Attachments

Last edited:
Code:
Fix result of Farbar Recovery Scan Tool (x64) Version: 14.03.2018Ran by administrator (12-04-2018 11:30:06) Run:1
Running from C:\Users\
Loaded Profiles: administrator
Boot Mode: Normal
==============================================


fixlist content:
*****************
move: c:\windows\winsxs\pending.xml c:\windows\winsxs\pending.xml.old
Reboot:
*****************


"c:\windows\winsxs\pending.xml" Could not move to c:\windows\winsxs\pending.xml.old




The system needed a reboot.


==== End of Fixlog 11:30:06 ====

Thanks
 
I'm unable to rename it as I require permission from SYSTEM. I cannot change or add any permissions to this file nor parent folder.
 
OK, do the following:

Run Windows Repairs


  1. Download Windows Repair (All-in-One) Portable to your desktop.
  2. Once the file is downloaded, right-click on the file on your desktop and choose Extract All...
  3. Keep the defaults and click the Extract button.
  4. A folder named tweaking.com_windows_repair_aio will be extracted to the desktop. Once the extraction is complete the folder will open.
  5. Inside this folder, there is a folder named Tweaking.com - Windows Repair. Open this folder as well.
  6. Double-click on Repair_Windows.exe to open. Note: Please make sure all of your programs are closed and anything you were working on is saved as we will be rebooting.
  7. When the program opens, click the Reboot to Safe Mode button at the bottom of the screen. Answer Yes to allow.
  8. Once rebooted into Safe Mode, open the program again. When the program opens, click the Repairs tab and click the Open Repairs button.
  9. A backup of your registry will be made. After a few moments you will have many options from which you can choose.
  10. Please click the Unselect All button and then click to enable only the following ones:

    16 - Repair Windows Updates
  11. Ensure the Restart check box is selected and click the Start Repairs button in the lower right of the screen. This may take some time to run so be patient.
  12. Once the fixes are complete you will be prompted to restart your machine. Answer Yes.
  13. Once the system bots, run SFC and let me know if it got past the message.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top