• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
Sign in to follow this  
Followers 0
SplinteredEdge

Windows 8 DISM Script Attached! Issue with Clean-Image after Servi

13 posts in this topic

I had some questions for the community. MFSN is one of my favorite sources for this kind of content so I'm sure my question should be at home here. I have attached my very recently written PowerShell script using DISM to service an Offline Windows 8 Pro Image using the 64-Bit DISM found in the new Microsoft Windows 8 ADK.

Most things *seem* to working correctly with the script however I cannot run the DISM Cleanup function on the modified offline image after servicing the image. I used Install_WIM_Tweak to unhide specific packages to avoid issues with any unremoved packages. I wonder if there might be an issue with the cleanup command after running INSTALL_WIM_TWEAK. Any Suggestions as to how to get cleanup command to work properly? I

PowerShell Dism Script attached at the bottom of this post.

The Script has a few simple Steps:

1.] Mount the Install.wim = SUCCESS

2.] Enables NET3 Feature = SUCCESS

3.] Unhide Specific Packages with INSTALL_WIM_TWEAK = SUCCESS

3.] Remove Specific APPx Apps = SUCCESS

5.] Remove Specific Features = SUCCESS

6.] Remove Specific Packages = SUCCESS

7.] UnMount and Commit the WIM = SUCCESS

8.] Remount and Cleanup the image [/Cleanup-Image /StartComponentCleanup] = FAILED

DISM OUTPUT [showing Output from cleanup command]

PS> Z:\WIN8TOOLS\DISM\DISM.EXE /Image:$DIRMOUNT /ScratchDir:$DIRSCRATCH /English /Cleanup-Image /StartComponentCleanup
Deployment Image Servicing and Management tool
Version: 6.2.9200.16384

Image Version: 6.2.9200.16384

[===== 10.0% ]

Error: 0x800f0806

DISM failed. No operation was performed. For more information, review the log file.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

DISM LOG [showing log from cleanup command]

