ИНФОРМАЦИОННАЯ ПОДДЕРЖКА- CUSTOMER ADVISORY
Номер документа: c06424402
Версия: 1
Внимание: Информация, содержащаяся в данном документе, в том числе о продуктах и версиях программного обеспечения, является актуальной на дату выпуска.Документ может быть изменен без предварительного уведомления.
Дата выпуска : 30-Jul-2019
Последнее обновление : 30-Jul-2019
ОПИСАНИЕ
При использовании Microsoft System Center Configuration Manager (SCCM) для настройки систем в области «ПРИМЕНЕНИЕ» появляется следующее сообщение об ошибке DISM:
Ошибка: 1168.
Элемент не найден.
Это может произойти, когда средство командной строки Microsoft Deployment Image Servicing and Management (DISM) выполняет команды для настройки драйвера Realtek HD Audio (SoftPaq SP95193). Проблема возникает из-за того, что драйвер содержит неправильно работающий компонент универсальной платформы Windows (UWP).
ПРИМЕНЕНИЕ
Информация в этом документе относится к следующему:
Компьютеры:
Ноутбук HP EliteBook 830 G5
Операционные системы:
Microsoft Windows 10 RS5 (версия 1809)
РЕШЕНИЕ
Ниже приведены действия, которые необходимо выполнить для установки данного компонента с SCCM.
-
Разархивируйте SoftPaq
-
Дополните командный файл для установки компонента UWP с DISM. Вот команда DISM, которую нужно вставить в командный файл:
@echo ON dism.exe /image:%OSD_System% /add-Driver /Driver:%~dp0HSAcb68d18decd44cd44c94bec5cd2a2c354180.appxbundle /Region=»all» /LicensePath:%~dp0HSAcb68d18decd44cd44c94bec5cd2a2c354180_License1.xml /DependencyPackagePath:%~dp0HSA Micrsooft.VCLibs.140.00_14.0.26706.0_x64_8wekyb3d8bbwe.appx
Примечание.
Переменная
%OSD_System%, используемая в приведенной выше команде, устанавливается предыдущим действием последовательности задач. -
Создайте пакет и добавьте действие командной строки, чтобы выполнить командный файл сразу после образа Windows и перед установкой параметров Windows.
-
Разверните последовательность задач и используйте диспетчер устройств, чтобы убедиться в правильности установки драйвера Realtek Audio.
Hardware platforms affected :
HP EliteBook 830 G5 Notebook PC
Повережденные операционные системы : Не применимо
Поврежденное программное обеспечение : Не применимо
Идентификатор Перекрестной Ссылки Информационной Поддержки : IA06417547
© Copyright 2023 HP Development Company, L.P.
HP Inc. не несет ответственность за технические или редакторские ошибки или упущения, содержащиеся в данном документе. Предоставленная информация предоставляется «как есть» без каких-либо гарантий. В пределах, допускаемых законом, ни HP, ни ее аффилированные лица, субподрядчики или поставщики не будут нести ответственность за случайные, специальные или косвенные убытки, включая стоимость простоя; упущенную прибыль; убытки, связанные с приобретением товаров или услуг-заменителей; убытки за потерю данных или восстановление программного обеспечения. Информация в этом документе может быть изменена без предварительного уведомления. Компания HP Inc. и названия продуктов HP, упомянутые в данном документе, являются товарными знаками HP Inc. в США и других странах. Названия других продуктов и компаний, упомянутые здесь, могут являться товарными знаками соответствующих владельцев.
Здравствуйте, Владимир! У меня целая эпопея с восстановлением хранилища оригинальных компонентов Windows 10. Нужен Ваш совет, думаю я Вас пойму, так как считаю себя опытным пользователем. Установленная на моём ноутбуке Windows 10 работает со значительными ошибками. Решил проверить целостность системных файлов с помощью средства sfc /scannow, но вышла ошибка «Программа защиты ресурсов Windows обнаружила повреждённые файлы, но не может восстановить некоторые из них». Как я понял, ошибка эта обозначает, что нарушена целостность самого хранилища системных компонентов Win 10 (папка WinSxS). Тогда решил проверить целостность этого самого хранилища командой Dism /Online /Cleanup-Image /ScanHealth, вышло сообщение «Хранилище компонентов подлежит восстановлению». Соответственно восстанавливаю хранилище командой Dism /Online /Cleanup-Image /RestoreHealth, данная команда восстанавливает хранилище компонентов с помощью Центра обновлений Windows, и у меня опять выходит ошибка «Не удалось скачать исходные файлы. Укажите расположение файлов, необходимых для восстановления компонента, с помощью параметра «Источник»».
Непонятно, почему вылезла ошибка в этот раз, ведь интернет у меня есть. Ладно думаю, буду использовать для восстановления хранилища компонентов средство PowerShell и ISO-образ Windows 10, скачал дистрибутив Windows 10 и подсоединил его к виртуальному дисководу, запустил PowerShell и ввёл команду: Repair-WindowsImage -Online -RestoreHealth -Source F:sourcesinstall.wim:1 (где буква «F» соответствует букве подключенного образа с Win 10, а цифра «1» — индексу издания в образе Win 10 PRO (именно она у меня установлена), но и в очередной раз я потерпел неудачу — «Ошибка: 0x800f081. Сбой восстановления. Не найден источник восстановления, или хранилище компонентов восстановить невозможно».
На одном известном форуме подсказали, что не нужно подсоединять ISO-образ Windows 10 к виртуальному дисководу, а нужно смонтировать ISO-образ с файлами Win 10 в папку с помощью команды: Dism /Mount-Wim /WimFile:F:sourcesinstall.wim /index:1 /MountDir:C:WIM /ReadOnly (где WIM, это пустая папка на диске C:, в которую монтируется ISO-образ, а F:sourcesinstall.wim — местонахождение файла-образа install.wim), но у меня и здесь уже при монтировании вышел промах «Ошибка: 11. Была сделана попытка загрузить программу, имеющую неверный формат».
Короче я сдался и не знаю, почему у меня ничего не получается.
Автор — Владимир
Привет, друзья. Цель данной статьи рассказать начинающим пользователям в подробностях, как производить восстановление повреждённого хранилища компонентов Windows 10 в различных критических ситуациях. Если вы хотите проверить целостность системных файлов в своей операционной системе, то поможет вам в этом встроенная утилита «sfc /scannow», но если она выдаст ошибку: «Программа защиты ресурсов Windows обнаружила повреждённые файлы, но не может восстановить некоторые из них»,
то значит в вашей OS нарушена целостность самого хранилища системных компонентов (содержимое папки WinSxS). В этом случае нужно проверить целостность хранилища компонентов командой «Dism /Online /Cleanup-Image /ScanHealth», если при данной проверке тоже будут выходить различные ошибки, например, «Хранилище компонентов подлежит восстановлению», «Ошибка: 1910 Не найден указанный источник экспорта объекта», «Ошибка: 1726 Сбой при удалённом вызове процедуры»,
то в этом случае нужно сначала восстановить хранилище компонентов, а уже затем восстанавливать целостность системных файлов с помощью «sfc /scannow», вот здесь начинается самое интересное, так как имеется очень много нюансов, давайте разберём их все.
Запускаем командную строку администратора и вводим команду:
Dism /Online /Cleanup-Image /RestoreHealth
Данная команда восстанавливает хранилище компонентов с помощью Центра обновлений Windows (у вас должен работать Интернет), отсутствующие компоненты будут скачаны на серверах Майкрософт и восстановлены в вашей системе. В итоге должны получить сообщение «Восстановление выполнено успешно».
Но если данная команда выдаст ошибку 0x800f0906 «Не удалось скачать исходные файлы. Укажите расположение файлов, необходимых для восстановления компонента, с помощью параметра «Источник»» или
выйдет другая ошибка 0x800f081f «Не удалось найти исходные файлы. Укажите расположение файлов, необходимых для восстановления компонента, с помощью параметра «Источник»»,
то нужно использовать для восстановления хранилища ISO-образ Windows 10. Скачиваем дистрибутив Windows 10 на сайте Майкрософт и подсоединяем его к виртуальному дисководу (в моём случае (G:)), затем заходим в папку sources и смотрим какое сжатие у файла-образа Windows 10,
обычно бывает install.esd, запоминаем это, пригодится при вводе последующих команд (если в вашем случае попадётся файл install.wim, то читайте информацию в конце статьи).
соответственно вводим следующую команду:
Dism /Online /Cleanup-Image /RestoreHealth /Source:G:Install.esd /limitaccess
где G: — буква виртуального дисковода с Windows 10,
Install.esd — файл-образ Win 10,
/limitaccess — параметр, закрывающий доступ к центру обновлений (ведь мы используем для восстановления дистрибутив Win 10)
В итоге получаем сообщение «Восстановление выполнено успешно. Операция успешно завершена».
Вот таким способом мы с вами восстановили повреждённое хранилище компонентов Windows 10.
Хранилище компонентов восстановлено, теперь восстанавливаем целостность системных файлов Windows 10 командой «sfc /scannow». Получаем сообщение «Программа защиты ресурсов Windows обнаружила повреждённые файлы и успешно их восстановила». Целостность системных файлов Windows 10 восстановлена.
Ещё один способ восстановления хранилища компонентов с помощью файла виртуального жёсткого диска VHD
Друзья, но хочу сказать вам, что в особо сложных случаях, при вводе команды:
Dism /Online /Cleanup-Image /RestoreHealth /Source:G:Install.esd /limitaccess
вы опять получите ошибку, к примеру, «Ошибка: 1726 Сбой при удалённом вызове процедуры».
В этом случае нужно поступить так. Создать виртуальный жёсткий диск и распаковать на него содержимое файла-образа install.esd, после этого запустить команду:
Dism /Online /Cleanup-Image /RestoreHealth /Source:D:Windows /limitaccess
Где D: — буква подсоединённого виртуального диска VHD с развёрнутыми файлами Windows 10.
в результате будет произведено восстановление хранилища компонентов за счёт распакованных на виртуальный диск VHD файлов операционной системы.
Идём в Управлении дисками и создаём виртуальный диск VHD. «Действие»—>«Создать виртуальный жёсткий диск»
Отмечаем пункт «Динамический расширяемый». Размер виртуального жёсткого диска — 20 Гб. Жмём на кнопку «Обзор».
Выбираем в проводнике место сохранения виртуального жёсткого диска. Я выберу диск (F:). Присваиваю имя виртуальному диску — «Win10» и жму кнопку «Сохранить».
«ОК»
Созданный виртуальный диск представляет из себя в Управлении дисками нераспределённое пространство (Диск 1) размером 20 Гб.
Щёлкаем на Диске 1 правой мышью и выбираем «Инициализировать диск»
По большему счёту всё равно какой пункт отмечать — MBR или GPT. Я отмечу пункт «Таблица с GUID разделов (GPT)» и жму «ОК»
После инициализации диска создаём на нераспределённом пространстве простой том.
Новый том (G:) создан.
Архивы операционной системы — install.esd или install.wim могут содержать в себе несколько других архивов (релизов) операционных систем (Про, Домашняя и т.д.) и этим образам присваиваются индексы 1, 2, 3, 4. Чтобы узнать, какие образы находятся внутри нашего файла install.esd, вводим команду:
Dism /Get-WimInfo /WimFile:G:\sourcesinstall.esd
Где G: буква виртуального дисковода с Windows 10,
sourcesinstall.esd — адрес файла-образа install.esd в дистрибутиве Win 10.
На моём компьютере установлена Windows 10 PRO и именно её я хочу восстановить. Нужный мне образ Win 10 PRO имеет индекс 1.
Вводим команду:
Dism /apply-image /imagefile:G:\sourcesinstall.esd /index:1 /ApplyDir:D:\
Где G:sources — адрес расположения файла install.esd,
index:1 — индекс Windows 10 PRO,
D: — подключенный виртуальный диск VHD (раздел D:).
Операция успешно завершена.
Файл install.esd (Win 10 PRO) развёрнут на виртуальный диск VHD (раздел D:).
Ну и теперь восстанавливаем хранилище компонентов за счёт распакованных на виртуальный диск VHD (раздел D:) файлов операционной
системы Win 10, командой:
Dism /Online /Cleanup-Image /RestoreHealth /Source:D:Windows /limitaccess
Восстановление выполнено успешно. Операция успешно завершена.
Вот таким ещё способом мы с вами восстановили повреждённое хранилище компонентов Windows 10! Теперь восстанавливаем целостность системных файлов Windows 10 командой «sfc /scannow».
В конце статьи вам пригодится такая информация. Если в ISO-образе Windows 10, в папке sourses, вам попадётся вместо файла install.esd файл install.wim, то команда восстановления немного изменится:
Dism /Online /Cleanup-Image /RestoreHealth /Source:G:install.wim /limitaccess
Это команда восстановления хранилища компонентов.
- Remove From My Forums
SOLVED: Writing RPi2 image to SD Card: dism Error: 1168 — cannot find element
-
Question
-
Hello all,
I have installed Windows 10 build 10074 (Dutch language) on a PC, no VM.
I have downloaded and extracted Windows_IoT_Core_RPI2_BUILD.zip
One of the files extracted is Flash.ffu
I have established that my SD card is a class 10 and 16 GB
I open an Administrator command prompt.
I have established the SD card is seen as «Disk 1» 14 GB size
I change directory to the directory containing Flash.ffu
I execute the command: «dism.exe /Apply-Image /ImageFile:flash.ffu /ApplyDrive:\.PhysicalDrive1 /SkipPlatformCheck»
I receive follwing error:
Deployment Image Servicing and Management tool
Version: 10.0.10074.0Kan element niet vinden.
The DISM log file can be found at C:WindowsLogsDISMdism.log
> «Kan element niet vinden» translates as : «Cannot find element»
I notice a difference in filename between the extracted «Flash.ffu» and the «flash.ffu» (capital F) so I retry the command as:
«dism.exe /Apply-Image /ImageFile:Flash.ffu /ApplyDrive:\.PhysicalDrive1 /SkipPlatformCheck»
but with same error 1168
The DISM log entry follows below.
Anyone encountering the same issue, and better still, have found a solution?
Many thanks!
Ralph
DISM log file entry:
2015-05-02 13:36:06, Info DISM PID=4348 TID=4092 Scratch directory set to ‘C:UsersralphAppDataLocalTemp’. — CDISMManager::put_ScratchDir
2015-05-02 13:36:06, Info DISM PID=4348 TID=4092 DismCore.dll version: 10.0.10074.0 — CDISMManager::FinalConstruct
2015-05-02 13:36:06, Info DISM PID=4348 TID=4092 Successfully loaded the ImageSession at «C:WindowsSystem32Dism» — CDISMManager::LoadLocalImageSession
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Found and Initialized the DISM Logger. — CDISMProviderStore::Internal_InitializeLogger
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Failed to get and initialize the PE Provider. Continuing by assuming
that it is not a WinPE image. — CDISMProviderStore::Final_OnConnect
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Finished initializing the Provider Map. — CDISMProviderStore::Final_OnConnect
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Getting Provider DISMLogger — CDISMProviderStore::GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has previously been initialized. Returning the existing instance.
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Getting Provider DISMLogger — CDISMProviderStore::GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has previously been initialized. Returning the existing instance.
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Manager: PID=4348 TID=4092 Successfully created the local image session and provider store. — CDISMManager::CreateLocalImageSession
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Getting Provider DISMLogger — CDISMProviderStore::GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has previously been initialized. Returning the existing instance.
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM.EXE:
2015-05-02 13:36:06, Info DISM DISM.EXE: <—— Starting Dism.exe session ——>
2015-05-02 13:36:06, Info DISM DISM.EXE:
2015-05-02 13:36:06, Info DISM DISM.EXE: Host machine information: OS Version=10.0.10074, Running architecture=amd64, Number of processors=2
2015-05-02 13:36:06, Info DISM DISM.EXE: Dism.exe version: 10.0.10074.0
2015-05-02 13:36:06, Info DISM DISM.EXE: Executing command line: dism.exe /Apply-Image /ImageFile:flash.ffu /ApplyDrive:\.PhysicalDrive1
/SkipPlatformCheck
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Getting the collection of providers from a local provider store type. — CDISMProviderStore::GetProviderCollection
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has not previously been encountered. Attempting to initialize
the provider. — CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Loading Provider from location C:WindowsSystem32DismFolderProvider.dll
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Connecting to the provider located at C:WindowsSystem32DismFolderProvider.dll.
— CDISMProviderStore::Internal_LoadProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has not previously been encountered. Attempting to initialize
the provider. — CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Loading Provider from location C:WindowsSystem32DismWimProvider.dll —
CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Connecting to the provider located at C:WindowsSystem32DismWimProvider.dll.
— CDISMProviderStore::Internal_LoadProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has not previously been encountered. Attempting to initialize
the provider. — CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Loading Provider from location C:WindowsSystem32DismVHDProvider.dll —
CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Connecting to the provider located at C:WindowsSystem32DismVHDProvider.dll.
— CDISMProviderStore::Internal_LoadProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has not previously been encountered. Attempting to initialize
the provider. — CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Loading Provider from location C:WindowsSystem32DismImagingProvider.dll
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Connecting to the provider located at C:WindowsSystem32DismImagingProvider.dll.
— CDISMProviderStore::Internal_LoadProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has not previously been encountered. Attempting to initialize
the provider. — CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Loading Provider from location C:WindowsSystem32DismCompatProvider.dll
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Connecting to the provider located at C:WindowsSystem32DismCompatProvider.dll.
— CDISMProviderStore::Internal_LoadProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has not previously been encountered. Attempting to initialize
the provider. — CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Loading Provider from location C:WindowsSystem32DismFfuProvider.dll —
CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Connecting to the provider located at C:WindowsSystem32DismFfuProvider.dll.
— CDISMProviderStore::Internal_LoadProvider
2015-05-02 13:36:06, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2015-05-02 13:36:06, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2015-05-02 13:36:06, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager
2015-05-02 13:36:06, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager
2015-05-02 13:36:06, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.
2015-05-02 13:36:06, Info DISM DISM.EXE: Attempting to add the commands from provider: VHDManager
2015-05-02 13:36:06, Info DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
2015-05-02 13:36:06, Info DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
2015-05-02 13:36:06, Info DISM DISM.EXE: Attempting to add the commands from provider: Compatibility Manager
2015-05-02 13:36:06, Info DISM DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.
2015-05-02 13:36:06, Info DISM DISM.EXE: Attempting to add the commands from provider: FfuManager
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Getting Provider GenericImagingManager — CDISMProviderStore::GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has previously been initialized. Returning the existing instance.
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Getting Provider FfuManager — CDISMProviderStore::GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has previously been initialized. Returning the existing instance.
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Error DISM DISM Imaging Provider: PID=4348 TID=4092 basentsetupopktoolsdismprovidersimagingproviderdllgenericimagingmanager.cpp:2546
— CGenericImagingManager::InternalCmdFFUApply(hr:0x80070490)
2015-05-02 13:36:06, Error DISM DISM Imaging Provider: PID=4348 TID=4092 basentsetupopktoolsdismprovidersimagingproviderdllgenericimagingmanager.cpp:535
— CGenericImagingManager::ExecuteCmdLine(hr:0x80070490)
2015-05-02 13:36:06, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.
2015-05-02 13:36:06, Info DISM DISM.EXE:
2015-05-02 13:36:06, Info DISM DISM.EXE: <—— Ending Dism.exe session ——>
2015-05-02 13:36:06, Info DISM DISM.EXE:
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Found the OSServices. Waiting to finalize it until all other providers
are unloaded. — CDISMProviderStore::Final_OnDisconnect
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Disconnecting Provider: FolderManager — CDISMProviderStore::Internal_DisconnectProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Disconnecting Provider: WimManager — CDISMProviderStore::Internal_DisconnectProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Disconnecting Provider: VHDManager — CDISMProviderStore::Internal_DisconnectProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Disconnecting Provider: GenericImagingManager — CDISMProviderStore::Internal_DisconnectProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Disconnecting Provider: Compatibility Manager — CDISMProviderStore::Internal_DisconnectProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Disconnecting Provider: FfuManager — CDISMProviderStore::Internal_DisconnectProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Releasing the local reference to DISMLogger. Stop logging. — CDISMProviderStore::Internal_DisconnectProvider-
Edited by
Thursday, May 14, 2015 6:16 PM
-
Edited by
Answers
-
According to my research FfuProvider.dll checks this values and fails if one of them is empty.
This is the only reason why dism fails with 1168 error on a Hyper-V virtual machine.You can patch x86 version of FfuProvider.dll with HEX editor.
File offset 0x7312, replace B8 90 04 07 80 with B8 00 00 00 00 (valid for 10074 and 10075)Be sure you are patch and use an appropriate version of x86 dism:
10074
C:windowsSysWOW64Dism.exe
C:windowsSysWOW64dismFfuProvider.dll
To replace this file you have to become his owner and modify access rights.10075
C:Program Files (x86)Windows Kits10Assessment and Deployment KitDeployment Toolsx86DISMdism.exe
C:Program Files (x86)Windows Kits10Assessment and Deployment KitDeployment Toolsx86DISMffuprovider.dllPaths is for x64 windows system.
Be careful: dism can rewrite any drive, including the system drive of running system if you specify its number in \.PhysicalDriveN
-
Edited by
komarov.biz
Thursday, May 14, 2015 9:20 AM -
Marked as answer by
PA1RB
Thursday, May 14, 2015 6:14 PM
-
Edited by
-
I’m very sorry to hear that you are still experiencing this issue. Please know that we are looking into it and hope to have a solution or work-around available for you soon.
The only other suggestion I can think of at the moment is if you could borrow a friends laptop that has a SD card reader built in you might get better results that way.
Jonathan Tanner | Microsoft | Windows 10 IoT Core Insider Preview Support | This posting is provided ‘as is’ with no warranties and confers no rights.
-
Marked as answer by
PA1RB
Saturday, May 9, 2015 9:04 AM
-
Marked as answer by
-
OK, today I copied the Flash.ffu file to a Surface PRO 3 running Windows 10 build 10074.
I have succesfully flashed two SD cards (SanDisk Ultra microSDHC UHS-1 cards with 8 GB, class 10) with the dism.exe on that Surface (dism version 10.0.10074.0).
The first card I flashed using the build-in micro SD-card reader of the Surface. The second card I flashed using the exact same USB cardreader that does not work on my other computer (recognized by wmic as ChipBank SD/MM Reader USB Device).
So the USB reader works on the Surface, but does not work on my other computer.
The Windows 10 builds are both 10074, but the Surface runs the English language, the other computer runs the Dutch language.
The computer on which the USB stick does not work is based on an ASUS P5LD2-VM motherboard (using the build in USB ports).
So I will be off playing with the RPI-2 this weekend, but I will keep an eye out for the solution to the issue in this forum.
Happy to provide more details if required by the engineers!
-
Proposed as answer by
Jonathan TannerMicrosoft employee
Friday, May 8, 2015 11:54 PM -
Edited by
PA1RB
Saturday, May 9, 2015 9:02 AM -
Marked as answer by
PA1RB
Saturday, May 9, 2015 9:04 AM
-
Proposed as answer by
-
Hi,
I had a similar problem with the above mentioned error. I tested all recomended methods/solutions with two USB card readers and three SD cards (class 10) but with no success. Now I installed Windows on the laptop that has SD card reader built
in, as recomended above, and it works fine. Thanks for the tip!-
Marked as answer by
PA1RB
Saturday, May 9, 2015 9:04 AM
-
Marked as answer by
-
Hello MiPiGamer,
The page with instructions is here: http://ms-iot.github.io/content/win10/SetupRPI.htm
The package including the image can be downloaded in step 3:
Download the package «Windows 10 IoT Core Insider Preview Image for Raspberry Pi 2» from Microsoft Connect (you must be signed in to Microsoft Connect).Aside from the issue above writing the image, all went according to the description, and «Blinky» made the LED blink!
-
Marked as answer by
PA1RB
Sunday, May 10, 2015 8:49 PM
-
Marked as answer by
-
Wow — that did the trick allright:
Deployment Image Servicing and Management tool
Version: 10.0.10074.0Applying image
[==========================100.0%==========================]
The operation completed successfully.I confirm this patch absolutely fixed the issue, well done and many thanks indeed !!!
Hope this finds its way into the next release of Windows 10.
Ralph
-
Marked as answer by
PA1RB
Thursday, May 14, 2015 6:14 PM
-
Marked as answer by
- Remove From My Forums
SOLVED: Writing RPi2 image to SD Card: dism Error: 1168 — cannot find element
-
Question
-
Hello all,
I have installed Windows 10 build 10074 (Dutch language) on a PC, no VM.
I have downloaded and extracted Windows_IoT_Core_RPI2_BUILD.zip
One of the files extracted is Flash.ffu
I have established that my SD card is a class 10 and 16 GB
I open an Administrator command prompt.
I have established the SD card is seen as «Disk 1» 14 GB size
I change directory to the directory containing Flash.ffu
I execute the command: «dism.exe /Apply-Image /ImageFile:flash.ffu /ApplyDrive:\.PhysicalDrive1 /SkipPlatformCheck»
I receive follwing error:
Deployment Image Servicing and Management tool
Version: 10.0.10074.0Kan element niet vinden.
The DISM log file can be found at C:WindowsLogsDISMdism.log
> «Kan element niet vinden» translates as : «Cannot find element»
I notice a difference in filename between the extracted «Flash.ffu» and the «flash.ffu» (capital F) so I retry the command as:
«dism.exe /Apply-Image /ImageFile:Flash.ffu /ApplyDrive:\.PhysicalDrive1 /SkipPlatformCheck»
but with same error 1168
The DISM log entry follows below.
Anyone encountering the same issue, and better still, have found a solution?
Many thanks!
Ralph
DISM log file entry:
2015-05-02 13:36:06, Info DISM PID=4348 TID=4092 Scratch directory set to ‘C:UsersralphAppDataLocalTemp’. — CDISMManager::put_ScratchDir
2015-05-02 13:36:06, Info DISM PID=4348 TID=4092 DismCore.dll version: 10.0.10074.0 — CDISMManager::FinalConstruct
2015-05-02 13:36:06, Info DISM PID=4348 TID=4092 Successfully loaded the ImageSession at «C:WindowsSystem32Dism» — CDISMManager::LoadLocalImageSession
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Found and Initialized the DISM Logger. — CDISMProviderStore::Internal_InitializeLogger
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Failed to get and initialize the PE Provider. Continuing by assuming
that it is not a WinPE image. — CDISMProviderStore::Final_OnConnect
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Finished initializing the Provider Map. — CDISMProviderStore::Final_OnConnect
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Getting Provider DISMLogger — CDISMProviderStore::GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has previously been initialized. Returning the existing instance.
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Getting Provider DISMLogger — CDISMProviderStore::GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has previously been initialized. Returning the existing instance.
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Manager: PID=4348 TID=4092 Successfully created the local image session and provider store. — CDISMManager::CreateLocalImageSession
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Getting Provider DISMLogger — CDISMProviderStore::GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has previously been initialized. Returning the existing instance.
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM.EXE:
2015-05-02 13:36:06, Info DISM DISM.EXE: <—— Starting Dism.exe session ——>
2015-05-02 13:36:06, Info DISM DISM.EXE:
2015-05-02 13:36:06, Info DISM DISM.EXE: Host machine information: OS Version=10.0.10074, Running architecture=amd64, Number of processors=2
2015-05-02 13:36:06, Info DISM DISM.EXE: Dism.exe version: 10.0.10074.0
2015-05-02 13:36:06, Info DISM DISM.EXE: Executing command line: dism.exe /Apply-Image /ImageFile:flash.ffu /ApplyDrive:\.PhysicalDrive1
/SkipPlatformCheck
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Getting the collection of providers from a local provider store type. — CDISMProviderStore::GetProviderCollection
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has not previously been encountered. Attempting to initialize
the provider. — CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Loading Provider from location C:WindowsSystem32DismFolderProvider.dll
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Connecting to the provider located at C:WindowsSystem32DismFolderProvider.dll.
— CDISMProviderStore::Internal_LoadProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has not previously been encountered. Attempting to initialize
the provider. — CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Loading Provider from location C:WindowsSystem32DismWimProvider.dll —
CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Connecting to the provider located at C:WindowsSystem32DismWimProvider.dll.
— CDISMProviderStore::Internal_LoadProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has not previously been encountered. Attempting to initialize
the provider. — CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Loading Provider from location C:WindowsSystem32DismVHDProvider.dll —
CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Connecting to the provider located at C:WindowsSystem32DismVHDProvider.dll.
— CDISMProviderStore::Internal_LoadProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has not previously been encountered. Attempting to initialize
the provider. — CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Loading Provider from location C:WindowsSystem32DismImagingProvider.dll
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Connecting to the provider located at C:WindowsSystem32DismImagingProvider.dll.
— CDISMProviderStore::Internal_LoadProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has not previously been encountered. Attempting to initialize
the provider. — CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Loading Provider from location C:WindowsSystem32DismCompatProvider.dll
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Connecting to the provider located at C:WindowsSystem32DismCompatProvider.dll.
— CDISMProviderStore::Internal_LoadProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has not previously been encountered. Attempting to initialize
the provider. — CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Loading Provider from location C:WindowsSystem32DismFfuProvider.dll —
CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Connecting to the provider located at C:WindowsSystem32DismFfuProvider.dll.
— CDISMProviderStore::Internal_LoadProvider
2015-05-02 13:36:06, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2015-05-02 13:36:06, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2015-05-02 13:36:06, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager
2015-05-02 13:36:06, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager
2015-05-02 13:36:06, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.
2015-05-02 13:36:06, Info DISM DISM.EXE: Attempting to add the commands from provider: VHDManager
2015-05-02 13:36:06, Info DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
2015-05-02 13:36:06, Info DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
2015-05-02 13:36:06, Info DISM DISM.EXE: Attempting to add the commands from provider: Compatibility Manager
2015-05-02 13:36:06, Info DISM DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.
2015-05-02 13:36:06, Info DISM DISM.EXE: Attempting to add the commands from provider: FfuManager
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Getting Provider GenericImagingManager — CDISMProviderStore::GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has previously been initialized. Returning the existing instance.
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Getting Provider FfuManager — CDISMProviderStore::GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has previously been initialized. Returning the existing instance.
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Error DISM DISM Imaging Provider: PID=4348 TID=4092 basentsetupopktoolsdismprovidersimagingproviderdllgenericimagingmanager.cpp:2546
— CGenericImagingManager::InternalCmdFFUApply(hr:0x80070490)
2015-05-02 13:36:06, Error DISM DISM Imaging Provider: PID=4348 TID=4092 basentsetupopktoolsdismprovidersimagingproviderdllgenericimagingmanager.cpp:535
— CGenericImagingManager::ExecuteCmdLine(hr:0x80070490)
2015-05-02 13:36:06, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.
2015-05-02 13:36:06, Info DISM DISM.EXE:
2015-05-02 13:36:06, Info DISM DISM.EXE: <—— Ending Dism.exe session ——>
2015-05-02 13:36:06, Info DISM DISM.EXE:
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Found the OSServices. Waiting to finalize it until all other providers
are unloaded. — CDISMProviderStore::Final_OnDisconnect
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Disconnecting Provider: FolderManager — CDISMProviderStore::Internal_DisconnectProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Disconnecting Provider: WimManager — CDISMProviderStore::Internal_DisconnectProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Disconnecting Provider: VHDManager — CDISMProviderStore::Internal_DisconnectProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Disconnecting Provider: GenericImagingManager — CDISMProviderStore::Internal_DisconnectProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Disconnecting Provider: Compatibility Manager — CDISMProviderStore::Internal_DisconnectProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Disconnecting Provider: FfuManager — CDISMProviderStore::Internal_DisconnectProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Releasing the local reference to DISMLogger. Stop logging. — CDISMProviderStore::Internal_DisconnectProvider-
Edited by
Thursday, May 14, 2015 6:16 PM
-
Edited by
Answers
-
According to my research FfuProvider.dll checks this values and fails if one of them is empty.
This is the only reason why dism fails with 1168 error on a Hyper-V virtual machine.You can patch x86 version of FfuProvider.dll with HEX editor.
File offset 0x7312, replace B8 90 04 07 80 with B8 00 00 00 00 (valid for 10074 and 10075)Be sure you are patch and use an appropriate version of x86 dism:
10074
C:windowsSysWOW64Dism.exe
C:windowsSysWOW64dismFfuProvider.dll
To replace this file you have to become his owner and modify access rights.10075
C:Program Files (x86)Windows Kits10Assessment and Deployment KitDeployment Toolsx86DISMdism.exe
C:Program Files (x86)Windows Kits10Assessment and Deployment KitDeployment Toolsx86DISMffuprovider.dllPaths is for x64 windows system.
Be careful: dism can rewrite any drive, including the system drive of running system if you specify its number in \.PhysicalDriveN
-
Edited by
komarov.biz
Thursday, May 14, 2015 9:20 AM -
Marked as answer by
PA1RB
Thursday, May 14, 2015 6:14 PM
-
Edited by
-
I’m very sorry to hear that you are still experiencing this issue. Please know that we are looking into it and hope to have a solution or work-around available for you soon.
The only other suggestion I can think of at the moment is if you could borrow a friends laptop that has a SD card reader built in you might get better results that way.
Jonathan Tanner | Microsoft | Windows 10 IoT Core Insider Preview Support | This posting is provided ‘as is’ with no warranties and confers no rights.
-
Marked as answer by
PA1RB
Saturday, May 9, 2015 9:04 AM
-
Marked as answer by
-
OK, today I copied the Flash.ffu file to a Surface PRO 3 running Windows 10 build 10074.
I have succesfully flashed two SD cards (SanDisk Ultra microSDHC UHS-1 cards with 8 GB, class 10) with the dism.exe on that Surface (dism version 10.0.10074.0).
The first card I flashed using the build-in micro SD-card reader of the Surface. The second card I flashed using the exact same USB cardreader that does not work on my other computer (recognized by wmic as ChipBank SD/MM Reader USB Device).
So the USB reader works on the Surface, but does not work on my other computer.
The Windows 10 builds are both 10074, but the Surface runs the English language, the other computer runs the Dutch language.
The computer on which the USB stick does not work is based on an ASUS P5LD2-VM motherboard (using the build in USB ports).
So I will be off playing with the RPI-2 this weekend, but I will keep an eye out for the solution to the issue in this forum.
Happy to provide more details if required by the engineers!
-
Proposed as answer by
Jonathan TannerMicrosoft employee
Friday, May 8, 2015 11:54 PM -
Edited by
PA1RB
Saturday, May 9, 2015 9:02 AM -
Marked as answer by
PA1RB
Saturday, May 9, 2015 9:04 AM
-
Proposed as answer by
-
Hi,
I had a similar problem with the above mentioned error. I tested all recomended methods/solutions with two USB card readers and three SD cards (class 10) but with no success. Now I installed Windows on the laptop that has SD card reader built
in, as recomended above, and it works fine. Thanks for the tip!-
Marked as answer by
PA1RB
Saturday, May 9, 2015 9:04 AM
-
Marked as answer by
-
Hello MiPiGamer,
The page with instructions is here: http://ms-iot.github.io/content/win10/SetupRPI.htm
The package including the image can be downloaded in step 3:
Download the package «Windows 10 IoT Core Insider Preview Image for Raspberry Pi 2» from Microsoft Connect (you must be signed in to Microsoft Connect).Aside from the issue above writing the image, all went according to the description, and «Blinky» made the LED blink!
-
Marked as answer by
PA1RB
Sunday, May 10, 2015 8:49 PM
-
Marked as answer by
-
Wow — that did the trick allright:
Deployment Image Servicing and Management tool
Version: 10.0.10074.0Applying image
[==========================100.0%==========================]
The operation completed successfully.I confirm this patch absolutely fixed the issue, well done and many thanks indeed !!!
Hope this finds its way into the next release of Windows 10.
Ralph
-
Marked as answer by
PA1RB
Thursday, May 14, 2015 6:14 PM
-
Marked as answer by
Using the latest version of DISM (Version: 10.0.14393.0) I mounted the Install.wim for W10 1607 and injected the five roll-up updates (KB3193494, KB3176938, KB3176934, KB3176495, KB3176929.) I got no errors during the installs, but afterward I got
the 1168 error and the message that the image was no longer serviceable.
I first tried this on my host system running W10 1511, then my Hyper-V VM running W10 1607 (with SecureBoot enabled). The error is the same on both. Injecting only one KB gave no error.
The roll-up updates were DLed from Microsoft Update Catalog and the hash codes confirmed.
Below is the DISM log (LogLevel:1).
Thanks and enjoy, John.
[6632] Caller did not request sparse mount
[6632] Mounting new image.
Wim: [\tsclientWW10-FXsourcesinstall.wim]
Image Index: [1]
Mount Path: [C:FastMount]
[6632] Wimserv process started for guid 577426ba-4a55-4981-9d32-ba6794ce4ab8. Id is 1920
[1920] ImageUnmarshallHandle: Reconstituting wim at \tsclientWW10-FXsourcesinstall.wim.
[1920] Mounted image at C:FastMount.
[696] ImageUnmarshallHandle: Reconstituting wim at \tsclientWW10-FXsourcesinstall.wim.
[696] ImageUnmarshallHandle: Reconstituting wim at \tsclientWW10-FXsourcesinstall.wim.
2016-09-26 12:47:39, Error DISM DISM Package Manager: PID=5736 TID=2476 Incorrect parameter E:W10-ComponentsBuild-ComponentsUpdates — path not found
— CDISMPackageManager::Internal_CreatePackageByPath(hr:0x80070003)
2016-09-26 12:47:39, Error DISM DISM Package Manager: PID=5736 TID=2476 Failed to get the underlying CBS package. — CDISMPackageManager::OpenPackageByPath(hr:0x80070003)
2016-09-26 12:47:39, Error DISM DISM Package Manager: PID=5736 TID=2476 Failed to open the package at location: «E:W10-ComponentsBuild-ComponentsUpdates»
— CPackageManagerCLIHandler::ProcessPackagePath(hr:0x80070003)
2016-09-26 12:47:39, Error DISM DISM Package Manager: PID=5736 TID=2476 Failed while processing command add-package. — CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x80070003)
[4944] ImageUnmarshallHandle: Reconstituting wim at \tsclientWW10-FXsourcesinstall.wim.
[4944] ImageUnmarshallHandle: Reconstituting wim at \tsclientWW10-FXsourcesinstall.wim.
[1920] ReadWriteDataInternal:(135)
[1920] ResExtract:(558)
[1920] [ResExtract:(559) -> WIMCopyFileEx failed] C:FastMountWindowsWinSxSamd64_microsoft-windows-ui-search_31bf3856ad364e35_10.0.14393.0_none_2285a4ae39b49b48logo.scale-80.png (Error = 59)
[1920]
2016-09-26 13:16:37, Error CBS Doqe: Failed processing queue [HRESULT = 0x80070490 — ERROR_NOT_FOUND]
2016-09-26 13:16:37, Error CBS Doqe: Failed while processing driver operations queue. [HRESULT = 0x80070490 — ERROR_NOT_FOUND]
2016-09-26 13:16:37, Error CBS Failed to process single phase execution. [HRESULT = 0x80070490 — ERROR_NOT_FOUND]
2016-09-26 13:16:38, Error CBS Failed to perform operation. [HRESULT = 0x80070490 — ERROR_NOT_FOUND]
2016-09-26 13:16:38, Error DISM DISM Package Manager: PID=1352 TID=4416 Failed finalizing changes. — CDISMPackageManager::Internal_Finalize(hr:0x80070490)
2016-09-26 13:16:42, Error DISM DISM Package Manager: PID=1352 TID=4416 Failed processing package changes — CDISMPackageManager::ProcessChanges(hr:0x80070490)
2016-09-26 13:16:42, Error DISM DISM Package Manager: PID=1352 TID=4416 Failed to process package changes in unattend file. — CPackageManagerUnattendHandler::Internal_ProcessChanges(hr:0x80070490)
2016-09-26 13:16:42, Error DISM DISM Package Manager: PID=1352 TID=4416 Failed to process package changes. — CPackageManagerUnattendHandler::Apply(hr:0x80070490)
2016-09-26 13:16:42, Error DISM DISM Package Manager: PID=1352 TID=4416 Failed to Apply the unattend. — CDISMPackageManager::Apply(hr:0x80070490)
2016-09-26 13:16:42, Error DISM DISM Unattend Manager: PID=1352 TID=4416 «Error applying unattend for provider: DISM Package Manager» — CUnattendManager::Apply(hr:0x80070490)
2016-09-26 13:16:42, Error DISM DISM Package Manager: PID=1352 TID=4416 Failed applying the unattend file from the MSU package. — CMsuPackage::ApplyMsuUnattend(hr:0x80070490)
2016-09-26 13:16:42, Error DISM DISM Package Manager: PID=1352 TID=4416 Failed to apply the MSU unattend file to the image. — CMsuPackage::Install(hr:0x80070490)
2016-09-26 13:16:43, Error DISM DISM Package Manager: PID=1352 TID=4416 Discard this Windows image and try the operation again on a new Windows image.
— GetCbsErrorMsg
2016-09-26 13:16:43, Error DISM DISM Package Manager: PID=1352 TID=4416 The specified image is no longer serviceable. Unmount the image and discard your
changes. Mount the original image to try the operation again. — CPackageManagerCLIHandler::ReportFailedPackage
2016-09-26 13:17:27, Error CBS The image has been damaged by an offline servicing failure and no further servicing is allowed. [HRESULT = 0x800f0830
— CBS_E_IMAGE_UNSERVICEABLE]
2016-09-26 13:17:27, Error CBS Failed to perform operation. [HRESULT = 0x800f0830 — CBS_E_IMAGE_UNSERVICEABLE]
2016-09-26 13:17:27, Error DISM DISM Package Manager: PID=1352 TID=4416 Failed finalizing changes. — CDISMPackageManager::Internal_Finalize(hr:0x800f0830)
2016-09-26 13:17:27, Error DISM DISM Package Manager: PID=1352 TID=4416 Discard this Windows image and try the operation again on a new Windows image.
— GetCbsErrorMsg
2016-09-26 13:17:27, Error DISM DISM Package Manager: PID=1352 TID=4416 Failed processing package changes — CDISMPackageManager::ProcessChanges(hr:0x800f0830)
2016-09-26 13:17:27, Error DISM DISM Package Manager: PID=1352 TID=4416 Discard this Windows image and try the operation again on a new Windows image.
— GetCbsErrorMsg
2016-09-26 13:17:27, Error DISM DISM Package Manager: PID=1352 TID=4416 Failed to process package changes in unattend file. — CPackageManagerUnattendHandler::Internal_ProcessChanges(hr:0x800f0830)
2016-09-26 13:17:27, Error DISM DISM Package Manager: PID=1352 TID=4416 Failed to process package changes. — CPackageManagerUnattendHandler::Apply(hr:0x800f0830)
2016-09-26 13:17:27, Error DISM DISM Package Manager: PID=1352 TID=4416 Failed to Apply the unattend. — CDISMPackageManager::Apply(hr:0x800f0830)
2016-09-26 13:17:27, Error DISM DISM Unattend Manager: PID=1352 TID=4416 «Error applying unattend for provider: DISM Package Manager» — CUnattendManager::Apply(hr:0x800f0830)
2016-09-26 13:17:27, Error DISM DISM Package Manager: PID=1352 TID=4416 Failed applying the unattend file from the MSU package. — CMsuPackage::ApplyMsuUnattend(hr:0x800f0830)
2016-09-26 13:17:27, Error DISM DISM Package Manager: PID=1352 TID=4416 Failed to apply the MSU unattend file to the image. — CMsuPackage::Install(hr:0x800f0830)
2016-09-26 13:17:27, Error DISM DISM Package Manager: PID=1352 TID=4416 Failed while processing command add-package. — CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x80070490)
- Remove From My Forums
SOLVED: Writing RPi2 image to SD Card: dism Error: 1168 — cannot find element
-
Question
-
Hello all,
I have installed Windows 10 build 10074 (Dutch language) on a PC, no VM.
I have downloaded and extracted Windows_IoT_Core_RPI2_BUILD.zip
One of the files extracted is Flash.ffu
I have established that my SD card is a class 10 and 16 GB
I open an Administrator command prompt.
I have established the SD card is seen as «Disk 1» 14 GB size
I change directory to the directory containing Flash.ffu
I execute the command: «dism.exe /Apply-Image /ImageFile:flash.ffu /ApplyDrive:\.PhysicalDrive1 /SkipPlatformCheck»
I receive follwing error:
Deployment Image Servicing and Management tool
Version: 10.0.10074.0Kan element niet vinden.
The DISM log file can be found at C:WindowsLogsDISMdism.log
> «Kan element niet vinden» translates as : «Cannot find element»
I notice a difference in filename between the extracted «Flash.ffu» and the «flash.ffu» (capital F) so I retry the command as:
«dism.exe /Apply-Image /ImageFile:Flash.ffu /ApplyDrive:\.PhysicalDrive1 /SkipPlatformCheck»
but with same error 1168
The DISM log entry follows below.
Anyone encountering the same issue, and better still, have found a solution?
Many thanks!
Ralph
DISM log file entry:
2015-05-02 13:36:06, Info DISM PID=4348 TID=4092 Scratch directory set to ‘C:UsersralphAppDataLocalTemp’. — CDISMManager::put_ScratchDir
2015-05-02 13:36:06, Info DISM PID=4348 TID=4092 DismCore.dll version: 10.0.10074.0 — CDISMManager::FinalConstruct
2015-05-02 13:36:06, Info DISM PID=4348 TID=4092 Successfully loaded the ImageSession at «C:WindowsSystem32Dism» — CDISMManager::LoadLocalImageSession
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Found and Initialized the DISM Logger. — CDISMProviderStore::Internal_InitializeLogger
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Failed to get and initialize the PE Provider. Continuing by assuming
that it is not a WinPE image. — CDISMProviderStore::Final_OnConnect
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Finished initializing the Provider Map. — CDISMProviderStore::Final_OnConnect
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Getting Provider DISMLogger — CDISMProviderStore::GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has previously been initialized. Returning the existing instance.
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Getting Provider DISMLogger — CDISMProviderStore::GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has previously been initialized. Returning the existing instance.
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Manager: PID=4348 TID=4092 Successfully created the local image session and provider store. — CDISMManager::CreateLocalImageSession
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Getting Provider DISMLogger — CDISMProviderStore::GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has previously been initialized. Returning the existing instance.
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM.EXE:
2015-05-02 13:36:06, Info DISM DISM.EXE: <—— Starting Dism.exe session ——>
2015-05-02 13:36:06, Info DISM DISM.EXE:
2015-05-02 13:36:06, Info DISM DISM.EXE: Host machine information: OS Version=10.0.10074, Running architecture=amd64, Number of processors=2
2015-05-02 13:36:06, Info DISM DISM.EXE: Dism.exe version: 10.0.10074.0
2015-05-02 13:36:06, Info DISM DISM.EXE: Executing command line: dism.exe /Apply-Image /ImageFile:flash.ffu /ApplyDrive:\.PhysicalDrive1
/SkipPlatformCheck
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Getting the collection of providers from a local provider store type. — CDISMProviderStore::GetProviderCollection
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has not previously been encountered. Attempting to initialize
the provider. — CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Loading Provider from location C:WindowsSystem32DismFolderProvider.dll
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Connecting to the provider located at C:WindowsSystem32DismFolderProvider.dll.
— CDISMProviderStore::Internal_LoadProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has not previously been encountered. Attempting to initialize
the provider. — CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Loading Provider from location C:WindowsSystem32DismWimProvider.dll —
CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Connecting to the provider located at C:WindowsSystem32DismWimProvider.dll.
— CDISMProviderStore::Internal_LoadProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has not previously been encountered. Attempting to initialize
the provider. — CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Loading Provider from location C:WindowsSystem32DismVHDProvider.dll —
CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Connecting to the provider located at C:WindowsSystem32DismVHDProvider.dll.
— CDISMProviderStore::Internal_LoadProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has not previously been encountered. Attempting to initialize
the provider. — CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Loading Provider from location C:WindowsSystem32DismImagingProvider.dll
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Connecting to the provider located at C:WindowsSystem32DismImagingProvider.dll.
— CDISMProviderStore::Internal_LoadProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has not previously been encountered. Attempting to initialize
the provider. — CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Loading Provider from location C:WindowsSystem32DismCompatProvider.dll
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Connecting to the provider located at C:WindowsSystem32DismCompatProvider.dll.
— CDISMProviderStore::Internal_LoadProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has not previously been encountered. Attempting to initialize
the provider. — CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Loading Provider from location C:WindowsSystem32DismFfuProvider.dll —
CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Connecting to the provider located at C:WindowsSystem32DismFfuProvider.dll.
— CDISMProviderStore::Internal_LoadProvider
2015-05-02 13:36:06, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2015-05-02 13:36:06, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2015-05-02 13:36:06, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager
2015-05-02 13:36:06, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager
2015-05-02 13:36:06, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.
2015-05-02 13:36:06, Info DISM DISM.EXE: Attempting to add the commands from provider: VHDManager
2015-05-02 13:36:06, Info DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
2015-05-02 13:36:06, Info DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
2015-05-02 13:36:06, Info DISM DISM.EXE: Attempting to add the commands from provider: Compatibility Manager
2015-05-02 13:36:06, Info DISM DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.
2015-05-02 13:36:06, Info DISM DISM.EXE: Attempting to add the commands from provider: FfuManager
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Getting Provider GenericImagingManager — CDISMProviderStore::GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has previously been initialized. Returning the existing instance.
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Getting Provider FfuManager — CDISMProviderStore::GetProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Provider has previously been initialized. Returning the existing instance.
— CDISMProviderStore::Internal_GetProvider
2015-05-02 13:36:06, Error DISM DISM Imaging Provider: PID=4348 TID=4092 basentsetupopktoolsdismprovidersimagingproviderdllgenericimagingmanager.cpp:2546
— CGenericImagingManager::InternalCmdFFUApply(hr:0x80070490)
2015-05-02 13:36:06, Error DISM DISM Imaging Provider: PID=4348 TID=4092 basentsetupopktoolsdismprovidersimagingproviderdllgenericimagingmanager.cpp:535
— CGenericImagingManager::ExecuteCmdLine(hr:0x80070490)
2015-05-02 13:36:06, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.
2015-05-02 13:36:06, Info DISM DISM.EXE:
2015-05-02 13:36:06, Info DISM DISM.EXE: <—— Ending Dism.exe session ——>
2015-05-02 13:36:06, Info DISM DISM.EXE:
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Found the OSServices. Waiting to finalize it until all other providers
are unloaded. — CDISMProviderStore::Final_OnDisconnect
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Disconnecting Provider: FolderManager — CDISMProviderStore::Internal_DisconnectProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Disconnecting Provider: WimManager — CDISMProviderStore::Internal_DisconnectProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Disconnecting Provider: VHDManager — CDISMProviderStore::Internal_DisconnectProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Disconnecting Provider: GenericImagingManager — CDISMProviderStore::Internal_DisconnectProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Disconnecting Provider: Compatibility Manager — CDISMProviderStore::Internal_DisconnectProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Disconnecting Provider: FfuManager — CDISMProviderStore::Internal_DisconnectProvider
2015-05-02 13:36:06, Info DISM DISM Provider Store: PID=4348 TID=4092 Releasing the local reference to DISMLogger. Stop logging. — CDISMProviderStore::Internal_DisconnectProvider-
Edited by
Thursday, May 14, 2015 6:16 PM
-
Edited by
Answers
-
According to my research FfuProvider.dll checks this values and fails if one of them is empty.
This is the only reason why dism fails with 1168 error on a Hyper-V virtual machine.You can patch x86 version of FfuProvider.dll with HEX editor.
File offset 0x7312, replace B8 90 04 07 80 with B8 00 00 00 00 (valid for 10074 and 10075)Be sure you are patch and use an appropriate version of x86 dism:
10074
C:windowsSysWOW64Dism.exe
C:windowsSysWOW64dismFfuProvider.dll
To replace this file you have to become his owner and modify access rights.10075
C:Program Files (x86)Windows Kits10Assessment and Deployment KitDeployment Toolsx86DISMdism.exe
C:Program Files (x86)Windows Kits10Assessment and Deployment KitDeployment Toolsx86DISMffuprovider.dllPaths is for x64 windows system.
Be careful: dism can rewrite any drive, including the system drive of running system if you specify its number in \.PhysicalDriveN
-
Edited by
komarov.biz
Thursday, May 14, 2015 9:20 AM -
Marked as answer by
PA1RB
Thursday, May 14, 2015 6:14 PM
-
Edited by
-
I’m very sorry to hear that you are still experiencing this issue. Please know that we are looking into it and hope to have a solution or work-around available for you soon.
The only other suggestion I can think of at the moment is if you could borrow a friends laptop that has a SD card reader built in you might get better results that way.
Jonathan Tanner | Microsoft | Windows 10 IoT Core Insider Preview Support | This posting is provided ‘as is’ with no warranties and confers no rights.
-
Marked as answer by
PA1RB
Saturday, May 9, 2015 9:04 AM
-
Marked as answer by
-
OK, today I copied the Flash.ffu file to a Surface PRO 3 running Windows 10 build 10074.
I have succesfully flashed two SD cards (SanDisk Ultra microSDHC UHS-1 cards with 8 GB, class 10) with the dism.exe on that Surface (dism version 10.0.10074.0).
The first card I flashed using the build-in micro SD-card reader of the Surface. The second card I flashed using the exact same USB cardreader that does not work on my other computer (recognized by wmic as ChipBank SD/MM Reader USB Device).
So the USB reader works on the Surface, but does not work on my other computer.
The Windows 10 builds are both 10074, but the Surface runs the English language, the other computer runs the Dutch language.
The computer on which the USB stick does not work is based on an ASUS P5LD2-VM motherboard (using the build in USB ports).
So I will be off playing with the RPI-2 this weekend, but I will keep an eye out for the solution to the issue in this forum.
Happy to provide more details if required by the engineers!
-
Proposed as answer by
Jonathan TannerMicrosoft employee
Friday, May 8, 2015 11:54 PM -
Edited by
PA1RB
Saturday, May 9, 2015 9:02 AM -
Marked as answer by
PA1RB
Saturday, May 9, 2015 9:04 AM
-
Proposed as answer by
-
Hi,
I had a similar problem with the above mentioned error. I tested all recomended methods/solutions with two USB card readers and three SD cards (class 10) but with no success. Now I installed Windows on the laptop that has SD card reader built
in, as recomended above, and it works fine. Thanks for the tip!-
Marked as answer by
PA1RB
Saturday, May 9, 2015 9:04 AM
-
Marked as answer by
-
Hello MiPiGamer,
The page with instructions is here: http://ms-iot.github.io/content/win10/SetupRPI.htm
The package including the image can be downloaded in step 3:
Download the package «Windows 10 IoT Core Insider Preview Image for Raspberry Pi 2» from Microsoft Connect (you must be signed in to Microsoft Connect).Aside from the issue above writing the image, all went according to the description, and «Blinky» made the LED blink!
-
Marked as answer by
PA1RB
Sunday, May 10, 2015 8:49 PM
-
Marked as answer by
-
Wow — that did the trick allright:
Deployment Image Servicing and Management tool
Version: 10.0.10074.0Applying image
[==========================100.0%==========================]
The operation completed successfully.I confirm this patch absolutely fixed the issue, well done and many thanks indeed !!!
Hope this finds its way into the next release of Windows 10.
Ralph
-
Marked as answer by
PA1RB
Thursday, May 14, 2015 6:14 PM
-
Marked as answer by
When you try to upgrade Windows Server 2019 Evaluation version to a licensed full version using a MAK volume license key you may receive below error message.
Error 1168
The specified product key could not be validated.
Check that the specified product key is valid and that it matches the target edition.
To fix this first you have to install a KMS client key using DISM command line tool. Keys are available on https://docs.microsoft.com/en-us/windows-server/get-started/kmsclientkeys (Get your respective key from “Windows Server LTSC/LTSB versions” section)
Now open CMD or PowerShell with administrative privileges and execute below command.
DISM /Online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula
For more details on “Set-Edition” option follow the article in here.
Once the above command is successfully executed you will prompt for restart the server. Restart the server and execute the below command to install the new MAK key which is available on Volume Licensing Service Center.
slmgr /ipk <product key>
slmgr /ato
Now the Windows Activation should have completed successfully.
Reader Interactions
Trackbacks