WinPE: Add drivers to an offline image: Unterschied zwischen den Versionen

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche
K
K
 
(2 dazwischenliegende Versionen des gleichen Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
== Adding drivers to an offline image to troubleshoot a bare-metal deployment(for example a VHDX image) ==
+
== Adding drivers to an offline image to troubleshoot a bare-metal deployment (for example a VHDX image) ==
 
*'''Boot from Windows ISO''' or WinPE.
 
*'''Boot from Windows ISO''' or WinPE.
 
*Open a console: '''Shift + F10'''
 
*Open a console: '''Shift + F10'''
Zeile 5: Zeile 5:
 
*Mount the VHDX -> more information's [[Mount VHDX]] section ''Mount/Dismount VHD/VHDX with DISM'' or ''Mount/Dismount VHD/VHDX with Diskpart''
 
*Mount the VHDX -> more information's [[Mount VHDX]] section ''Mount/Dismount VHD/VHDX with DISM'' or ''Mount/Dismount VHD/VHDX with Diskpart''
 
*Adding driver to your image:
 
*Adding driver to your image:
  dism /image:<mount_path> /add-Driver /driver:<location_of_your_driver>.inf
+
  dism /image:<mount_path> /add-driver /driver:<location_of_your_driver>.inf
 
or recurse:
 
or recurse:
  dism /image:<mount_path> /add-Driver /driver:<location_of_your_drivers> /Recurse
+
  dism /image:<mount_path> /add-driver /driver:<location_of_your_drivers> /recurse
 
*Save and dismount the image:
 
*Save and dismount the image:
 
  dism /unmount-image /mountdir:<mount_path> /commit
 
  dism /unmount-image /mountdir:<mount_path> /commit
Zeile 15: Zeile 15:
  
 
If following error occurs: ''Error: 267: Unable to access the image.'' Mount the image again and after that check the drivers:
 
If following error occurs: ''Error: 267: Unable to access the image.'' Mount the image again and after that check the drivers:
  dism /image:<moun_path> /get-drivers
+
  dism /image:<mount_path> /get-drivers
  
  

Aktuelle Version vom 3. Juli 2020, 14:51 Uhr

Adding drivers to an offline image to troubleshoot a bare-metal deployment (for example a VHDX image)

  • Boot from Windows ISO or WinPE.
  • Open a console: Shift + F10
  • Create a new folder: mkdir mount
  • Mount the VHDX -> more information's Mount VHDX section Mount/Dismount VHD/VHDX with DISM or Mount/Dismount VHD/VHDX with Diskpart
  • Adding driver to your image:
dism /image:<mount_path> /add-driver /driver:<location_of_your_driver>.inf

or recurse:

dism /image:<mount_path> /add-driver /driver:<location_of_your_drivers> /recurse
  • Save and dismount the image:
dism /unmount-image /mountdir:<mount_path> /commit
  • Check to see if the drivers are added:
dism /image:<full_path_to_vhd> /get-drivers


If following error occurs: Error: 267: Unable to access the image. Mount the image again and after that check the drivers:

dism /image:<mount_path> /get-drivers