2012-11-23 00:43:37, Info                  DISM   DISM.EXE: <----- Starting Dism.exe session ----->
2012-11-23 00:43:37, Info DISM DISM.EXE:
2012-11-23 00:43:37, Info DISM DISM.EXE: Host machine information: OS Version=6.1.7601, Running architecture=amd64, Number of processors=2
2012-11-23 00:43:37, Info DISM DISM.EXE: Dism.exe version: 6.2.9200.16384
2012-11-23 00:43:37, Info DISM DISM.EXE: Executing command line: "Z:\WIN8TOOLS\DISM\DISM.EXE" /Image:Y:\MOUNT /Cleanup-Image /StartComponentCleanup
2012-11-23 00:43:37, Info DISM DISM Provider Store: PID=1396 TID=476 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2012-11-23 00:43:37, Info DISM DISM Provider Store: PID=1396 TID=476 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:37, Info DISM DISM Provider Store: PID=1396 TID=476 Loading Provider from location Z:\WIN8TOOLS\DISM\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:37, Info DISM DISM Provider Store: PID=1396 TID=476 Connecting to the provider located at Z:\WIN8TOOLS\DISM\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:37, Info DISM DISM Provider Store: PID=1396 TID=476 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:37, Info DISM DISM Provider Store: PID=1396 TID=476 Loading Provider from location Z:\WIN8TOOLS\DISM\WimProvider.dll - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:37, Info DISM DISM Provider Store: PID=1396 TID=476 Connecting to the provider located at Z:\WIN8TOOLS\DISM\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:37, Info DISM DISM Provider Store: PID=1396 TID=476 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:37, Info DISM DISM Provider Store: PID=1396 TID=476 Loading Provider from location Z:\WIN8TOOLS\DISM\VHDProvider.dll - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:37, Info DISM DISM Provider Store: PID=1396 TID=476 Connecting to the provider located at Z:\WIN8TOOLS\DISM\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:37, Info DISM DISM Provider Store: PID=1396 TID=476 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:37, Info DISM DISM Provider Store: PID=1396 TID=476 Loading Provider from location Z:\WIN8TOOLS\DISM\ImagingProvider.dll - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:37, Info DISM DISM Provider Store: PID=1396 TID=476 Connecting to the provider located at Z:\WIN8TOOLS\DISM\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:37, Info DISM DISM Provider Store: PID=1396 TID=476 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:37, Info DISM DISM Provider Store: PID=1396 TID=476 Loading Provider from location Z:\WIN8TOOLS\DISM\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:37, Info DISM DISM Provider Store: PID=1396 TID=476 Connecting to the provider located at Z:\WIN8TOOLS\DISM\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:37, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2012-11-23 00:43:37, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2012-11-23 00:43:37, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager
2012-11-23 00:43:37, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager
2012-11-23 00:43:37, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.
2012-11-23 00:43:37, Info DISM DISM.EXE: Attempting to add the commands from provider: VHDManager
2012-11-23 00:43:37, Info DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
2012-11-23 00:43:37, Info DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
2012-11-23 00:43:37, Info DISM DISM.EXE: Attempting to add the commands from provider: Compatibility Manager
2012-11-23 00:43:37, Info DISM DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.
2012-11-23 00:43:37, Info DISM DISM Provider Store: PID=1396 TID=476 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
[1396] ImageUnmarshallHandle: Reconstituting wim at Z:\WIN8\SOURCES\INSTALL2.WIM.
[1396] ImageUnmarshallHandle: Reconstituting wim at Z:\WIN8\SOURCES\INSTALL2.WIM.
2012-11-23 00:43:38, Info DISM DISM Manager: PID=1396 TID=476 physical location path: Y:\MOUNT - CDISMManager::CreateImageSession
2012-11-23 00:43:38, Info DISM DISM Manager: PID=1396 TID=476 Copying DISM from "Y:\MOUNT\Windows\System32\Dism" - CDISMManager::CreateImageSessionFromLocation
2012-11-23 00:43:38, Info DISM DISM Manager: PID=1396 TID=476 Successfully loaded the ImageSession at "C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8" - CDISMManager::LoadRemoteImageSession
2012-11-23 00:43:38, Info DISM DISM Image Session: PID=1748 TID=2252 Instantiating the Provider Store. - CDISMImageSession::get_ProviderStore
2012-11-23 00:43:38, Info DISM DISM Provider Store: PID=1748 TID=2252 Initializing a provider store for the IMAGE session type. - CDISMProviderStore::Final_OnConnect
2012-11-23 00:43:38, Info DISM DISM Provider Store: PID=1748 TID=2252 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:38, Info DISM DISM Provider Store: PID=1748 TID=2252 Loading Provider from location C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\OSProvider.dll - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:38, Info DISM DISM Provider Store: PID=1748 TID=2252 Connecting to the provider located at C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\OSProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:38, Info DISM DISM OS Provider: PID=1748 TID=2252 Defaulting SystemPath to Y:\MOUNT - CDISMOSServiceManager::Final_OnConnect
2012-11-23 00:43:38, Info DISM DISM OS Provider: PID=1748 TID=2252 Defaulting Windows folder to Y:\MOUNT\Windows - CDISMOSServiceManager::Final_OnConnect
2012-11-23 00:43:40, Info DISM DISM Provider Store: PID=1748 TID=2252 Attempting to initialize the logger from the Image Session. - CDISMProviderStore::Final_OnConnect
2012-11-23 00:43:40, Info DISM DISM Provider Store: PID=1748 TID=2252 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:40, Info DISM DISM Provider Store: PID=1748 TID=2252 Loading Provider from location C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\LogProvider.dll - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:40, Info DISM DISM Provider Store: PID=1748 TID=2252 Connecting to the provider located at C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\LogProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:40, Info DISM DISM Provider Store: PID=1748 TID=2252 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2012-11-23 00:43:40, Info DISM DISM Provider Store: PID=1748 TID=2252 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:40, Info DISM DISM Provider Store: PID=1748 TID=2252 Loading Provider from location C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\PEProvider.dll - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:40, Warning DISM DISM Provider Store: PID=1748 TID=2252 Failed to Load the provider: C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\PEProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2012-11-23 00:43:40, Info DISM DISM Provider Store: PID=1748 TID=2252 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
2012-11-23 00:43:40, Info DISM DISM Provider Store: PID=1748 TID=2252 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
2012-11-23 00:43:40, Info DISM DISM Provider Store: PID=1748 TID=2252 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
2012-11-23 00:43:40, Info DISM DISM Provider Store: PID=1748 TID=2252 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:40, Info DISM DISM Manager: PID=1396 TID=476 Image session successfully loaded from the temporary location: C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8 - CDISMManager::CreateImageSession
2012-11-23 00:43:40, Info DISM DISM Provider Store: PID=1748 TID=2252 Getting Provider OSServices - CDISMProviderStore::GetProvider
2012-11-23 00:43:40, Info DISM DISM Provider Store: PID=1748 TID=2252 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:40, Info DISM DISM OS Provider: PID=1748 TID=2252 Setting SystemPath to Y:\MOUNT - CDISMOSServiceManager::SetSystemPath
2012-11-23 00:43:40, Info DISM DISM.EXE: Target image information: OS Version=6.2.9200.16384, Image architecture=amd64
2012-11-23 00:43:40, Info DISM DISM Provider Store: PID=1748 TID=2252 Getting the collection of providers from an image provider store type. - CDISMProviderStore::GetProviderCollection
2012-11-23 00:43:40, Info DISM DISM Provider Store: PID=1748 TID=2252 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:40, Info DISM DISM Provider Store: PID=1748 TID=2252 Loading Provider from location C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\CbsProvider.dll - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:40, Info DISM DISM Provider Store: PID=1748 TID=2252 Connecting to the provider located at C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\CbsProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:40, Info DISM DISM Provider Store: PID=1748 TID=2252 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:40, Info DISM DISM Package Manager: PID=1748 TID=2252 Finished initializing the CbsConUI Handler. - CCbsConUIHandler::Initialize
2012-11-23 00:43:40, Info CBS Universal Time is: 2012-11-23 05:43:40.318
2012-11-23 00:43:40, Info CBS Failed to find a matching version for servicing stack: Y:\MOUNT\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.2.9200.16384_none_622908ad510eb05b\ [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2012-11-23 00:43:40, Info CBS Failed to find servicing stack directory in online store. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2012-11-23 00:43:40, Info CBS Must be doing offline servicing, using stack version from: Y:\MOUNT\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.2.9200.16384_none_622908ad510eb05b\cbscore.dll
2012-11-23 00:43:40, Info CBS Loaded Servicing Stack v6.2.9200.16384 with Core: Y:\MOUNT\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.2.9200.16384_none_622908ad510eb05b\cbscore.dll
2012-11-23 00:43:40, Info CSI 00000001@2012/11/23:05:43:40.333 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7fee40d5375 @0x7fee446885e @0x7fee44240cc @0x7fee454e814 @0x7fee454ea09 @0x7fee451bfc6)
2012-11-23 00:43:40, Info CBS Could not load SrClient DLL from path: SrClient.dll. Continuing without system restore points.
2012-11-23 00:43:40, Info CSI 00000002@2012/11/23:05:43:40.334 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7fee40d5375 @0x7fee44c2b70 @0x7fee4486031 @0x7fee442423f @0x7fee454e814 @0x7fee454ea09)
2012-11-23 00:43:40, Info CBS Failed to get key for store object type: 1 [HRESULT = 0x80070005 - E_ACCESSDENIED]
2012-11-23 00:43:40, Info CBS SQM: Failed to get root store object. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2012-11-23 00:43:40, Info CBS Failed to send SQM report on scavenging starvation. Continuing... [HRESULT = 0x80070005 - E_ACCESSDENIED]
2012-11-23 00:43:40, Info DISM DISM Package Manager: PID=1748 TID=2252 Loaded servicing stack for offline use only. - CDISMPackageManager::RefreshInstanceAndLock
2012-11-23 00:43:40, Info CBS Loading offline registry hive: SOFTWARE, into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}Y:/MOUNT/Windows/System32/config/SOFTWARE' from path '\\?\Y:\MOUNT\Windows\System32\config\SOFTWARE'.
2012-11-23 00:43:40, Info CBS Loading offline registry hive: SYSTEM, into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}Y:/MOUNT/Windows/System32/config/SYSTEM' from path '\\?\Y:\MOUNT\Windows\System32\config\SYSTEM'.
2012-11-23 00:43:40, Info CBS Loading offline registry hive: SECURITY, into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}Y:/MOUNT/Windows/System32/config/SECURITY' from path '\\?\Y:\MOUNT\Windows\System32\config\SECURITY'.
2012-11-23 00:43:40, Info CBS Loading offline registry hive: SAM, into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}Y:/MOUNT/Windows/System32/config/SAM' from path '\\?\Y:\MOUNT\Windows\System32\config\SAM'.
2012-11-23 00:43:40, Info CBS Loading offline registry hive: COMPONENTS, into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}Y:/MOUNT/Windows/System32/config/COMPONENTS' from path '\\?\Y:\MOUNT\Windows\System32\config\COMPONENTS'.
2012-11-23 00:43:40, Info CBS Loading offline registry hive: DEFAULT, into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}Y:/MOUNT/Windows/System32/config/DEFAULT' from path '\\?\Y:\MOUNT\Windows\System32\config\DEFAULT'.
2012-11-23 00:43:40, Info CBS Loading offline registry hive: ntuser.dat, into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}Y:/MOUNT/Users/default/ntuser.dat' from path '\\?\Y:\MOUNT\Users\default\ntuser.dat'.
2012-11-23 00:43:40, Info CBS Loading offline registry hive: schema.dat, into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}Y:/MOUNT/Windows/system32/smi/store/Machine/schema.dat' from path '\\?\Y:\MOUNT\Windows\system32\smi\store\Machine\schema.dat'.
2012-11-23 00:43:41, Info CBS Offline image is: writeable
2012-11-23 00:43:41, Info CSI 00000003 CSI Store 3640912 (0x0000000000378e50) initialized
2012-11-23 00:43:41, Info CBS Session: 1748_40404750 initialized by client DISM Package Manager Provider.
2012-11-23 00:43:41, Info DISM DISM Package Manager: PID=1748 TID=2252 Loaded servicing stack for offline use only. - CDISMPackageManager::RefreshInstanceAndLock
2012-11-23 00:43:41, Info DISM DISM Package Manager: PID=1748 TID=2252 Loaded servicing stack for online use only. - CDISMPackageManager::RefreshInstanceAndLock
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Loading Provider from location C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\MsiProvider.dll - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Connecting to the provider located at C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\MsiProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Loading Provider from location C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\IntlProvider.dll - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Connecting to the provider located at C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\IntlProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Loading Provider from location C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\IBSProvider.dll - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Connecting to the provider located at C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\IBSProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Loading Provider from location C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\DmiProvider.dll - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Connecting to the provider located at C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\DmiProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:41, Info CSI 00000001 Shim considered [l:268{134}]"\??\Y:\MOUNT\Windows\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.2.9200.16384_none_622908ad510eb05b\pkgmgr.exe" : got STATUS_OBJECT_PATH_NOT_FOUND
2012-11-23 00:43:41, Info CSI 00000002 Shim considered [l:262{131}]"\??\Y:\MOUNT\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.2.9200.16384_none_622908ad510eb05b\pkgmgr.exe" : got STATUS_SUCCESS
2012-11-23 00:43:41, Info DISM DISM OS Provider: PID=1748 TID=2252 Get the registry path to the SOFTWARE hive located at Y:\MOUNT\Windows\system32\config\SOFTWARE and determine if it is loaded. - CDISMOSServiceManager::DetermineBootDrive
2012-11-23 00:43:41, Info DISM DISM Driver Manager: PID=1748 TID=2252 Further logs for driver related operations can be found in the target operating system at %WINDIR%\inf\setupapi.offline.log - CDriverManager::Initialize
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Loading Provider from location C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\UnattendProvider.dll - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Connecting to the provider located at C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\UnattendProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Loading Provider from location C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\Wow64provider.dll - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:41, Warning DISM DISM Provider Store: PID=1748 TID=2252 Failed to get the IDismObject Interface - CDISMProviderStore::Internal_LoadProvider(hr:0x80004002)
2012-11-23 00:43:41, Warning DISM DISM Provider Store: PID=1748 TID=2252 Failed to Load the provider: C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\Wow64provider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x80004002)
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Loading Provider from location C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\SmiProvider.dll - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Connecting to the provider located at C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\SmiProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Loading Provider from location C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\EmbeddedProvider.dll - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:41, Warning DISM DISM Provider Store: PID=1748 TID=2252 Failed to Load the provider: C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\EmbeddedProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Loading Provider from location C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\AppxProvider.dll - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Connecting to the provider located at C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\AppxProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Loading Provider from location C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\AssocProvider.dll - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Connecting to the provider located at C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\AssocProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Loading Provider from location C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\TransmogProvider.dll - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Connecting to the provider located at C:\Users\Jinx\AppData\Local\Temp\D6CD82AD-9809-45DA-9C25-BA6CF5154DE8\TransmogProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2012-11-23 00:43:41, Info DISM DISM Transmog Provider: PID=1748 TID=2252 Current image session is [OFFLINE] - CTransmogManager::GetMode
2012-11-23 00:43:41, Info DISM DISM Transmog Provider: PID=1748 TID=2252 Determined WinDir path = [Y:\MOUNT\Windows] - CTransmogManager::GetWinDirPath
2012-11-23 00:43:41, Info DISM DISM Transmog Provider: PID=1748 TID=2252 GetProductType: ProductType = [WinNT] - CTransmogManager::GetProductType
2012-11-23 00:43:41, Info DISM DISM Transmog Provider: PID=1748 TID=2252 Product Type: [WinNT] - CTransmogManager::Initialize
2012-11-23 00:43:41, Info DISM DISM Transmog Provider: PID=1748 TID=2252 Product Type ServerNT : [No] - CTransmogManager::Initialize
2012-11-23 00:43:41, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2012-11-23 00:43:41, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2012-11-23 00:43:41, Info DISM DISM.EXE: Attempting to add the commands from provider: OSServices
2012-11-23 00:43:41, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Package Manager
2012-11-23 00:43:41, Info DISM DISM.EXE: Succesfully registered commands for the provider: DISM Package Manager.
2012-11-23 00:43:41, Info DISM DISM.EXE: Attempting to add the commands from provider: MsiManager
2012-11-23 00:43:41, Info DISM DISM.EXE: Succesfully registered commands for the provider: MsiManager.
2012-11-23 00:43:41, Info DISM DISM.EXE: Attempting to add the commands from provider: IntlManager
2012-11-23 00:43:41, Info DISM DISM.EXE: Succesfully registered commands for the provider: IntlManager.
2012-11-23 00:43:41, Info DISM DISM.EXE: Attempting to add the commands from provider: IBSManager
2012-11-23 00:43:41, Info DISM DISM.EXE: Attempting to add the commands from provider: DriverManager
2012-11-23 00:43:41, Info DISM DISM.EXE: Succesfully registered commands for the provider: DriverManager.
2012-11-23 00:43:41, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Unattend Manager
2012-11-23 00:43:41, Info DISM DISM.EXE: Succesfully registered commands for the provider: DISM Unattend Manager.
2012-11-23 00:43:41, Info DISM DISM.EXE: Attempting to add the commands from provider: SmiManager
2012-11-23 00:43:41, Info DISM DISM.EXE: Attempting to add the commands from provider: AppxManager
2012-11-23 00:43:41, Info DISM DISM.EXE: Succesfully registered commands for the provider: AppxManager.
2012-11-23 00:43:41, Info DISM DISM.EXE: Attempting to add the commands from provider: AssocManager
2012-11-23 00:43:41, Info DISM DISM.EXE: Succesfully registered commands for the provider: AssocManager.
2012-11-23 00:43:41, Info DISM DISM.EXE: Attempting to add the commands from provider: Edition Manager
2012-11-23 00:43:41, Info DISM DISM.EXE: Succesfully registered commands for the provider: Edition Manager.
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Getting Provider DISM Package Manager - CDISMProviderStore::GetProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
2012-11-23 00:43:41, Info DISM DISM Package Manager: PID=1748 TID=2252 Processing the top level command token(cleanup-image). - CPackageManagerCLIHandler::Private_ValidateCmdLine
2012-11-23 00:43:41, Info DISM DISM Package Manager: PID=1748 TID=2252 Attempting to route to appropriate command handler. - CPackageManagerCLIHandler::ExecuteCmdLine
2012-11-23 00:43:41, Info DISM DISM Package Manager: PID=1748 TID=2252 Routing the command... - CPackageManagerCLIHandler::ExecuteCmdLine
2012-11-23 00:43:41, Info DISM DISM Package Manager: PID=1748 TID=2252 CBS session options=0x402000! - CDISMPackageManager::Internal_Finalize
2012-11-23 00:43:41, Info CBS No call is made on InitiateChanges, Synchronous Cleanup only.
2012-11-23 00:43:41, Info CBS Starting Synchronous Cleanup
2012-11-23 00:43:41, Info CBS Synchronous Cleanup not started since Reboot is required
2012-11-23 00:43:41, Info DISM DISM Package Manager: PID=1748 TID=1368 Error in operation: the operation could not be complete due to locked resources. (CBS HRESULT=0x800f0806) - CCbsConUIHandler::Error
2012-11-23 00:43:41, Info CBS Cleanup: Processing complete. Session: 1748_40404750 [HRESULT = 0x800f0806 - CBS_E_PENDING]
2012-11-23 00:43:41, Error CBS Session: 1748_40404750 failed to perform Synchronous Cleanup operation [HRESULT = 0x800f0806 - CBS_E_PENDING]
2012-11-23 00:43:41, Info CBS Session: 1748_40404750 finalized. Reboot required: no [HRESULT = 0x800f0806 - CBS_E_PENDING]
2012-11-23 00:43:41, Error DISM DISM Package Manager: PID=1748 TID=2252 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f0806)
2012-11-23 00:43:41, Info CBS Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}Y:/MOUNT/Windows/System32/config/SOFTWARE
2012-11-23 00:43:41, Info CBS Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}Y:/MOUNT/Windows/System32/config/SOFTWARE, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2012-11-23 00:43:41, Info CBS Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}Y:/MOUNT/Windows/System32/config/SYSTEM
2012-11-23 00:43:41, Info CBS Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}Y:/MOUNT/Windows/System32/config/SYSTEM, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2012-11-23 00:43:41, Info CBS Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}Y:/MOUNT/Windows/System32/config/SECURITY
2012-11-23 00:43:41, Info CBS Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}Y:/MOUNT/Windows/System32/config/SECURITY, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2012-11-23 00:43:41, Info CBS Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}Y:/MOUNT/Windows/System32/config/SAM
2012-11-23 00:43:41, Info CBS Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}Y:/MOUNT/Windows/System32/config/SAM, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2012-11-23 00:43:41, Info CBS Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}Y:/MOUNT/Windows/System32/config/COMPONENTS
2012-11-23 00:43:41, Info CBS Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}Y:/MOUNT/Windows/System32/config/COMPONENTS, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2012-11-23 00:43:41, Info CBS Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}Y:/MOUNT/Windows/System32/config/DEFAULT
2012-11-23 00:43:41, Info CBS Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}Y:/MOUNT/Windows/System32/config/DEFAULT, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2012-11-23 00:43:41, Info CBS Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}Y:/MOUNT/Users/default/ntuser.dat
2012-11-23 00:43:41, Info CBS Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}Y:/MOUNT/Users/default/ntuser.dat, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2012-11-23 00:43:41, Info CBS Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}Y:/MOUNT/Windows/system32/smi/store/Machine/schema.dat
2012-11-23 00:43:41, Error DISM DISM Package Manager: PID=1748 TID=2252 Failed processing package changes - CDISMPackageManager::StartComponentCleanup(hr:0x800f0806)
2012-11-23 00:43:41, Error DISM DISM Package Manager: PID=1748 TID=2252 Failed to start component cleanup. - CPackageManagerCLIHandler::ProcessCmdLine_CleanupImage(hr:0x800f0806)
2012-11-23 00:43:41, Error DISM DISM Package Manager: PID=1748 TID=2252 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f0806)
2012-11-23 00:43:41, Error DISM DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=800F0806
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Found the PE Provider. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Finalizing the servicing provider(DISM Package Manager) - CDISMProviderStore::Internal_DisconnectProvider
2012-11-23 00:43:41, Info DISM DISM Package Manager: PID=1748 TID=2252 Finalizing CBS core. - CDISMPackageManager::Finalize
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Disconnecting Provider: DISM Package Manager - CDISMProviderStore::Internal_DisconnectProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Finalizing the servicing provider(MsiManager) - CDISMProviderStore::Internal_DisconnectProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Disconnecting Provider: MsiManager - CDISMProviderStore::Internal_DisconnectProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Finalizing the servicing provider(IntlManager) - CDISMProviderStore::Internal_DisconnectProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Disconnecting Provider: IntlManager - CDISMProviderStore::Internal_DisconnectProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Finalizing the servicing provider(IBSManager) - CDISMProviderStore::Internal_DisconnectProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Disconnecting Provider: IBSManager - CDISMProviderStore::Internal_DisconnectProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Finalizing the servicing provider(DriverManager) - CDISMProviderStore::Internal_DisconnectProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Disconnecting Provider: DriverManager - CDISMProviderStore::Internal_DisconnectProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Finalizing the servicing provider(DISM Unattend Manager) - CDISMProviderStore::Internal_DisconnectProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Disconnecting Provider: DISM Unattend Manager - CDISMProviderStore::Internal_DisconnectProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Finalizing the servicing provider(SmiManager) - CDISMProviderStore::Internal_DisconnectProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Disconnecting Provider: SmiManager - CDISMProviderStore::Internal_DisconnectProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Finalizing the servicing provider(AppxManager) - CDISMProviderStore::Internal_DisconnectProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Disconnecting Provider: AppxManager - CDISMProviderStore::Internal_DisconnectProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Finalizing the servicing provider(AssocManager) - CDISMProviderStore::Internal_DisconnectProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Disconnecting Provider: AssocManager - CDISMProviderStore::Internal_DisconnectProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Finalizing the servicing provider(Edition Manager) - CDISMProviderStore::Internal_DisconnectProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Disconnecting Provider: Edition Manager - CDISMProviderStore::Internal_DisconnectProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Releasing the local reference to OSServices. - CDISMProviderStore::Internal_DisconnectProvider
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Disconnecting Provider: OSServices - CDISMProviderStore::Internal_DisconnectProvider
2012-11-23 00:43:41, Info DISM DISM OS Provider: PID=1748 TID=2252 Successfully unloaded all registry hives. - CDISMOSServiceManager::Final_OnDisconnect
2012-11-23 00:43:41, Info DISM DISM Provider Store: PID=1748 TID=2252 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
2012-11-23 00:43:41, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.
2012-11-23 00:43:41, Info DISM DISM.EXE:
2012-11-23 00:43:41, Info DISM DISM.EXE: <----- Ending Dism.exe session ----->

