Hy, I need some help. I want to personalize one of your releases 181 windows image, but I can not extract the wim file from the swm files. I used win toolkit, but when I am extracting the wim file i get this error, and the process stops. Do you know other way to do this ? Thanks, and best regards for your work murphy78
Hmm, try admin prompt from the extracted-iso's sources\ folder: Code: for /l %x in (1,1,181) do ( dism /export-image /sourceimagefile:install.swm /swmfile:install*.swm /sourceindex:%x /destinationimagefile:install.wim /compress:max /checkintegrity ) You can just extract iso with winrar or whatever... Or just mount in win8+ and copy/paste the install*.swm files somewhere to work with. Else you will need to change the above code to extract to a specific directory and list the fully qualified filename with directory structure where the source and swmfiles are listed.
I extracted the swm files to my D drive, but now I get this error, i am using windows 8.1 x64 Code: 2014-07-12 06:58:18, Info DISM PID=5496 TID=4724 Scratch directory set to 'C:\Users\razvan\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir 2014-07-12 06:58:18, Info DISM PID=5496 TID=4724 DismCore.dll version: 6.3.9600.17031 - CDISMManager::FinalConstruct 2014-07-12 06:58:18, Info DISM PID=5496 TID=4724 Successfully loaded the ImageSession at "C:\Windows\System32\Dism" - CDISMManager::LoadLocalImageSession 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Manager: PID=5496 TID=4724 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM.EXE: 2014-07-12 06:58:18, Info DISM DISM.EXE: <----- Starting Dism.exe session -----> 2014-07-12 06:58:18, Info DISM DISM.EXE: 2014-07-12 06:58:18, Info DISM DISM.EXE: Host machine information: OS Version=6.3.9600, Running architecture=x86, Number of processors=8 2014-07-12 06:58:18, Info DISM DISM.EXE: Dism.exe version: 6.3.9600.17031 2014-07-12 06:58:18, Info DISM DISM.EXE: Executing command line: dism /export-image /sourceimagefile:install.swm /swmfile:install*.swm /sourceindex:1 /destinationimagefile:install.wim /compress:max /checkintegrity 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Loading Provider from location C:\Windows\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Connecting to the provider located at C:\Windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Loading Provider from location C:\Windows\System32\Dism\WimProvider.dll - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Connecting to the provider located at C:\Windows\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Loading Provider from location C:\Windows\System32\Dism\VHDProvider.dll - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Connecting to the provider located at C:\Windows\System32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Loading Provider from location C:\Windows\System32\Dism\ImagingProvider.dll - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Connecting to the provider located at C:\Windows\System32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Loading Provider from location C:\Windows\System32\Dism\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Connecting to the provider located at C:\Windows\System32\Dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2014-07-12 06:58:18, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table. 2014-07-12 06:58:18, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider 2014-07-12 06:58:18, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager 2014-07-12 06:58:18, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager 2014-07-12 06:58:18, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager. 2014-07-12 06:58:18, Info DISM DISM.EXE: Attempting to add the commands from provider: VHDManager 2014-07-12 06:58:18, Info DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager 2014-07-12 06:58:18, Info DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager. 2014-07-12 06:58:18, Info DISM DISM.EXE: Attempting to add the commands from provider: Compatibility Manager 2014-07-12 06:58:18, Info DISM DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager. 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Getting Provider WimManager - CDISMProviderStore::GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider [5496] [0x8144012d] 2014-07-12 06:58:18, Warning DISM DISM WIM Provider: PID=5496 [ReadWimHeader:(2268) -> version/header mismatch] D:\install8.swm (HRESULT=0x8007000B) - CWimManager::WimProviderMsgLogCallback [5496] [0xc144012e] 2014-07-12 06:58:18, Error DISM DISM WIM Provider: PID=5496 [WIMCreateFile:(415) -> Fail to read WIM header] D:\install8.swm (HRESULT=0x8007000B) - CWimManager::WimProviderMsgLogCallback 2014-07-12 06:58:18, Error DISM DISM WIM Provider: PID=5496 TID=4724 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:643 - CWimManager::ApplySWMPieces(hr:0x8007000b) 2014-07-12 06:58:18, Error DISM DISM WIM Provider: PID=5496 TID=4724 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:1450 - CWimManager::Export(hr:0x8007000b) 2014-07-12 06:58:18, Error DISM DISM WIM Provider: PID=5496 TID=4724 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:4862 - CWimManager::InternalCmdExport(hr:0x8007000b) 2014-07-12 06:58:18, Error DISM DISM WIM Provider: PID=5496 TID=4724 Error executing command - CWimManager::InternalExecuteCmd(hr:0x8007000b) 2014-07-12 06:58:18, Error DISM DISM WIM Provider: PID=5496 TID=4724 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2273 - CWimManager::ExecuteCmdLine(hr:0x8007000b) 2014-07-12 06:58:18, Error DISM DISM.EXE: WimManager processed the command line but failed. HRESULT=8007000B 2014-07-12 06:58:18, Info DISM DISM.EXE: Image session has been closed. Reboot required=no. 2014-07-12 06:58:18, Info DISM DISM.EXE: 2014-07-12 06:58:18, Info DISM DISM.EXE: <----- Ending Dism.exe session -----> 2014-07-12 06:58:18, Info DISM DISM.EXE: 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=5496 TID=4724 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider 2014-07-12 06:58:18, Info DISM PID=428 TID=5996 Scratch directory set to 'C:\Users\razvan\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir 2014-07-12 06:58:18, Info DISM PID=428 TID=5996 DismCore.dll version: 6.3.9600.17031 - CDISMManager::FinalConstruct 2014-07-12 06:58:18, Info DISM PID=428 TID=5996 Successfully loaded the ImageSession at "C:\Windows\System32\Dism" - CDISMManager::LoadLocalImageSession 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Manager: PID=428 TID=5996 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM.EXE: 2014-07-12 06:58:18, Info DISM DISM.EXE: <----- Starting Dism.exe session -----> 2014-07-12 06:58:18, Info DISM DISM.EXE: 2014-07-12 06:58:18, Info DISM DISM.EXE: Host machine information: OS Version=6.3.9600, Running architecture=x86, Number of processors=8 2014-07-12 06:58:18, Info DISM DISM.EXE: Dism.exe version: 6.3.9600.17031 2014-07-12 06:58:18, Info DISM DISM.EXE: Executing command line: dism /export-image /sourceimagefile:install.swm /swmfile:install*.swm /sourceindex:2 /destinationimagefile:install.wim /compress:max /checkintegrity 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Loading Provider from location C:\Windows\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Connecting to the provider located at C:\Windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Loading Provider from location C:\Windows\System32\Dism\WimProvider.dll - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Connecting to the provider located at C:\Windows\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Loading Provider from location C:\Windows\System32\Dism\VHDProvider.dll - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Connecting to the provider located at C:\Windows\System32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Loading Provider from location C:\Windows\System32\Dism\ImagingProvider.dll - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Connecting to the provider located at C:\Windows\System32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Loading Provider from location C:\Windows\System32\Dism\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Connecting to the provider located at C:\Windows\System32\Dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2014-07-12 06:58:18, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table. 2014-07-12 06:58:18, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider 2014-07-12 06:58:18, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager 2014-07-12 06:58:18, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager 2014-07-12 06:58:18, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager. 2014-07-12 06:58:18, Info DISM DISM.EXE: Attempting to add the commands from provider: VHDManager 2014-07-12 06:58:18, Info DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager 2014-07-12 06:58:18, Info DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager. 2014-07-12 06:58:18, Info DISM DISM.EXE: Attempting to add the commands from provider: Compatibility Manager 2014-07-12 06:58:18, Info DISM DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager. 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Getting Provider WimManager - CDISMProviderStore::GetProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider [428] [0x8144012d] 2014-07-12 06:58:18, Warning DISM DISM WIM Provider: PID=428 [ReadWimHeader:(2268) -> version/header mismatch] D:\install8.swm (HRESULT=0x8007000B) - CWimManager::WimProviderMsgLogCallback [428] [0xc144012e] 2014-07-12 06:58:18, Error DISM DISM WIM Provider: PID=428 [WIMCreateFile:(415) -> Fail to read WIM header] D:\install8.swm (HRESULT=0x8007000B) - CWimManager::WimProviderMsgLogCallback 2014-07-12 06:58:18, Error DISM DISM WIM Provider: PID=428 TID=5996 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:643 - CWimManager::ApplySWMPieces(hr:0x8007000b) 2014-07-12 06:58:18, Error DISM DISM WIM Provider: PID=428 TID=5996 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:1450 - CWimManager::Export(hr:0x8007000b) 2014-07-12 06:58:18, Error DISM DISM WIM Provider: PID=428 TID=5996 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:4862 - CWimManager::InternalCmdExport(hr:0x8007000b) 2014-07-12 06:58:18, Error DISM DISM WIM Provider: PID=428 TID=5996 Error executing command - CWimManager::InternalExecuteCmd(hr:0x8007000b) 2014-07-12 06:58:18, Error DISM DISM WIM Provider: PID=428 TID=5996 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2273 - CWimManager::ExecuteCmdLine(hr:0x8007000b) 2014-07-12 06:58:18, Error DISM DISM.EXE: WimManager processed the command line but failed. HRESULT=8007000B 2014-07-12 06:58:18, Info DISM DISM.EXE: Image session has been closed. Reboot required=no. 2014-07-12 06:58:18, Info DISM DISM.EXE: 2014-07-12 06:58:18, Info DISM DISM.EXE: <----- Ending Dism.exe session -----> 2014-07-12 06:58:18, Info DISM DISM.EXE: 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider 2014-07-12 06:58:18, Info DISM DISM Provider Store: PID=428 TID=5996 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider