none
Important: WinSxS improvements in Windows 8

    General discussion

  • You know that there are a lot of users with growing WinSxS folders (How to reduce the size of winsxs in windows 7 ultimate x64).

    In Windows 8 MS made a huge improvement which I've requested over years. You can now use DISM.exe and the Disc cleanup UI to remove updates which are replaced by newer ones (like newer IE updates). I've explained it here:

    http://www.msfn.org/board/topic/153742-dism-improvements-in-windows-8/page__st__60__p__1015509#entry1015509

    This saves you much space over the time!


    "A programmer is just a tool which converts caffeine into code"

    Sunday, October 28, 2012 12:17 PM
    Answerer

All replies

  • Hi,


    Thank you for your sharing.


    Kim Zhou

    TechNet Community Support

    Friday, November 2, 2012 9:47 AM
  • When I run the code in cmd with admin rights, I get this error:

    DISM failed. No operation was performed. For more information review the log file. It says:

    2012-12-17 13:18:47, Info                  DISM   DISM.EXE: 
    2012-12-17 13:18:48, Info                  DISM   DISM Provider Store: PID=5284 TID=4704 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
    2012-12-17 13:18:48, Info                  DISM   DISM Provider Store: PID=5284 TID=4704 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:18:48, Info                  DISM   DISM Provider Store: PID=5284 TID=4704 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:05, Info                  DISM   PID=7412 TID=5600 Scratch directory set to 'C:\Users\Riyaz\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
    2012-12-17 13:19:05, Info                  DISM   PID=7412 TID=5600 DismCore.dll version: 6.2.9200.16384 - CDISMManager::FinalConstruct
    2012-12-17 13:19:05, Info                  DISM   PID=7412 TID=5600 Successfully loaded the ImageSession at "C:\WINDOWS\System32\Dism" - CDISMManager::LoadLocalImageSession

    2012-12-17 13:19:05, Info                  DISM   DISM Provider Store: PID=7412 TID=5600 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
    2012-12-17 13:19:05, Info                  DISM   DISM Provider Store: PID=7412 TID=5600 Failed to get and initialize the PE Provider.  Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
    2012-12-17 13:19:05, Info                  DISM   DISM Provider Store: PID=7412 TID=5600 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
    2012-12-17 13:19:05, Info                  DISM   DISM Provider Store: PID=7412 TID=5600 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2012-12-17 13:19:05, Info                  DISM   DISM Provider Store: PID=7412 TID=5600 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:05, Info                  DISM   DISM Provider Store: PID=7412 TID=5600 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2012-12-17 13:19:05, Info                  DISM   DISM Provider Store: PID=7412 TID=5600 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:05, Info                  DISM   DISM Manager: PID=7412 TID=5600 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
    2012-12-17 13:19:05, Info                  DISM   DISM Provider Store: PID=7412 TID=5600 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2012-12-17 13:19:05, Info                  DISM   DISM Provider Store: PID=7412 TID=5600 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:05, Info                  DISM   DISM.EXE: 
    2012-12-17 13:19:05, Info                  DISM   DISM.EXE: <----- Starting Dism.exe session ----->
    2012-12-17 13:19:05, Info                  DISM   DISM.EXE: 
    2012-12-17 13:19:05, Info                  DISM   DISM.EXE: Host machine information: OS Version=6.2.9200, Running architecture=x86, Number of processors=2
    2012-12-17 13:19:05, Info                  DISM   DISM.EXE: Dism.exe version: 6.2.9200.16384
    2012-12-17 13:19:05, Info                  DISM   DISM.EXE: Executing command line: dism.exe  /online /cleanup-image /startcomponentcleanup
    2012-12-17 13:19:05, Info                  DISM   DISM Provider Store: PID=7412 TID=5600 Getting Provider FolderManager - CDISMProviderStore::GetProvider
    2012-12-17 13:19:05, Info                  DISM   DISM Provider Store: PID=7412 TID=5600 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:05, Info                  DISM   DISM Provider Store: PID=7412 TID=5600 Loading Provider from location C:\WINDOWS\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:05, Info                  DISM   DISM Provider Store: PID=7412 TID=5600 Connecting to the provider located at C:\WINDOWS\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2012-12-17 13:19:05, Info                  DISM   DISM Manager: PID=7412 TID=5600 physical location path: C:\ - CDISMManager::CreateImageSession
    2012-12-17 13:19:05, Info                  DISM   DISM Manager: PID=7412 TID=5600 Copying DISM from "C:\WINDOWS\System32\Dism" - CDISMManager::CreateImageSessionFromLocation
    2012-12-17 13:19:06, Info                  DISM   DISM Manager: PID=7412 TID=5600 Successfully loaded the ImageSession at "C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043" - CDISMManager::LoadRemoteImageSession
    2012-12-17 13:19:06, Info                  DISM   DISM Image Session: PID=6508 TID=2960 Instantiating the Provider Store. - CDISMImageSession::get_ProviderStore
    2012-12-17 13:19:06, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Initializing a provider store for the IMAGE session type. - CDISMProviderStore::Final_OnConnect
    2012-12-17 13:19:06, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:06, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Loading Provider from location C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\OSProvider.dll - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:06, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Connecting to the provider located at C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\OSProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2012-12-17 13:19:06, Info                  DISM   DISM OS Provider: PID=6508 TID=2960 Defaulting SystemPath to C:\ - CDISMOSServiceManager::Final_OnConnect
    2012-12-17 13:19:06, Info                  DISM   DISM OS Provider: PID=6508 TID=2960 Defaulting Windows folder to C:\Windows - CDISMOSServiceManager::Final_OnConnect
    2012-12-17 13:19:06, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Attempting to initialize the logger from the Image Session. - CDISMProviderStore::Final_OnConnect
    2012-12-17 13:19:06, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:06, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Loading Provider from location C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\LogProvider.dll - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:06, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Connecting to the provider located at C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\LogProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2012-12-17 13:19:06, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
    2012-12-17 13:19:06, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:06, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Loading Provider from location C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\PEProvider.dll - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:06, Warning               DISM   DISM Provider Store: PID=6508 TID=2960 Failed to Load the provider: C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\PEProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
    2012-12-17 13:19:06, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Failed to get and initialize the PE Provider.  Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
    2012-12-17 13:19:06, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
    2012-12-17 13:19:06, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2012-12-17 13:19:06, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:06, Info                  DISM   DISM Manager: PID=7412 TID=5600 Image session successfully loaded from the temporary location: C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043 - CDISMManager::CreateImageSession
    2012-12-17 13:19:06, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Getting Provider OSServices - CDISMProviderStore::GetProvider
    2012-12-17 13:19:06, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:06, Info                  DISM   DISM.EXE: Target image information: OS Version=6.2.9200.16455, Image architecture=x86
    2012-12-17 13:19:06, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Getting the collection of providers from an image provider store type. - CDISMProviderStore::GetProviderCollection
    2012-12-17 13:19:06, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:06, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Loading Provider from location C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\CbsProvider.dll - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:06, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Connecting to the provider located at C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\CbsProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2012-12-17 13:19:06, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Package Manager: PID=6508 TID=2960 Finished initializing the CbsConUI Handler. - CCbsConUIHandler::Initialize
    2012-12-17 13:19:07, Info                  DISM   DISM Package Manager: PID=6508 TID=2960 CBS is being initialized for online use. More information about CBS actions can be located at: %windir%\logs\cbs\cbs.log - CDISMPackageManager::Initialize
    2012-12-17 13:19:07, Info                  DISM   DISM Package Manager: PID=6508 TID=2960 Loaded servicing stack for online use only. - CDISMPackageManager::RefreshInstanceAndLock
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Loading Provider from location C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\MsiProvider.dll - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Connecting to the provider located at C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\MsiProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Loading Provider from location C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\IntlProvider.dll - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Connecting to the provider located at C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\IntlProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Loading Provider from location C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\IBSProvider.dll - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Connecting to the provider located at C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\IBSProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Loading Provider from location C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\DmiProvider.dll - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Connecting to the provider located at C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\DmiProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
    2012-12-17 13:19:07, Info                  DISM   DISM OS Provider: PID=6508 TID=2960 Successfully loaded the hive. - CDISMOSServiceManager::DetermineBootDrive
    2012-12-17 13:19:07, Info                  DISM   DISM Driver Manager: PID=6508 TID=2960 Further logs for driver related operations can be found in the target operating system at %WINDIR%\inf\setupapi.offline.log - CDriverManager::Initialize
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Loading Provider from location C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\UnattendProvider.dll - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Connecting to the provider located at C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\UnattendProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Loading Provider from location C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\Wow64provider.dll - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:07, Warning               DISM   DISM Provider Store: PID=6508 TID=2960 Failed to Load the provider: C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\Wow64provider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Loading Provider from location C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\SmiProvider.dll - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Connecting to the provider located at C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\SmiProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Loading Provider from location C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\EmbeddedProvider.dll - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:07, Warning               DISM   DISM Provider Store: PID=6508 TID=2960 Failed to Load the provider: C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\EmbeddedProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Loading Provider from location C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\AppxProvider.dll - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Connecting to the provider located at C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\AppxProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Loading Provider from location C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\AssocProvider.dll - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Connecting to the provider located at C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\AssocProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Loading Provider from location C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\TransmogProvider.dll - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Connecting to the provider located at C:\Users\Riyaz\AppData\Local\Temp\53CC45BB-E935-4ED8-A515-EEC65DFB7043\TransmogProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=2960 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Transmog Provider: PID=6508 TID=2960 Current image session is [ONLINE] - CTransmogManager::GetMode
    2012-12-17 13:19:07, Info                  DISM   DISM Transmog Provider: PID=6508 TID=2960 Audit Mode: [No] - CTransmogManager::Initialize
    2012-12-17 13:19:07, Info                  DISM   DISM Transmog Provider: PID=6508 TID=2960 GetProductType: ProductType = [WinNT] - CTransmogManager::GetProductType
    2012-12-17 13:19:07, Info                  DISM   DISM Transmog Provider: PID=6508 TID=2960 Product Type: [WinNT] - CTransmogManager::Initialize
    2012-12-17 13:19:07, Info                  DISM   DISM Transmog Provider: PID=6508 TID=2960 Product Type ServerNT : [No] - CTransmogManager::Initialize
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: OSServices
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Package Manager
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: DISM Package Manager.
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: MsiManager
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: MsiManager.
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: IntlManager
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: IntlManager.
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: IBSManager
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DriverManager
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: DriverManager.
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Unattend Manager
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: DISM Unattend Manager.
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: SmiManager
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: AppxManager
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: AppxManager.
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: AssocManager
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: AssocManager.
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: Edition Manager
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: Edition Manager.
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Getting Provider DISM Package Manager - CDISMProviderStore::GetProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Package Manager: PID=6508 TID=4552 Processing the top level command token(cleanup-image). - CPackageManagerCLIHandler::Private_ValidateCmdLine
    2012-12-17 13:19:07, Info                  DISM   DISM Package Manager: PID=6508 TID=4552 Attempting to route to appropriate command handler. - CPackageManagerCLIHandler::ExecuteCmdLine
    2012-12-17 13:19:07, Info                  DISM   DISM Package Manager: PID=6508 TID=4552 Routing the command... - CPackageManagerCLIHandler::ExecuteCmdLine
    2012-12-17 13:19:07, Info                  DISM   DISM Package Manager: PID=6508 TID=4552 CBS session options=0x402100! - CDISMPackageManager::Internal_Finalize
    2012-12-17 13:19:07, Info                  DISM   DISM Package Manager: PID=6508 TID=2960  Error in operation: the operation could not be complete due to locked resources. (CBS HRESULT=0x800f0806) - CCbsConUIHandler::Error
    2012-12-17 13:19:07, Error                 DISM   DISM Package Manager: PID=6508 TID=4552 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f0806)
    2012-12-17 13:19:07, Error                 DISM   DISM Package Manager: PID=6508 TID=4552 Failed processing package changes - CDISMPackageManager::StartComponentCleanup(hr:0x800f0806)
    2012-12-17 13:19:07, Error                 DISM   DISM Package Manager: PID=6508 TID=4552 Failed to start component cleanup. - CPackageManagerCLIHandler::ProcessCmdLine_CleanupImage(hr:0x800f0806)
    2012-12-17 13:19:07, Error                 DISM   DISM Package Manager: PID=6508 TID=4552 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f0806)
    2012-12-17 13:19:07, Info                  DISM   DISM Package Manager: PID=6508 TID=4552 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine
    2012-12-17 13:19:07, Error                 DISM   DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=800F0806
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Found the PE Provider.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Finalizing the servicing provider(DISM Package Manager) - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Package Manager: PID=6508 TID=4552 Finalizing CBS core. - CDISMPackageManager::Finalize
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Disconnecting Provider: DISM Package Manager - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Finalizing the servicing provider(MsiManager) - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Disconnecting Provider: MsiManager - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Finalizing the servicing provider(IntlManager) - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Disconnecting Provider: IntlManager - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Finalizing the servicing provider(IBSManager) - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Disconnecting Provider: IBSManager - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Finalizing the servicing provider(DriverManager) - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Disconnecting Provider: DriverManager - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Finalizing the servicing provider(DISM Unattend Manager) - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Disconnecting Provider: DISM Unattend Manager - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Finalizing the servicing provider(SmiManager) - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Disconnecting Provider: SmiManager - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Finalizing the servicing provider(AppxManager) - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Disconnecting Provider: AppxManager - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Finalizing the servicing provider(AssocManager) - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Disconnecting Provider: AssocManager - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Finalizing the servicing provider(Edition Manager) - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Disconnecting Provider: Edition Manager - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Releasing the local reference to OSServices. - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Disconnecting Provider: OSServices - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=6508 TID=4552 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: 
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: <----- Ending Dism.exe session ----->
    2012-12-17 13:19:07, Info                  DISM   DISM.EXE: 
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=7412 TID=5600 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=7412 TID=5600 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
    2012-12-17 13:19:07, Info                  DISM   DISM Provider Store: PID=7412 TID=5600 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider

    I don't know how to analyze this and resolve. Please help.

    Monday, December 17, 2012 7:51 AM
  • When I run the code in cmd with admin rights, I get this error:

    DISM failed. No operation was performed. For more information review the log file. It says:


    2012-12-17 13:19:07, Info                  DISM   DISM Package Manager: PID=6508 TID=2960  Error in operation: the operation could not be complete due to locked resources. (CBS HRESULT=0x800f0806) - CCbsConUIHandler::Error
    2012-12-17 13:19:07, Error                 DISM   DISM Package Manager: PID=6508 TID=4552 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f0806)
    2012-12-17 13:19:07, Error                 DISM   DISM Package Manager: PID=6508 TID=4552 Failed processing package changes - CDISMPackageManager::StartComponentCleanup(hr:0x800f0806)
    2012-12-17 13:19:07, Error                 DISM   DISM Package Manager: PID=6508 TID=4552 Failed to start component cleanup. - CPackageManagerCLIHandler::ProcessCmdLine_CleanupImage(hr:0x800f0806)
    2012-12-17 13:19:07, Error                 DISM   DISM Package Manager: PID=6508 TID=4552 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f0806)
    2012-12-17 13:19:07, Info                  DISM   DISM Package Manager: PID=6508 TID=4552 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine
    2012-12-17 13:19:07, Error                 DISM   DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=800F0806
    I don't know how to analyze this and resolve. Please help.

    The error 0x800F0806 = CBS_E_PENDING

    You can't use the command if there is reboot required.


    "A programmer is just a tool which converts caffeine into code"

    Monday, December 17, 2012 7:49 PM
    Answerer
  • When can we expect this component to be included in Windows 7 ? Constant updates and hotfixes bloats the winsxs folder to sizes that no SSD disk can support!

    Thursday, September 12, 2013 9:53 PM
  • When can we expect this component to be included in Windows 7 ?

    never. MS want to sell windows 8 and not to make Win7 even more better.

    "A programmer is just a tool which converts caffeine into code"

    Friday, September 13, 2013 5:25 AM
    Answerer
  • I have a complete article at winsxs-cleanup in which I explain the various methods to cleanup the WinSXS folder.

    ----------------------------------------------------------------------- 

    Lefteris Karafilis 
    MCSE, MCTS, SEC+ 
    LinkedIn: http://www.linkedin.com/in/lkarafilis 
    Mail: lefteris@karafilis.net 
    Blog: http://www.karafilis.net 

    Tuesday, October 15, 2013 12:41 PM
  • ok, MS now released an update to remove superseded updates under Windows 7:

    http://blogs.technet.com/b/askpfeplat/archive/2013/10/08/breaking-news-reduce-the-size-of-the-winsxs-directory-and-free-up-disk-space-with-a-new-update-for-windows-7-sp1-clients.aspx


    "A programmer is just a tool which converts caffeine into code"

    Tuesday, October 15, 2013 5:55 PM
    Answerer