WIN8-DISM.PS1.TXT

0

Share this post


Link to post
Share on other sites

Err 0x800f0806 = pending operation. The cleanup only works for Images (online or offline) which have NO pending operation.

C:\Users\Andre>err 0x800f0806

# for hex 0x800f0806 / decimal -2146498554

CBS_E_PENDING cbsapi.h

# the operation could not be complete due to locked resources

# 1 matches found for "0x800f0806"

0

Share this post


Link to post
Share on other sites

Thanks for the reply. I was thinking it might be a locked resources or something pending however I'm not sure yet how to resolve. it looks like my script is attempting the cleanup before committing changes to wim. I will reverse that order and try again.

Does anyone know if removing certain packages causes issues with the /cleanup ?

0

Share this post


Link to post
Share on other sites

I had a chance to retry the whole process. Time around I unmounted, committed and remounted the offline image before attempting the cleanup. unfortunately i'm still seeing the same error.

Does the registry changes from install_wim_tweak need to be undone after removing packages and before running the clean-up?

Could there be a package that was removed that could cause the cleanup to fail?

Does using /addpackage to add netfx3 create a pending package that might interfere with the cleanup?

Thanks for the feedback. I'm looking forward to seeing what anyone can come up with.


Write-Host ------------------------------------------------------------------------------------
Write-Host UNMOUNTING OFFLINE IMAGE AND COMMITING TO INSTALL2.WIM
Write-Host ------------------------------------------------------------------------------------

