Jump to content

using dism to merging .swm files into a .wim?

Guest

So I have been trying to merge .wsm files back into a .wim but I don't seem to have any luck with this.

 

Code Used:

DISM /Export-Image /SWMFile:H:\images\DETEW8X64*.swm /Sourceindex:*  /DestinationImageFile:C:\Users\Andrew\Downloads\MOE4.wim

Error Log:

2015-07-19 08:08:32, Info                  DISM   PID=6648 TID=1192 Scratch directory set to 'C:\Users\Andrew\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir2015-07-19 08:08:32, Info                  DISM   PID=6648 TID=1192 DismCore.dll version: 6.3.9600.17029 - CDISMManager::FinalConstruct2015-07-19 08:08:32, Info                  DISM   PID=6648 TID=1192 Successfully loaded the ImageSession at "C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\AMD64\DISM" - CDISMManager::LoadLocalImageSession2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Failed to get and initialize the PE Provider.  Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Getting Provider DISMLogger - CDISMProviderStore::GetProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Getting Provider DISMLogger - CDISMProviderStore::GetProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider2015-07-19 08:08:32, Info                  DISM   DISM Manager: PID=6648 TID=1192 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Getting Provider DISMLogger - CDISMProviderStore::GetProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider2015-07-19 08:08:32, Info                  DISM   DISM.EXE: 2015-07-19 08:08:32, Info                  DISM   DISM.EXE: <----- Starting Dism.exe session ----->2015-07-19 08:08:32, Info                  DISM   DISM.EXE: 2015-07-19 08:08:32, Info                  DISM   DISM.EXE: Host machine information: OS Version=6.3.9600, Running architecture=amd64, Number of processors=82015-07-19 08:08:32, Info                  DISM   DISM.EXE: Dism.exe version: 6.3.9600.170292015-07-19 08:08:32, Info                  DISM   DISM.EXE: Executing command line: DISM  /Export-Image /sourceimagefile:H:\images\DETEW8X64*.swm /SWMFile:H:\images\DETEW8X64*.swm /Sourceindex:*  /DestinationImageFile:C:\Users\Andrew\Downloads\MOE4.wim2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Loading Provider from location C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\AMD64\DISM\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Connecting to the provider located at C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\AMD64\DISM\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Loading Provider from location C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\AMD64\DISM\WimProvider.dll - CDISMProviderStore::Internal_GetProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Connecting to the provider located at C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\AMD64\DISM\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Loading Provider from location C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\AMD64\DISM\VHDProvider.dll - CDISMProviderStore::Internal_GetProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Connecting to the provider located at C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\AMD64\DISM\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Loading Provider from location C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\AMD64\DISM\ImagingProvider.dll - CDISMProviderStore::Internal_GetProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Connecting to the provider located at C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\AMD64\DISM\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Loading Provider from location C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\AMD64\DISM\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Connecting to the provider located at C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\AMD64\DISM\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider2015-07-19 08:08:32, Info                  DISM   DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.2015-07-19 08:08:32, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Log Provider2015-07-19 08:08:32, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: FolderManager2015-07-19 08:08:32, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: WimManager2015-07-19 08:08:32, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: WimManager.2015-07-19 08:08:32, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: VHDManager2015-07-19 08:08:32, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: GenericImagingManager2015-07-19 08:08:32, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.2015-07-19 08:08:32, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: Compatibility Manager2015-07-19 08:08:32, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Getting Provider WimManager - CDISMProviderStore::GetProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider2015-07-19 08:08:32, Error                 DISM   DISM WIM Provider: PID=6648 TID=1192 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:4770 - CWimManager::InternalCmdExport(hr:0x80070057)2015-07-19 08:08:32, Error                 DISM   DISM WIM Provider: PID=6648 TID=1192 Error executing command - CWimManager::InternalExecuteCmd(hr:0x80070057)2015-07-19 08:08:32, Error                 DISM   DISM WIM Provider: PID=6648 TID=1192 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2273 - CWimManager::ExecuteCmdLine(hr:0x80070057)2015-07-19 08:08:32, Error                 DISM   DISM.EXE: WimManager processed the command line but failed. HRESULT=800700572015-07-19 08:08:32, Info                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.2015-07-19 08:08:32, Info                  DISM   DISM.EXE: 2015-07-19 08:08:32, Info                  DISM   DISM.EXE: <----- Ending Dism.exe session ----->2015-07-19 08:08:32, Info                  DISM   DISM.EXE: 2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider2015-07-19 08:08:32, Info                  DISM   DISM Provider Store: PID=6648 TID=1192 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider

UPDATE:
Ended up using imagex. Still would like to know what I was doing wrong with dism.

 

code used:

imagex /ref H:\images\DETEW8X64*.swm /check /export H:\images\DETEW8X64.swm * C:\Users\Andrew\Downloads\MOE4.wim "EQ MOE4"
Link to comment
Share on other sites

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

×