Macrium Support Forum

Failed to Generate WinPE WIM

https://forum.macrium.com/Topic42507.aspx

By brucebousfield - 3 January 2021 4:37 AM

Hi,
I have Reflect home edition v7.3.5365. A new problem has arisen.
When I try to build a new WinPE I get the following message:
Failed to Generate WinPE WIM:
Failed to create the staging area.

I get this message no matter whether I'm trying to create a boot folder or boot media.

I've copied and pasted what seems to be the trail of error log files.
Hope someone can help.
Thanks,
Bruce.

This appears in the bootlog.txt file:
"bcdedit.exe" /store c:\temp_bcd\bcd /create {ramdiskoptions} /d "Macrium Reflect System Recovery"
An error occurred while attempting the specified create operation.
The specified entry already exists.
Cannot create a file when that file already exists.

This appears in the rescuemedia.log file:
Building WIM...
WIM creation failed, aborting media generation
Please see WIM creation log file for more information
Rescue media generation failed at the WIM build stage

This appears at the end of the waiklog.txt file:
Unmounting the wim - 1/2/2021 8:17 PM
"C:\WINDOWS\system32\dism.exe" /English /unmount-wim /mountdir:"F:\boot\macrium\WinREFiles\mount" /discard
Deployment Image Servicing and Management tool
Version: 10.0.19041.572
Error: 50
The request is not supported.
The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

This appears at the end of the DISM log file:
2021-01-02 20:17:51, Info      DISM DISM.EXE: Attempting to add the commands from provider: VHDManager
2021-01-02 20:17:51, Info      DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
2021-01-02 20:17:51, Info      DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
[3720] [0x80070002] FIOReadFileIntoBufferSad1452): The system cannot find the file specified.
[3720] [0xc142011c] UnmarshallImageHandleFromDirectorySad641)
[3720] [0xc142011c] WIMGetMountedImageHandleSad2906)
2021-01-02 20:17:51, Info      DISM DISM WIM Provider: PID=3720 TID=8028 [F:\boot\macrium\WinREFiles\mount] is not a WIM mount point. - CWimMountedImageInfo::Initialize
2021-01-02 20:17:51, Error      DISM DISM WIM Provider: PID=3720 TID=8028 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2624 - CWimManager::InternalOpUnmount(hr:0x80070032)
2021-01-02 20:17:51, Error      DISM DISM WIM Provider: PID=3720 TID=8028 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:4124 - CWimManager::InternalCmdUnmount(hr:0x80070032)
2021-01-02 20:17:51, Error      DISM DISM WIM Provider: PID=3720 TID=8028 "Error executing command" - CWimManager::InternalExecuteCmd(hr:0x80070032)
2021-01-02 20:17:51, Error      DISM DISM WIM Provider: PID=3720 TID=8028 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2119 - CWimManager::ExecuteCmdLine(hr:0x80070032)
2021-01-02 20:17:51, Info      DISM DISM.EXE: Image session has been closed. Reboot required=no.
2021-01-02 20:17:51, Info      DISM DISM.EXE:
2021-01-02 20:17:51, Info      DISM DISM.EXE: <----- Ending Dism.exe session ----->
2021-01-02 20:17:51, Info      DISM DISM.EXE:
2021-01-02 20:17:51, Info      DISM DISM Provider Store: PID=3720 TID=8028 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2021-01-02 20:17:51, Info      DISM DISM Provider Store: PID=3720 TID=8028 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:17:51, Info      DISM DISM Provider Store: PID=3720 TID=8028 Disconnecting Provider: FfuManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:17:51, Info      DISM DISM Provider Store: PID=3720 TID=8028 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:17:51, Info      DISM DISM Provider Store: PID=3720 TID=8028 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:17:51, Info      DISM DISM Provider Store: PID=3720 TID=8028 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:17:51, Info      DISM DISM Provider Store: PID=3720 TID=8028 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider


By jphughan - 3 January 2021 4:41 AM

Any third-party anti-virus running?  They sometimes interfere with Rescue Media operations.
By brucebousfield - 3 January 2021 4:45 AM

jphughan - 3 January 2021 4:41 AM
Any third-party anti-virus running?  They sometimes interfere with Rescue Media operations.

No, no other anti virus. Just the standard Windows 10 defender.
By jphughan - 3 January 2021 4:52 AM