Z:\WIN8TOOLS\DISM\DISM.EXE /Unmount-WIM /MountDir:$DIRMOUNT /ScratchDir:$DIRSCRATCH /English /Commit

Write-Host ------------------------------------------------------------------------------------
Write-Host MOUNTING OFFLINE IMAGE FROM INSTALL2.WIM
Write-Host ------------------------------------------------------------------------------------

Z:\WIN8TOOLS\DISM\DISM.EXE /Mount-WIM /WIMFile:$WIMSTAGED /Index:1 /MountDir:$DIRMOUNT /ScratchDir:$DIRSCRATCH /English

Write-Host ------------------------------------------------------------------------------------
Write-Host CLEANING UP THE OFFLINE IMAGE
Write-Host ------------------------------------------------------------------------------------

Z:\WIN8TOOLS\DISM\DISM.EXE /Image:$DIRMOUNT /ScratchDir:$DIRSCRATCH /English /Cleanup-Image /StartComponentCleanup

------------------------------------------------------------------------------------
CLEANING UP THE OFFLINE IMAGE
------------------------------------------------------------------------------------

Deployment Image Servicing and Management tool
Version: 6.2.9200.16384

Image Version: 6.2.9200.16384


Error: 0x800f0806

DISM failed. No operation was performed.
For more information, review the log file.

