1

I'am about to build my own Windows 10 imgage. What I've done so far:

I use the following directories:

  • D:\Windows\drivers folder with drivers for my system
  • D:\Windows\extracted folder with the extracted source image
  • D:\Windows\mount folder for the created image
  • D:\Windows\wim folder for the Windows 10 file install.wim .

The workflow:

  1. Copy install.wim from D:\Windows\extracted\sources to D:\Windows\wim

  2. Download the latest (for your system) Windows ADK and install at least the following components:

     Deployment Tools
     Imaging And Configuration Designer (ICD)
     User State Migration Tool (USMT)
    
  3. Start cmd (press Windows+X start Windows PowerShell (Administrator) and type cmd)

  4. Disable all (programs/custom services) you can

  5. All commands following now are for the cmd:

     SET DISM="C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\dism.exe"
     %DISM% /Mount-Wim /WimFile:"D:\Windows\wim\install.wim" /index:1 /Mountdir:"D:\Windows\mount"
     %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\bluetooth\Rtkfilter.inf"
     %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\HDMI Audio\AtihdWT6.inf"
     %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\network\rt640x64.inf"
     %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\touchpad\AsusTP.inf"
     %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\chipset\GPIO2\amdgpio2.inf"
     %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\chipset\I2C\amdi2c.inf"
     %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\chipset\PSP\amdpsp.inf"
     %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\chipset\SATA\amd_sata.inf"
     %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\chipset\SMBus\SMBUSamd.inf"
     %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\chipset\UART\amduart.inf"
     %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\video" /Recurse
     %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\WLAN\netrtwlane02.inf"
     %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\audio" /Recurse
     %DISM% /Image:"D:\Windows\mount" /set-productkey:YOUR-WIN-DOWS-KEY-HERE
     %DISM% /Unmount-Wim /Mountdir:"D:\Windows\mount" /commit
     %DISM% /Cleanup-Wim
    

Now I wish to include some Microsoft Visual C++ Redistributables. I need (because of some old games):

Is it possible to integrate the above libraries into the Windows image with DISM? If yes, how can one do this?

Ramhound
  • 44,080
Su-47
  • 139

0 Answers0