Ok, I see that the log is referring to a path of F:\boot\macrium, not the default C:\boot\macrium.  Did you deliberately redirect your PE files to your F drive?  If so, is that drive online when you perform this build?  If that's not the issue, try rebooting and then deleting the entire F:\boot folder, which Rescue Media Builder will rebuild automatically next time you run a build.
By brucebousfield - 3 January 2021 5:04 AM

jphughan - 3 January 2021 4:52 AM
Ok, I see that the log is referring to a path of F:\boot\macrium, not the default C:\boot\macrium.  Did you deliberately redirect your PE files to your F drive?  If so, is that drive online when you perform this build?  If that's not the issue, try rebooting and then deleting the entire F:\boot folder, which Rescue Media Builder will rebuild automatically next time you run a build.

I tried the delete, reboot, but the same error. I then changed the location back to C: and still the same error.
I've pasted the complete Dism.log (it was just the last past shown above).
Dism seems to try 4 times before finally giving up.

2021-01-02 20:58:20, Info      DISM PID=9420 TID=9416 Scratch directory set to 'C:\Users\Bruce\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
2021-01-02 20:58:20, Info      DISM PID=9420 TID=9416 DismCore.dll version: 10.0.19041.572 - CDISMManager::FinalConstruct
2021-01-02 20:58:20, Info      DISM Initialized Panther logging at C:\WINDOWS\Logs\DISM\dism.log
2021-01-02 20:58:20, Info      DISM PID=9420 TID=9416 Successfully loaded the ImageSession at "C:\WINDOWS\system32\Dism" - CDISMManager::LoadLocalImageSession
2021-01-02 20:58:20, Info      DISM Initialized Panther logging at C:\WINDOWS\Logs\DISM\dism.log
2021-01-02 20:58:20, Info      DISM DISM Provider Store: PID=9420 TID=9416 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2021-01-02 20:58:20, Info      DISM DISM Provider Store: PID=9420 TID=9416 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
2021-01-02 20:58:20, Info      DISM DISM Provider Store: PID=9420 TID=9416 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
2021-01-02 20:58:20, Info      DISM Initialized Panther logging at C:\WINDOWS\Logs\DISM\dism.log
2021-01-02 20:58:20, Info      DISM DISM Manager: PID=9420 TID=9416 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
2021-01-02 20:58:20, Info      DISM DISM.EXE:
2021-01-02 20:58:20, Info      DISM DISM.EXE: <----- Starting Dism.exe session ----->
2021-01-02 20:58:20, Info      DISM DISM.EXE:
2021-01-02 20:58:20, Info      DISM DISM.EXE: Host machine information: OS Version=10.0.19042, Running architecture=amd64, Number of processors=8
2021-01-02 20:58:20, Info      DISM DISM.EXE: Dism.exe version: 10.0.19041.572
2021-01-02 20:58:20, Info      DISM DISM.EXE: Executing command line: "C:\WINDOWS\system32\dism.exe" /English /unmount-wim /mountdir:"C:\boot\macrium\WinREFiles\mount" /discard
2021-01-02 20:58:20, Info      DISM DISM Provider Store: PID=9420 TID=9416 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2021-01-02 20:58:20, Info      DISM DISM Provider Store: PID=9420 TID=9416 Connecting to the provider located at C:\WINDOWS\system32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-01-02 20:58:20, Warning     DISM DISM Provider Store: PID=9420 TID=9416 Failed to load the provider: C:\WINDOWS\system32\Dism\SiloedPackageProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2021-01-02 20:58:20, Info      DISM DISM Provider Store: PID=9420 TID=9416 Connecting to the provider located at C:\WINDOWS\system32\Dism\FfuProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-01-02 20:58:20, Info      DISM DISM Provider Store: PID=9420 TID=9416 Connecting to the provider located at C:\WINDOWS\system32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-01-02 20:58:20, Info      DISM DISM Provider Store: PID=9420 TID=9416 Connecting to the provider located at C:\WINDOWS\system32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-01-02 20:58:20, Info      DISM DISM Provider Store: PID=9420 TID=9416 Connecting to the provider located at C:\WINDOWS\system32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-01-02 20:58:20, Warning     DISM DISM Provider Store: PID=9420 TID=9416 Failed to load the provider: C:\WINDOWS\system32\Dism\MetaDeployProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2021-01-02 20:58:20, Info      DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2021-01-02 20:58:20, Info      DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2021-01-02 20:58:20, Info      DISM DISM.EXE: Attempting to add the commands from provider: FolderManager
2021-01-02 20:58:20, Info      DISM DISM.EXE: Attempting to add the commands from provider: FfuManager
2021-01-02 20:58:20, Info      DISM DISM.EXE: Succesfully registered commands for the provider: FfuManager.
2021-01-02 20:58:20, Info      DISM DISM.EXE: Attempting to add the commands from provider: WimManager
2021-01-02 20:58:20, Info      DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.
2021-01-02 20:58:20, Info      DISM DISM.EXE: Attempting to add the commands from provider: VHDManager
2021-01-02 20:58:20, Info      DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
2021-01-02 20:58:20, Info      DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
[9420] [0x80070002] FIOReadFileIntoBufferSad1452): The system cannot find the file specified.
[9420] [0xc142011c] UnmarshallImageHandleFromDirectorySad641)
[9420] [0xc142011c] WIMGetMountedImageHandleSad2906)
2021-01-02 20:58:20, Info      DISM DISM WIM Provider: PID=9420 TID=9416 [C:\boot\macrium\WinREFiles\mount] is not a WIM mount point. - CWimMountedImageInfo::Initialize
2021-01-02 20:58:20, Error      DISM DISM WIM Provider: PID=9420 TID=9416 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2624 - CWimManager::InternalOpUnmount(hr:0x80070032)
2021-01-02 20:58:20, Error      DISM DISM WIM Provider: PID=9420 TID=9416 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:4124 - CWimManager::InternalCmdUnmount(hr:0x80070032)
2021-01-02 20:58:20, Error      DISM DISM WIM Provider: PID=9420 TID=9416 "Error executing command" - CWimManager::InternalExecuteCmd(hr:0x80070032)
2021-01-02 20:58:20, Error      DISM DISM WIM Provider: PID=9420 TID=9416 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2119 - CWimManager::ExecuteCmdLine(hr:0x80070032)
2021-01-02 20:58:20, Info      DISM DISM.EXE: Image session has been closed. Reboot required=no.
2021-01-02 20:58:20, Info      DISM DISM.EXE:
2021-01-02 20:58:20, Info      DISM DISM.EXE: <----- Ending Dism.exe session ----->
2021-01-02 20:58:20, Info      DISM DISM.EXE:
2021-01-02 20:58:20, Info      DISM DISM Provider Store: PID=9420 TID=9416 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2021-01-02 20:58:20, Info      DISM DISM Provider Store: PID=9420 TID=9416 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:58:20, Info      DISM DISM Provider Store: PID=9420 TID=9416 Disconnecting Provider: FfuManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:58:20, Info      DISM DISM Provider Store: PID=9420 TID=9416 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:58:20, Info      DISM DISM Provider Store: PID=9420 TID=9416 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:58:20, Info      DISM DISM Provider Store: PID=9420 TID=9416 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:58:20, Info      DISM DISM Provider Store: PID=9420 TID=9416 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:58:21, Info      DISM PID=9900 TID=9896 Scratch directory set to 'C:\Users\Bruce\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
2021-01-02 20:58:21, Info      DISM PID=9900 TID=9896 DismCore.dll version: 10.0.19041.572 - CDISMManager::FinalConstruct
2021-01-02 20:58:21, Info      DISM Initialized Panther logging at C:\WINDOWS\Logs\DISM\dism.log
2021-01-02 20:58:21, Info      DISM PID=9900 TID=9896 Successfully loaded the ImageSession at "C:\WINDOWS\system32\Dism" - CDISMManager::LoadLocalImageSession
2021-01-02 20:58:21, Info      DISM Initialized Panther logging at C:\WINDOWS\Logs\DISM\dism.log
2021-01-02 20:58:21, Info      DISM DISM Provider Store: PID=9900 TID=9896 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2021-01-02 20:58:21, Info      DISM DISM Provider Store: PID=9900 TID=9896 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
2021-01-02 20:58:21, Info      DISM DISM Provider Store: PID=9900 TID=9896 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
2021-01-02 20:58:21, Info      DISM Initialized Panther logging at C:\WINDOWS\Logs\DISM\dism.log
2021-01-02 20:58:21, Info      DISM DISM Manager: PID=9900 TID=9896 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
2021-01-02 20:58:21, Info      DISM DISM.EXE:
2021-01-02 20:58:21, Info      DISM DISM.EXE: <----- Starting Dism.exe session ----->
2021-01-02 20:58:21, Info      DISM DISM.EXE:
2021-01-02 20:58:21, Info      DISM DISM.EXE: Host machine information: OS Version=10.0.19042, Running architecture=amd64, Number of processors=8
2021-01-02 20:58:21, Info      DISM DISM.EXE: Dism.exe version: 10.0.19041.572
2021-01-02 20:58:21, Info      DISM DISM.EXE: Executing command line: "C:\WINDOWS\system32\dism.exe" /English /unmount-wim /mountdir:"C:\boot\macrium\WinREFiles\mount" /discard
2021-01-02 20:58:21, Info      DISM DISM Provider Store: PID=9900 TID=9896 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2021-01-02 20:58:21, Info      DISM DISM Provider Store: PID=9900 TID=9896 Connecting to the provider located at C:\WINDOWS\system32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-01-02 20:58:21, Warning     DISM DISM Provider Store: PID=9900 TID=9896 Failed to load the provider: C:\WINDOWS\system32\Dism\SiloedPackageProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2021-01-02 20:58:21, Info      DISM DISM Provider Store: PID=9900 TID=9896 Connecting to the provider located at C:\WINDOWS\system32\Dism\FfuProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-01-02 20:58:21, Info      DISM DISM Provider Store: PID=9900 TID=9896 Connecting to the provider located at C:\WINDOWS\system32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-01-02 20:58:21, Info      DISM DISM Provider Store: PID=9900 TID=9896 Connecting to the provider located at C:\WINDOWS\system32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-01-02 20:58:21, Info      DISM DISM Provider Store: PID=9900 TID=9896 Connecting to the provider located at C:\WINDOWS\system32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-01-02 20:58:21, Warning     DISM DISM Provider Store: PID=9900 TID=9896 Failed to load the provider: C:\WINDOWS\system32\Dism\MetaDeployProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2021-01-02 20:58:21, Info      DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2021-01-02 20:58:21, Info      DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2021-01-02 20:58:21, Info      DISM DISM.EXE: Attempting to add the commands from provider: FolderManager
2021-01-02 20:58:21, Info      DISM DISM.EXE: Attempting to add the commands from provider: FfuManager
2021-01-02 20:58:21, Info      DISM DISM.EXE: Succesfully registered commands for the provider: FfuManager.
2021-01-02 20:58:21, Info      DISM DISM.EXE: Attempting to add the commands from provider: WimManager
2021-01-02 20:58:21, Info      DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.
2021-01-02 20:58:21, Info      DISM DISM.EXE: Attempting to add the commands from provider: VHDManager
2021-01-02 20:58:21, Info      DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
2021-01-02 20:58:21, Info      DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
[9900] [0x80070002] FIOReadFileIntoBufferSad1452): The system cannot find the file specified.
[9900] [0xc142011c] UnmarshallImageHandleFromDirectorySad641)
[9900] [0xc142011c] WIMGetMountedImageHandleSad2906)
2021-01-02 20:58:21, Info      DISM DISM WIM Provider: PID=9900 TID=9896 [C:\boot\macrium\WinREFiles\mount] is not a WIM mount point. - CWimMountedImageInfo::Initialize
2021-01-02 20:58:21, Error      DISM DISM WIM Provider: PID=9900 TID=9896 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2624 - CWimManager::InternalOpUnmount(hr:0x80070032)
2021-01-02 20:58:21, Error      DISM DISM WIM Provider: PID=9900 TID=9896 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:4124 - CWimManager::InternalCmdUnmount(hr:0x80070032)
2021-01-02 20:58:21, Error      DISM DISM WIM Provider: PID=9900 TID=9896 "Error executing command" - CWimManager::InternalExecuteCmd(hr:0x80070032)
2021-01-02 20:58:21, Error      DISM DISM WIM Provider: PID=9900 TID=9896 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2119 - CWimManager::ExecuteCmdLine(hr:0x80070032)
2021-01-02 20:58:21, Info      DISM DISM.EXE: Image session has been closed. Reboot required=no.
2021-01-02 20:58:21, Info      DISM DISM.EXE:
2021-01-02 20:58:21, Info      DISM DISM.EXE: <----- Ending Dism.exe session ----->
2021-01-02 20:58:21, Info      DISM DISM.EXE:
2021-01-02 20:58:21, Info      DISM DISM Provider Store: PID=9900 TID=9896 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2021-01-02 20:58:21, Info      DISM DISM Provider Store: PID=9900 TID=9896 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:58:21, Info      DISM DISM Provider Store: PID=9900 TID=9896 Disconnecting Provider: FfuManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:58:21, Info      DISM DISM Provider Store: PID=9900 TID=9896 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:58:21, Info      DISM DISM Provider Store: PID=9900 TID=9896 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:58:21, Info      DISM DISM Provider Store: PID=9900 TID=9896 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:58:21, Info      DISM DISM Provider Store: PID=9900 TID=9896 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:58:36, Info      DISM PID=1216 TID=8212 Scratch directory set to 'C:\Users\Bruce\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
2021-01-02 20:58:36, Info      DISM PID=1216 TID=8212 DismCore.dll version: 10.0.19041.572 - CDISMManager::FinalConstruct
2021-01-02 20:58:36, Info      DISM Initialized Panther logging at C:\WINDOWS\Logs\DISM\dism.log
2021-01-02 20:58:36, Info      DISM PID=1216 TID=8212 Successfully loaded the ImageSession at "C:\WINDOWS\system32\Dism" - CDISMManager::LoadLocalImageSession
2021-01-02 20:58:36, Info      DISM Initialized Panther logging at C:\WINDOWS\Logs\DISM\dism.log
2021-01-02 20:58:36, Info      DISM DISM Provider Store: PID=1216 TID=8212 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2021-01-02 20:58:36, Info      DISM DISM Provider Store: PID=1216 TID=8212 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
2021-01-02 20:58:36, Info      DISM DISM Provider Store: PID=1216 TID=8212 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
2021-01-02 20:58:36, Info      DISM Initialized Panther logging at C:\WINDOWS\Logs\DISM\dism.log
2021-01-02 20:58:36, Info      DISM DISM Manager: PID=1216 TID=8212 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
2021-01-02 20:58:36, Info      DISM DISM.EXE:
2021-01-02 20:58:36, Info      DISM DISM.EXE: <----- Starting Dism.exe session ----->
2021-01-02 20:58:36, Info      DISM DISM.EXE:
2021-01-02 20:58:36, Info      DISM DISM.EXE: Host machine information: OS Version=10.0.19042, Running architecture=amd64, Number of processors=8
2021-01-02 20:58:36, Info      DISM DISM.EXE: Dism.exe version: 10.0.19041.572
2021-01-02 20:58:36, Info      DISM DISM.EXE: Executing command line: "C:\WINDOWS\system32\dism.exe" /English /unmount-wim /mountdir:"C:\boot\macrium\WinREFiles\mount" /discard
2021-01-02 20:58:36, Info      DISM DISM Provider Store: PID=1216 TID=8212 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2021-01-02 20:58:36, Info      DISM DISM Provider Store: PID=1216 TID=8212 Connecting to the provider located at C:\WINDOWS\system32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-01-02 20:58:36, Warning     DISM DISM Provider Store: PID=1216 TID=8212 Failed to load the provider: C:\WINDOWS\system32\Dism\SiloedPackageProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2021-01-02 20:58:36, Info      DISM DISM Provider Store: PID=1216 TID=8212 Connecting to the provider located at C:\WINDOWS\system32\Dism\FfuProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-01-02 20:58:36, Info      DISM DISM Provider Store: PID=1216 TID=8212 Connecting to the provider located at C:\WINDOWS\system32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-01-02 20:58:36, Info      DISM DISM Provider Store: PID=1216 TID=8212 Connecting to the provider located at C:\WINDOWS\system32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-01-02 20:58:36, Info      DISM DISM Provider Store: PID=1216 TID=8212 Connecting to the provider located at C:\WINDOWS\system32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-01-02 20:58:36, Warning     DISM DISM Provider Store: PID=1216 TID=8212 Failed to load the provider: C:\WINDOWS\system32\Dism\MetaDeployProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2021-01-02 20:58:36, Info      DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2021-01-02 20:58:36, Info      DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2021-01-02 20:58:36, Info      DISM DISM.EXE: Attempting to add the commands from provider: FolderManager
2021-01-02 20:58:36, Info      DISM DISM.EXE: Attempting to add the commands from provider: FfuManager
2021-01-02 20:58:36, Info      DISM DISM.EXE: Succesfully registered commands for the provider: FfuManager.
2021-01-02 20:58:36, Info      DISM DISM.EXE: Attempting to add the commands from provider: WimManager
2021-01-02 20:58:36, Info      DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.
2021-01-02 20:58:36, Info      DISM DISM.EXE: Attempting to add the commands from provider: VHDManager
2021-01-02 20:58:36, Info      DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
2021-01-02 20:58:36, Info      DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
[1216] [0x80070002] FIOReadFileIntoBufferSad1452): The system cannot find the file specified.
[1216] [0xc142011c] UnmarshallImageHandleFromDirectorySad641)
[1216] [0xc142011c] WIMGetMountedImageHandleSad2906)
2021-01-02 20:58:36, Info      DISM DISM WIM Provider: PID=1216 TID=8212 [C:\boot\macrium\WinREFiles\mount] is not a WIM mount point. - CWimMountedImageInfo::Initialize
2021-01-02 20:58:36, Error      DISM DISM WIM Provider: PID=1216 TID=8212 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2624 - CWimManager::InternalOpUnmount(hr:0x80070032)
2021-01-02 20:58:36, Error      DISM DISM WIM Provider: PID=1216 TID=8212 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:4124 - CWimManager::InternalCmdUnmount(hr:0x80070032)
2021-01-02 20:58:36, Error      DISM DISM WIM Provider: PID=1216 TID=8212 "Error executing command" - CWimManager::InternalExecuteCmd(hr:0x80070032)
2021-01-02 20:58:36, Error      DISM DISM WIM Provider: PID=1216 TID=8212 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2119 - CWimManager::ExecuteCmdLine(hr:0x80070032)
2021-01-02 20:58:36, Info      DISM DISM.EXE: Image session has been closed. Reboot required=no.
2021-01-02 20:58:36, Info      DISM DISM.EXE:
2021-01-02 20:58:36, Info      DISM DISM.EXE: <----- Ending Dism.exe session ----->
2021-01-02 20:58:36, Info      DISM DISM.EXE:
2021-01-02 20:58:36, Info      DISM DISM Provider Store: PID=1216 TID=8212 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2021-01-02 20:58:36, Info      DISM DISM Provider Store: PID=1216 TID=8212 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:58:36, Info      DISM DISM Provider Store: PID=1216 TID=8212 Disconnecting Provider: FfuManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:58:36, Info      DISM DISM Provider Store: PID=1216 TID=8212 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:58:36, Info      DISM DISM Provider Store: PID=1216 TID=8212 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:58:36, Info      DISM DISM Provider Store: PID=1216 TID=8212 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:58:36, Info      DISM DISM Provider Store: PID=1216 TID=8212 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:58:37, Info      DISM PID=8800 TID=8792 Scratch directory set to 'C:\Users\Bruce\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
2021-01-02 20:58:37, Info      DISM PID=8800 TID=8792 DismCore.dll version: 10.0.19041.572 - CDISMManager::FinalConstruct
2021-01-02 20:58:37, Info      DISM Initialized Panther logging at C:\WINDOWS\Logs\DISM\dism.log
2021-01-02 20:58:37, Info      DISM PID=8800 TID=8792 Successfully loaded the ImageSession at "C:\WINDOWS\system32\Dism" - CDISMManager::LoadLocalImageSession
2021-01-02 20:58:37, Info      DISM Initialized Panther logging at C:\WINDOWS\Logs\DISM\dism.log
2021-01-02 20:58:37, Info      DISM DISM Provider Store: PID=8800 TID=8792 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2021-01-02 20:58:37, Info      DISM DISM Provider Store: PID=8800 TID=8792 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
2021-01-02 20:58:37, Info      DISM DISM Provider Store: PID=8800 TID=8792 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
2021-01-02 20:58:37, Info      DISM Initialized Panther logging at C:\WINDOWS\Logs\DISM\dism.log
2021-01-02 20:58:37, Info      DISM DISM Manager: PID=8800 TID=8792 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
2021-01-02 20:58:37, Info      DISM DISM.EXE:
2021-01-02 20:58:37, Info      DISM DISM.EXE: <----- Starting Dism.exe session ----->
2021-01-02 20:58:37, Info      DISM DISM.EXE:
2021-01-02 20:58:37, Info      DISM DISM.EXE: Host machine information: OS Version=10.0.19042, Running architecture=amd64, Number of processors=8
2021-01-02 20:58:37, Info      DISM DISM.EXE: Dism.exe version: 10.0.19041.572
2021-01-02 20:58:37, Info      DISM DISM.EXE: Executing command line: "C:\WINDOWS\system32\dism.exe" /English /unmount-wim /mountdir:"C:\boot\macrium\WinREFiles\mount" /discard
2021-01-02 20:58:37, Info      DISM DISM Provider Store: PID=8800 TID=8792 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2021-01-02 20:58:37, Info      DISM DISM Provider Store: PID=8800 TID=8792 Connecting to the provider located at C:\WINDOWS\system32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-01-02 20:58:37, Warning     DISM DISM Provider Store: PID=8800 TID=8792 Failed to load the provider: C:\WINDOWS\system32\Dism\SiloedPackageProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2021-01-02 20:58:37, Info      DISM DISM Provider Store: PID=8800 TID=8792 Connecting to the provider located at C:\WINDOWS\system32\Dism\FfuProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-01-02 20:58:37, Info      DISM DISM Provider Store: PID=8800 TID=8792 Connecting to the provider located at C:\WINDOWS\system32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-01-02 20:58:37, Info      DISM DISM Provider Store: PID=8800 TID=8792 Connecting to the provider located at C:\WINDOWS\system32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-01-02 20:58:37, Info      DISM DISM Provider Store: PID=8800 TID=8792 Connecting to the provider located at C:\WINDOWS\system32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-01-02 20:58:37, Warning     DISM DISM Provider Store: PID=8800 TID=8792 Failed to load the provider: C:\WINDOWS\system32\Dism\MetaDeployProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2021-01-02 20:58:37, Info      DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2021-01-02 20:58:37, Info      DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2021-01-02 20:58:37, Info      DISM DISM.EXE: Attempting to add the commands from provider: FolderManager
2021-01-02 20:58:37, Info      DISM DISM.EXE: Attempting to add the commands from provider: FfuManager
2021-01-02 20:58:37, Info      DISM DISM.EXE: Succesfully registered commands for the provider: FfuManager.
2021-01-02 20:58:37, Info      DISM DISM.EXE: Attempting to add the commands from provider: WimManager
2021-01-02 20:58:37, Info      DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.
2021-01-02 20:58:37, Info      DISM DISM.EXE: Attempting to add the commands from provider: VHDManager
2021-01-02 20:58:37, Info      DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
2021-01-02 20:58:37, Info      DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
[8800] [0x80070002] FIOReadFileIntoBufferSad1452): The system cannot find the file specified.
[8800] [0xc142011c] UnmarshallImageHandleFromDirectorySad641)
[8800] [0xc142011c] WIMGetMountedImageHandleSad2906)
2021-01-02 20:58:37, Info      DISM DISM WIM Provider: PID=8800 TID=8792 [C:\boot\macrium\WinREFiles\mount] is not a WIM mount point. - CWimMountedImageInfo::Initialize
2021-01-02 20:58:37, Error      DISM DISM WIM Provider: PID=8800 TID=8792 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2624 - CWimManager::InternalOpUnmount(hr:0x80070032)
2021-01-02 20:58:37, Error      DISM DISM WIM Provider: PID=8800 TID=8792 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:4124 - CWimManager::InternalCmdUnmount(hr:0x80070032)
2021-01-02 20:58:37, Error      DISM DISM WIM Provider: PID=8800 TID=8792 "Error executing command" - CWimManager::InternalExecuteCmd(hr:0x80070032)
2021-01-02 20:58:37, Error      DISM DISM WIM Provider: PID=8800 TID=8792 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2119 - CWimManager::ExecuteCmdLine(hr:0x80070032)
2021-01-02 20:58:37, Info      DISM DISM.EXE: Image session has been closed. Reboot required=no.
2021-01-02 20:58:37, Info      DISM DISM.EXE:
2021-01-02 20:58:37, Info      DISM DISM.EXE: <----- Ending Dism.exe session ----->
2021-01-02 20:58:37, Info      DISM DISM.EXE:
2021-01-02 20:58:37, Info      DISM DISM Provider Store: PID=8800 TID=8792 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2021-01-02 20:58:37, Info      DISM DISM Provider Store: PID=8800 TID=8792 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:58:37, Info      DISM DISM Provider Store: PID=8800 TID=8792 Disconnecting Provider: FfuManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:58:37, Info      DISM DISM Provider Store: PID=8800 TID=8792 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:58:37, Info      DISM DISM Provider Store: PID=8800 TID=8792 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:58:37, Info      DISM DISM Provider Store: PID=8800 TID=8792 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider
2021-01-02 20:58:37, Info      DISM DISM Provider Store: PID=8800 TID=8792 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
By jphughan - 3 January 2021 5:14 AM