Edited by SplinteredEdge
0

Share this post


Link to post
Share on other sites

you don't understand the point. After each steps look in WinSxS folder and look for a pending.xml. If this file appears you can no longer run the clean-up.

0

Share this post


Link to post
Share on other sites

So if he wanted to use cleanup on a build that had any operations still pending he would have to install the build in Audit mode, do the cleanup on that, then recapture the image? I might have the order of things wrong there, I've never done it before. Please don't quote me on this - I could be totally confused. :)

Cheers and Regards

Edited by bphlpt
0

Share this post


Link to post
Share on other sites

Thanks for the insight. I wasn't aware that there was a pending.xml in the sxs directory. it looks like i have something to learn about this audit mode as well. thank you both. i should be able to figure this out, lots to learn. anyone have a good script to use as an example?

EDIT: Watching for the pending.xml really cleared things up thanks.

Edited by SplinteredEdge
0

Share this post


Link to post
Share on other sites

I found that disabling and removing the following features in Windows 8 Pro x64 causes the creation of the pending.xml items and thus prevents the /clean-image command from completing:

I was using /remove-feature and the /remove options.

Microsoft-Windows-MobilePC-Client-Premium-Package-net

Microsoft-Windows-MobilePC-LocationProvider-INF

Xps-Foundation-Xps-Viewer

