Windows installation needs drivers

How to Inject Drivers into a Windows 10 WIM/ISO Install Image?

In this article, we will show you how to add the necessary device drivers directly into the Windows installation image. The integration of the device drivers into your offline Windows image is widely used when you need to deploy a large number of workstations and servers on the same hardware. Instead of manually installing specific drivers (including AHCI/ RAID/ NVMe) on each device, you can significantly simplify and accelerate OS deployment process by integrating the drivers directly into the Driver Store of the Windows installation image in the ISO/WIM or the VHD/VHDX file. When installing such an image, the Plug and Play service (PnP) will automatically install the necessary drivers for the detected hardware.

This manual is about the integration of device drivers into a Windows image and can be used both on desktop editions of Windows 10, Windows 8.1 and on Windows Server 2016, 2012 R2.

In modern Windows editions you can add drivers to the installation ISO image in two ways:

  • using the DISM utility;
  • using the PowerShell CLI.

In fact, both techniques perform the same operation: add additional drivers into the offline Windows image. How to use it is a matter of personal administrator preference. Let us consider in more detail both ways on the example of integrating drivers into the Windows 10 installation image.

How to Inject Driver into a Windows 10 Install Image using PowerShell?

First of all you need to download and place all the necessary device drivers in one directory (for each driver you need to create a separate folder). Please note that many vendors (including Dell, HP) supply their drivers in the form of self-extracting exe or zip archive files. Such archives must be unpacked to local drive so that the directory with drivers contains inf, cat and sys files.

Before you start, create the following directory structure on your local drive:

    The Drivers folder – it contains unpacked driver files for your Windows 10 edition (which are supposed to be integrated into the install media);

List all Windows editions contained in the Install.wim file using the Get-WindowsImage PowerShell cmdlet. This is necessary in order to specify the Widows edition into which it is planned to integrate the additional drivers.

Get-WindowsImage -ImagePath C:\WinWork\ISO\install.wim

In our example, the WIM file contains only one Windows 10 Pro edition with the index 1 (ImageIndex: 1).
Next you need to mount the image of the selected Windows edition in the directory Mount. The Windows image index, which you need to mount, must be specified as an argument of the Index parameter:

Mount-WindowsImage -Path C:\WinWork\Mount\ -ImagePath C:\WinWork\ISO\install.wim -Index 1

After the image is mounted, you can add drivers to it from the Drivers directory using the command:

Add-WindowsDriver -Path C:\WinWork\Mount\ -Driver C:\WinWork\Drivers -Recurse

The Add-WindowsDriver cmdlet will recursively search (the -Recurse parameter) the specified folder for all *.inf files with driver description. According to the description in the inf file, the cmdlet will add the dependent INF, DLL, CAT, PNF, etc. files to the Driver Store of your Windows image.

So, the drivers are copied, and the current image can be unmounted with saving changes:

Dismount-WindowsImage -Path C:\WinWork\Mount\ –Save

In the above example, we added drivers to the Install.wim image file. This is the Windows image that will be deployed to a computer local disk. If you need to add drivers to a Windows boot image (from which the computer boots when you install Windows), you need to add drivers to the Boot.wim file. This is usually necessary when installing Windows, the computer doesn’t detect local hard drives or doesn’t connect to LAN. Usually, only drivers of disk controllers and network adapters need to be integrated into the boot.wim image.

Читайте также:  Kb4535680 что за обновление windows 10

You can convert your install.wim file containing the Windows installation image with integrated drivers into the install.esd format using the DISM compress option:

DISM /Export-Image /SourceImageFile:C:\WinWork\ISO\install.wim /SourceIndex:1 /DestinationImageFile:C:\WinWork\ISO\install.esd /Compress:recovery

It remains to create an ISO file using Dism++ or the oscdimg command and write it to a disk or USB flash drive:

oscdimg -n -m -bc:\ISO\boot\etfsboot.com C:\ISO C:\new_win10pro_image.iso

Adding Drivers to an Offline Windows Server 2012 R2 Image Using DISM