Ok, I'm not sure what to suggest next here.  I haven't encountered that error before.  I'm curious if it might be a lower-level issue that would affect other attempts to use DISM in a similar way as opposed to something specific to Rescue Media, but either way I'm not immediately sure where I'd go next on this.  Hopefully someone else more knowledgeable about this will jump in, possibly Macrium Support themselves.  Sorry!
By brucebousfield - 3 January 2021 5:19 AM

jphughan - 3 January 2021 5:14 AM
Ok, I'm not sure what to suggest next here.  I haven't encountered that error before.  I'm curious if it might be a lower-level issue that would affect other attempts to use DISM in a similar way as opposed to something specific to Rescue Media, but either way I'm not immediately sure where I'd go next on this.  Hopefully someone else more knowledgeable about this will jump in, possibly Macrium Support themselves.  Sorry!

OK, appreciate the help so far. I did wonder about the DISM routine too, but I have no idea how to test it's integrity. Cheers.
By jphughan - 3 January 2021 5:22 AM

You'd need another WIM or ESD file.  Windows installation media has them, so you could try mounting those.  Otherwise you could technically set up a virtual drive, put some files onto it, use DISM to capture that drive into a WIM, and later try mounting that, but that's quite a few hoops to jump through.
By brucebousfield - 3 January 2021 5:18 PM