Printing-XPSServices-Features

RasCMAK

RasRip

Windows-Defender-Default-Definitions

TelnetServer

TFTP

WCF-Services45

WCF-HTTP-Activation

WCF-NonHTTP-Activation

WCF-TCP-PortSharing45

Thanks guys problem solved. TIL pending/xml components can be created when remove features.

0

Share this post


Link to post
Share on other sites

I'm sure you could remove those components after a clean-image command. There are quite a few actions that trigger the creation of the pending.xml so YMMV.

However as it turns out i'm not even sure what it does cleanup-image command does yet. It seems the popular answer is to install Windows 8 in Audit Mode and Recapture the Image to WIM which should clear out those pending items and the xml. I'd love to hear about a trick to process the pending.xml items without installing but it works pretty well anyway.

Cheers

Edited by SplinteredEdge
0

Share this post


Link to post
Share on other sites

Issue appears to be that some things require a boot for the pending.xml to process. Even enabling the .Net 3.5 framework (NetFx3) creates a pending.xml

Best bet is to find all the items that can be safely removed that don't make a pending.xml then run the cleanup so it removes then from winsxs then run the command with the items that create a pending.xml and make an install iso out of that. Upon first install boot it should process all those items however I am unsure of this.

Going through and making a safe list now for s***s and giggles

0

Share this post


Link to post
Share on other sites

However as it turns out i'm not even sure what it does cleanup-image command does yet.

it removes the files of features and updates you've uninstalled. In Vista/7 Windows does it when PC is idle for some time. With this command you can force the cleanup.

0

Share this post


Link to post
Share on other sites

Old post. I Encoutered the same issue when integrated updates offline with Windows 8.1 image. Search and find this post. However, I find you can use /PreventPending argument to prevent the pending.xml.

How to reclaim space after applying Windows 7/2008 R2 Service Pack 1
http://blogs.technet.com/b/joscon/archive/2011/02/15/how-to-reclaim-space-after-applying-service-pack-1.aspx

If you want to enable some features offline. use the command dism /Cleanup-Image /StartComponentCleanup before you enable the features.

Hope this is helpful for the coming!

Edited by quest221
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.