DISM schlägt mit 0x80070020 fehl, wenn versucht wird, Windows 10 IoT auf eine SD-Karte zu flashen

676
Curtis Parfitt-Ford

Ich versuche, Windows 10 IoT Core über das IoT-Dashboard auf eine SD-Karte zu flashen, und habe nicht viel Erfolg. Das Bild wird ordnungsgemäß heruntergeladen, und das Installationsprogramm wird entpackt. Sobald das Flashen beginnt, gibt DISM den kryptischen Fehler zusammen Failed to create a new block flasher object.mit dem Fehlercode aus 0x80070020. Dies scheint normalerweise darauf hinzudeuten, dass die Dateien bereits verwendet werden, was mich verwirrt, da auf der SD-Karte keine Dateien vorhanden sind. Das Entfernen und Austauschen der Karte hat bisher keinen Unterschied gemacht.

Das vollständige DISM-Protokoll befindet sich unten:

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 

Hat jemand eine Idee, wie dies gelöst werden kann?

Danke euch allen!

BEARBEITEN : Jeremiah Johnson auf MSDN schlug vor, dass ich meinen Computer auf die gleiche Windows-Version aktualisiere, auf der die Flash-Karte installiert werden soll. Ich habe nun eine etwas andere Fehlermeldung erhalten:

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. 

Irgendwelche Ideen?

0
0x80070020 = ERROR_SHARING_VIOLATION = Der Prozess kann nicht auf die Datei zugreifen, da er von einem anderen Prozess verwendet wird. magicandre1981 vor 6 Jahren 0

0 Antworten auf die Frage