Now we will show an example of integrating drivers into the install image of Windows Server 2012 R2. If you are building an image on Windows 8.1, you will need to download and install Windows 8 ADK (http://www.microsoft.com/en-us/download/details.aspx?id=30652) to continue working with the latest version of DISM. You need to install the Deployment Tools component.

Use the same directory structure: Drivers (drivers and *.inf files are stored), ISO (unpacked image of Windows Server 2012 R2), Mount (image mount directory). It is assumed that in the install.wim file we are interested in the Windows Server 2012 R2 Datacenter edition with index 3.

Mount the install.wim installation image:

dism /Mount-Wim /WimFile:c:\iso\sources\install.wim /Index:3 /MountDir:c:\mount

Run a recursive search and integration of the new drivers into the driver store of the Windows Server 2012 R2 image:

dism /image:c:\mount /Add-Driver «/driver:c:\drivers\» /recurse

Save the changes to the WIM image:

dism /unmount-wim /mountdir:d:\mount /commit

If you need to add drivers to all Windows Server editions contained in the wim file, these operations must be performed for all indexes of OS versions that the command returned:

dism /get-wiminfo /wimfile:d:\install.wim

In addition to driver integration, it is usually necessary to inject security updates to the Windows image to be installed (How to add updates into the Windows installation image). This will increase the security of your OS immediately after the installation. It remains to write the resulting installation image to the DVD disk or USB flash drive or convert it to the ISO image.

«A media driver your computer needs is missing» or «A required CD/DVD drive device driver is missing» error message when you install Windows

Symptoms

When you try to install Windows on a computer by using a Windows installation DVD or ISO file, you receive one of the following error messages.

Note This issue occurs when you try to install Windows 7, Windows Server 2008 R2, Windows 8, or Windows Server 2012.

A media driver your computer needs is missing. This could be a DVD, USB, or Hard disk driver. If you have a CD, DVD, or USB flash drive with the driver on it, please insert it now.

Note: If the installation media for Windows in the DVD drive or on a USB drive, you can safely remove it for this step.

A required CD/DVD drive device driver is missing. If you have a driver floppy disk, CD, DVD, or USB flash drive, please insert it now.

Note: If the Windows installation media is in the CD/DVD drive, you can safely remove it for this step

To resolve this issue, use one of the following methods, as appropriate for your situation:

Burn the installation DVD at a slower speed.

Use a better quality DVD to create the installation DVD.

Update the BIOS firmware for your DVD drive.

Use the Windows 7 USB/DVD Download tool to create a bootable USB flash drive, and then use the USB flash drive to install Windows.

This issue occurs for one of the following reasons:

The installation DVD is removed during the setup process.

A low-quality DVD was used to create the installation DVD.

The speed at which the installation DVD was burned was too fast.

The DVD drive cannot read the media.

The ISO file is corrupted.

Use one of the following methods to troubleshoot this issue, as appropriate for your situation:

Читайте также:  Windows delete service from services

Run the DVD on a different computer to determine whether the DVD works correctly.

Test your DVD drive by using an official Windows installation DVD.

Attach the ISO file to a virtual machine to check whether it is corrupted.

When you troubleshoot this issue, first check whether the ISO file is corrupted. Each ISO file that you download from the MSDN Subscriber Downloads website has a SHA1 value that you can compare with the SHA1 value on the MSDN Subscriber Downloads website. However, the Microsoft Volume Licensing Service Center (VLSC) site currently does not list checksums or SHA1 values.

To compare the SHA1 values for the ISO file that you downloaded, follow these steps:

Install the Microsoft File Checksum Integrity Verifier tool. To download the tool, go to the following Microsoft Download Center website:

At a command prompt, type the following command, and then press Enter:

Fciv.exe .iso -sha1

Verify that the SHA1 value matches the SHA1 value that is listed on the MSDN Subscriber Downloads website.

For example, the following information is displayed for the ISO file for Windows 7 Enterprise with Service Pack 1 (x64) on the MSDN Subscriber Downloads website:

File Name: en_windows_7_enterprise_with_sp1_x64_dvd_u_677651.iso

The following information is displayed when you run the command for the ISO file for Windows 7 with Service Pack 1 (x64):

Command: fciv.exe en_windows_7_enterprise_with_sp1_x64_dvd_u_677651.iso -sha1

The ISO file is not corrupted if the SHA1 value on the MSDN Subscriber Downloads website matches the value that is generated when you run the command.

Установка Windows 10 — отсутствует драйвер носителя, необходимый компьютеру

самое странное происходит со мной:
У меня есть ноутбук hp, который не имеет внутреннего DVD-привода, поэтому я установил через внешний USB LG Blueray burner.

  1. сначала я установил Windows 10 customer preview в один раздел.
  2. затем я установил Windows 8 в другой раздел.

все работает нормально. У меня есть компьютер с двойной загрузкой, где я могу проверить свое программное обеспечение на Windows 8 и 10.

компьютер имеет следующие разделы:

  1. раздел восстановления (300 МБ)
  2. системный раздел EFI (100 МБ)
  3. раздел данных (400 ГБ)
  4. ОС Windows 8 (40 ГБ)
  5. Window 10 preview (40 GB)

повторяю: все работает отлично. Ни установка Windows 8, ни 10 preview не вызвало никаких проблем.

теперь приходит самая странная вещь, которую я видел: как окончательный Windows 10 выходит сейчас, я хотел заменить Windows 10 preview с окончательной версии Windows 10.

я загружаю установочный DVD, через некоторое время появляется экран, где я могу выбрать язык.
Затем появляется экран с кнопкой в центре, которая говорит «Установить сейчас», а потом приходит сообщение «начало установки».

здесь все нормально. Но тут приходит странная ошибка:

драйвер мультимедиа на компьютере отсутствует. Это может быть DVD, USB
или водитель жесткого диска. Если у вас есть компакт-диск, DVD-диск или USB флэш-накопитель на это,
пожалуйста, вставьте его сейчас.

Примечание: Если установочный носитель для Windows
в приводе DVD или на приводе USB, вы можете безопасно извлечь его для этого
шаг.

во-первых: эта ошибка не понятно.
Второе: это не имеет никакого смысла. Когда программа установки уже работает до здесь это означает, что он может читать DVD. Итак, какой драйвер должен отсутствовать?

некоторые люди сообщили аналогичные проблемы с Windows 7, где причиной было то, что он не загружается от порта USB 3.0. Но это не может быть виновником, потому что

  1. Windows 10 больше не имеет этого ограничения.
  2. я попробовал все 3 существующих порта USB и все приводят к той же ошибке.
  3. Я установил Windows 10 preview с той же BlueRay горелки на том же ноутбуке. Почему предварительный просмотр находит драйвер, а окончательный нет?

Я пришел к выводу, что это -еще раз — некорректное сообщение об ошибке. Причина должна быть в другом месте.

затем я сделал очень интересный тест:

Я загрузился с того же DVD-диска Windows 10 preview, который я установил месяц назад.
И вуаля: он также не загружается больше. Но это дает еще одну ошибку:

на черном экране он говорит мне

CDBOOT: не удалось найти BOOTMGR

нет загрузочного устройства — вставьте загрузочный диск и нажмите любую клавишу.

Как это возможно, что тот же DVD, который я успешно установил месяц назад, теперь выдает ошибку ?

Читайте также:  Зачем увеличить файл подкачки windows 10

затем я сделал третий тест:
Я загрузился с того же DVD-диска Windows 8, который я установил раньше. И это единственный DVD из 3 DVD, где я встаю в меню, которое позволяет мне выбрать parition, в который я хочу установить.

  1. выиграть 10 DVD-диске выдает ошибку
  2. Win 10 предварительный просмотр DVD не удается с другой ошибкой, хотя он работал раньше!
  3. Win 8 DVD работает правильно

понятно, что это

  1. не аппаратная проблема: тот же ноутбук, тот же BlueRay горелки, оба окна по-прежнему работать отлично.
  2. драйвер отсутствует, поскольку оба окна были установлены без проблем.
  3. DVD-диски не сожжены неправильно, они работали раньше.

для меня единственным объяснением является то, что установка Windows 8, который я установил после Windows 10 preview, уничтожил все на этом компьютере.

тем не менее обе ОС по-прежнему работают без проблем, блокируется только установка.

но что случилось?
Есть ли какие-либо инструменты диагностики?
Кто-нибудь видел такую странную вещь раньше?
Кто-нибудь знает обходной путь (кроме удаления всех разделов и начиная с нуля)?

FIX: Unable to install drivers on Windows 10 [2021 Guide]

  • Drivers are the backbone of any PC, but some users reported that they are unable to install drivers on Windows 10.
  • Many of them suggested running the built-in Windows Troubleshooters, since that may help.
  • If that didn’t work and you still can’t install drivers windows 10, try performing a DISM scan.
  • If all else fails, one last resort would also be resetting your entire PC.

  1. Download DriverFix now for free (secured download)
  2. Launch the program and press the Scan icon
  3. Wait for the scan to finish and start installing the needed drivers
  • DriverFix has been successfuly downloaded by 0 readers this month.

If you’ve tried all you can but you just can’t install drivers on your Windows 10 PC, here are 5 solutions to fix the issue.

What can I do if Windows 10 drivers won’t install?

1. Run Hardware and Devices troubleshooter

  • Right-click Start
  • Select Control Panel
  • Go to View by option on the top right corner
  • Click the drop down arrow and select Large icons
  • Click Troubleshooting
  • Click View all option on the left pane
  • Click Hardware and Devices
  • Click Advanced
  • Click Run as Administrator
  • Click Next

If you can’t install drivers on Windows 10, then run the Hardware and Devices troubleshooter to resolve the issue.

This checks for commonly occurring issues and ensures any new device or hardware is correctly installed on your computer.

Alternatively, you can also try to check whether or not it is a driver issue, as missing, broken, or outdated drivers can hinder the functionality of your hardware components.

While this can be done manually, it can be time-consuming, and that is why we recommend that you try a third-party utility instead, since it also eliminates the risk of human error.

DriverFix

2. Run DISM tool

  1. Click Start
  2. In the search field box, type CMD
  3. Click Command Prompt in the search results list and type the following:
    • Dism /Online /Cleanup-Image /ScanHealth
    • Dism /Online /Cleanup-Image /RestoreHealth

If you still can’t install drivers on Windows 10, run the DISM tool, or Deployment Image Servicing and Management tool.

The DISM tool helps fix Windows corruption errors when Windows Updates and service packs fail to install due to corruption errors, like if you have a damaged system file.

Once the repair is complete, reboot your computer and try to install drivers on Windows 10 again.

If you’re having trouble accessing Command Prompt as an admin, then you better take a closer look at this guide .

3. Run an SFC scan

  • Click Start
  • Go to the search field box and type CMD
  • Select Command Prompt

  • Right click and select Run as Administrator

  • Type sfc/scannow
  • Press Enter
  • Restart your computer

You can also use one of the registry cleaners listed in this article. If you still can’t install drivers on Windows 10, try the next solution.

Most user don’t know what to do when the Windows search box goes missing. Read this article to learn how you can get it back in just a couple of steps.

Оцените статью