I'm trying to flash Windows 10 IoT Core to an SD card through the IoT dashboard, and not having much success. The image downloads correctly, and the installer unpacks, but once the flashing begins DISM gives me the cryptic error Failed to create a new block flasher object.
, accompanied with the error code 0x80070020
. This appears to normally indicate that the files are already in use, which confuses me given that there are no files present on the SD. Removing and replacing the card has made no difference so far.
The full DISM log is below:
2017-12-22 17:30:04, Info DISM PID=15132 TID=15188 Scratch directory set to 'C:\Users\curti\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
2017-12-22 17:30:04, Info DISM PID=15132 TID=15188 DismCore.dll version: 10.0.15063.0 - CDISMManager::FinalConstruct
2017-12-22 17:30:04, Info DISM Initialized Panther logging at C:\WINDOWS\Logs\DISM\dism.log
2017-12-22 17:30:04, Info DISM PID=15132 TID=15188 Successfully loaded the ImageSession at "C:\WINDOWS\System32\Dism" - CDISMManager::LoadLocalImageSession
2017-12-22 17:30:04, Info DISM Initialized Panther logging at C:\WINDOWS\Logs\DISM\dism.log
2017-12-22 17:30:04, Info DISM DISM Provider Store: PID=15132 TID=15188 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2017-12-22 17:30:04, Info DISM DISM Provider Store: PID=15132 TID=15188 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
2017-12-22 17:30:04, Info DISM DISM Provider Store: PID=15132 TID=15188 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
2017-12-22 17:30:04, Info DISM Initialized Panther logging at C:\WINDOWS\Logs\DISM\dism.log
2017-12-22 17:30:04, Info DISM DISM Manager: PID=15132 TID=15188 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
2017-12-22 17:30:04, Info DISM DISM.EXE:
2017-12-22 17:30:04, Info DISM DISM.EXE: <----- Starting Dism.exe session ----->
2017-12-22 17:30:04, Info DISM DISM.EXE:
2017-12-22 17:30:04, Info DISM DISM.EXE: Host machine information: OS Version=10.0.15063, Running architecture=x86, Number of processors=4
2017-12-22 17:30:04, Info DISM DISM.EXE: Dism.exe version: 10.0.15063.0
2017-12-22 17:30:04, Info DISM DISM.EXE: Executing command line: "C:\WINDOWS\system32\dism.exe" /Apply-Image /ApplyDrive:\\.\PHYSICALDRIVE1 /SkipPlatformCheck /ImageFile:"C:\Users\curti\AppData\Local\Temp\RPi2\msi\msicontent\Microsoft IoT\FFU\RaspberryPi2\Flash.ffu"
2017-12-22 17:30:04, Info DISM DISM Provider Store: PID=15132 TID=15188 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2017-12-22 17:30:04, Info DISM DISM Provider Store: PID=15132 TID=15188 Connecting to the provider located at C:\WINDOWS\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2017-12-22 17:30:04, Info DISM DISM Provider Store: PID=15132 TID=15188 Connecting to the provider located at C:\WINDOWS\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2017-12-22 17:30:04, Info DISM DISM Provider Store: PID=15132 TID=15188 Connecting to the provider located at C:\WINDOWS\System32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2017-12-22 17:30:04, Info DISM DISM Provider Store: PID=15132 TID=15188 Connecting to the provider located at C:\WINDOWS\System32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2017-12-22 17:30:04, Info DISM DISM Provider Store: PID=15132 TID=15188 Connecting to the provider located at C:\WINDOWS\System32\Dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2017-12-22 17:30:04, Info DISM DISM Provider Store: PID=15132 TID=15188 Connecting to the provider located at C:\WINDOWS\System32\Dism\FfuProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2017-12-22 17:30:04, Warning DISM DISM Provider Store: PID=15132 TID=15188 Failed to Load the provider: C:\WINDOWS\System32\Dism\SiloedPackageProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2017-12-22 17:30:04, Warning DISM DISM Provider Store: PID=15132 TID=15188 Failed to Load the provider: C:\WINDOWS\System32\Dism\MetaDeployProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2017-12-22 17:30:04, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2017-12-22 17:30:04, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2017-12-22 17:30:04, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager
2017-12-22 17:30:04, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager
2017-12-22 17:30:04, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.
2017-12-22 17:30:04, Info DISM DISM.EXE: Attempting to add the commands from provider: VHDManager
2017-12-22 17:30:04, Info DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
2017-12-22 17:30:04, Info DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
2017-12-22 17:30:04, Info DISM DISM.EXE: Attempting to add the commands from provider: Compatibility Manager
2017-12-22 17:30:04, Info DISM DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.
2017-12-22 17:30:04, Info DISM DISM.EXE: Attempting to add the commands from provider: FfuManager
2017-12-22 17:30:04, Error DISM FFU Provider: PID=15132 TID=15188 Failed to create a new block flasher object. - CFfuManager::Apply(hr:0x80070020)
2017-12-22 17:30:04, Error DISM FFU Provider: PID=15132 TID=15188 onecore\base\ntsetup\opktools\dism\providers\ffuprovider\dll\ffumanager.cpp:165 - CFfuManager::ApplyImage(hr:0x80070020)
2017-12-22 17:30:04, Error DISM DISM Imaging Provider: PID=15132 TID=15188 onecore\base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:2586 - CGenericImagingManager::InternalCmdFFUApply(hr:0x80070020)
2017-12-22 17:30:04, Error DISM DISM Imaging Provider: PID=15132 TID=15188 onecore\base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:535 - CGenericImagingManager::ExecuteCmdLine(hr:0x80070020)
2017-12-22 17:30:04, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.
2017-12-22 17:30:04, Info DISM DISM.EXE:
2017-12-22 17:30:04, Info DISM DISM.EXE: <----- Ending Dism.exe session ----->
2017-12-22 17:30:04, Info DISM DISM.EXE:
2017-12-22 17:30:04, Info DISM DISM Provider Store: PID=15132 TID=15188 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2017-12-22 17:30:04, Info DISM DISM Provider Store: PID=15132 TID=15188 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
2017-12-22 17:30:04, Info DISM DISM Provider Store: PID=15132 TID=15188 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
2017-12-22 17:30:04, Info DISM DISM Provider Store: PID=15132 TID=15188 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider
2017-12-22 17:30:04, Info DISM DISM Provider Store: PID=15132 TID=15188 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider
2017-12-22 17:30:04, Info DISM DISM Provider Store: PID=15132 TID=15188 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider
2017-12-22 17:30:04, Info DISM DISM Provider Store: PID=15132 TID=15188 Disconnecting Provider: FfuManager - CDISMProviderStore::Internal_DisconnectProvider
2017-12-22 17:30:04, Info DISM DISM Provider Store: PID=15132 TID=15188 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
Does anyone have any ideas as to how this can be resolved?
Thanks all!
EDIT: Jeremiah Johnson on MSDN suggested that I update my computer to the same version of Windows as the one I'm trying to flash to the card, which I did, and I now get a slightly different error:
2017-12-23 08:54:46, Error DISM DISM FFU Provider: Unable to create a handle to \\.\PHYSICALDRIVE2.
2017-12-23 08:54:46, Error DISM DISM FFU Provider: CDiskWriter::CreateInstance#29 failed with 0x80070020.
2017-12-23 08:54:46, Error DISM DISM FFU Provider: FfuApplyInternal#597 failed with 0x80070020.
2017-12-23 08:54:46, Error DISM DISM FFU Provider: FfuApplyImage#51 failed with 0x80070020.
Any ideas?
User contributions licensed under CC BY-SA 3.0