Adding Drivers to Windows Post-Install

Discussion in 'Windows 7' started by l33tissw00t, Jun 18, 2017.

  1. l33tissw00t

    l33tissw00t MDL Senior Member

    Dec 6, 2012
    482
    266
    10
    Have a working Windows installation at C:\Windows. However, due to a hardware change, it won't boot (missing driver(s)). Can I somehow install a driver to that environment, without being able to boot to it? (Maybe via dism /add-driver from WinPE)

    Thanks
     
  2. shhnedo

    shhnedo MDL Member

    Mar 20, 2011
    187
    132
    10
    What's this "hardware change" which prevents booting?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. l33tissw00t

    l33tissw00t MDL Senior Member

    Dec 6, 2012
    482
    266
    10
    #3 l33tissw00t, Jun 18, 2017
    Last edited: Jun 18, 2017
    (OP)
    Hypothetical, in a way. Someone attempting to move windows installation to a completely new hardware (mobo, cpu, ram, etc) environment (yes, i know, bad idea).
     
  4. neutralin0

    neutralin0 MDL Novice

    Mar 18, 2014
    5
    34
    0
    Yes, you should use Dism.
    Do you know which drivers are required? If so, try this:

    - Create bootable Windows install media (USB, for example)
    - Add a folder like "MyDrivers" to the root of the install media, and put all needed drivers inside (make sure they are extracted .inf and .sys files)
    - Boot from the install media and in, WinPE, start Command Prompt by pressing Shift+F10
    - Run Dism like this:
    Code:
    dism /image:C:\ /add-driver /Driver:X:\MyDrivers /Recurse
    
    Where "C:\" is where the OS is installed (Windows folder) and "X:\MyDrivers" is where the new drivers are located.

    You will have to find the appropriate drive letters, for your specific case.

    The "/Recurse" argument makes sure that all subfolders are scanned for inf files to install.