Fixed it :-)
I did a reagentc /disable and then a reagentc /enable, to which I got a window recovery file not found.
But after that Reflect was able to build a new WinPE !!
Don't know why, don't care why, just happy now :-)
By RolandJS - 6 January 2021 4:04 PM

Awhile back, I had a similar problem with my Windows 7 Professional / Macrium Reflect 7.x -- after reading some, I came across and followed DSperber's advice, which is posted in two threads in here somewhere, involves using WinRE 10 instead of WinRE 7.  Now, both laptops happily do backups (and restores) using MR 7x and WinRE 10.

https://forum.macrium.com/35865/RE-Recovery-environment-does-not-see-backups-on-NAS#35872  -- just one of several threads with the DSperber solution  Smile
By Paul A. Bristow - 15 April 2021 11:36 AM

brucebousfield - 3 January 2021 5:18 PM
Fixed it :-)
I did a reagentc /disable and then a reagentc /enable, to which I got a window recovery file not found.
But after that Reflect was able to build a new WinPE !!
Don't know why, don't care why, just happy now :-)

Same problem here trying to re-create recovery media on USB and CD or .iso after update to v7.3.5758 (OK on another machine so I hope I have a restore backup device). Tried to use REAGENTC.EXE: but ends with
   REAGENTC.EXE: The Windows RE image was not found. :-(

and Macrium will NOT build.

Suggestions most welcome.

I have two healthy Recovery partitions, one on the drive with my C partition and another on a backup drive.

C:\WINDOWS\system32>reagentc /info
Windows Recovery Environment (Windows RE) and system reset configuration
Information:
  Windows RE status:   Disabled
  Windows RE location:
  Boot Configuration Data (BCD) identifier: f3108303-f9ca-11ea-9e71-185680933afe
  Recovery image location:
  Recovery image index:  0
  Custom image location:
  Custom image index:   0
REAGENTC.EXE: Operation Successful.
C:\WINDOWS\system32>reagentc /disable
REAGENTC.EXE: Windows RE is already disabled.
C:\WINDOWS\system32>reagentc /enable
REAGENTC.EXE: The Windows RE image was not found.

C:\WINDOWS\system32>cd ./recovery
C:\Windows\System32\Recovery>dir
Volume in drive C is Windows
Volume Serial Number is 80EC-2EEA
Directory of C:\Windows\System32\Recovery
18Sep2020 17:22  <DIR>    .
18Sep2020 17:22  <DIR>    ..
18Sep2020 17:31     1,104 ReAgent.xml
21Mar2020 18:34     1,106 ReAgent_Merged.xml1
     2 File(s)    2,210 bytes
     2 Dir(s) 159,481,384,960 bytes free

By jphughan - 15 April 2021 1:07 PM

Try assigning the newer WinRE partition a drive letter and then running the commands below, replacing X as appropriate:

reagentc /setreimage /path X:\Recovery\WindowsRE /target C:\Windows
reagentc /enable


If that doesn't resolve it, as a workaround you could build your Rescue Media using WinPE 10 instead of WinRE.  The only thing you'll lose is WiFi support in Rescue.
By Paul A. Bristow - 15 April 2021 4:29 PM

I can't set a letter for the recovery partition - only option (when expect option "Change drive letter ...") is help, which is no help at all, as too often!

So I've done plan B, downloading Windows 10 PE 973 MB 1709. burnt a CD, and a USB card.

(I don't need wifi as I have Real Wires ;-) )

Next is to check I can boot OK, but thanks.
By jphughan - 15 April 2021 4:57 PM

Sorry, should have clarified. You need to use Diskpart to assign a letter to the Recovery partition. Windows Disk Management won’t do it.