Сбой DISM с 0x80070020 при попытке прошить Windows 10 IoT на SD-карту

652
Curtis Parfitt-Ford

Я пытаюсь прошить Windows 10 IoT Core на SD-карту через панель IoT, но не добиваюсь большого успеха. Образ загружается правильно, и установщик распаковывает, но как только начинается перепрошивка, DISM выдает мне загадочную ошибку Failed to create a new block flasher object., сопровождаемую кодом ошибки 0x80070020. Похоже, это обычно указывает на то, что файлы уже используются, что меня смущает, учитывая, что на SD нет файлов. Извлечение и замена карты пока не имеет значения.

Полный журнал DISM ниже:

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 

У кого-нибудь есть идеи относительно того, как это можно решить?

Спасибо всем!

РЕДАКТИРОВАТЬ : Джеремия Джонсон из MSDN предложил мне обновить мой компьютер до той же версии Windows, что и я пытаюсь прошить на карту, что я и сделал, и теперь я получаю немного другую ошибку:

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. 

Есть идеи?

0
0x80070020 = ERROR_SHARING_VIOLATION = Процесс не может получить доступ к файлу, потому что он используется другим процессом. magicandre1981 6 лет назад 0

0 ответов на вопрос