Installing Windows 7 through USB Type C - Technical Whitepaper

April 2016
901238-001
Installing Win7 through USB Type C
© Copyright 2016 HP Development Company, L.P.
Modifying boot.wim 7
5 Modifying boot.wim
Using the command prompt as Administrator, enter
the following commands:
1. Type the following command to get the WIM index information.
Dism /Get-WimInfo /WimFile:<boot_wim_file>
NOTE: <boot_wim_file> is the path to the boot.wim (usually d:\sources\boot.wim).
An index or name value is required for most operations that specify a WIM file. Note the index number of the
windows version you are installing.
2. Create a directory to mount the windows image.
MD <mount_directory1>
EXAMPLE: MD C:\temp\bootw7
3. Mount boot.wim to the directory created in step 2.
DISM /Mount-Wim /WimFile: <boot_wim_file> /index:2 /MountDir:<mount_directo
4. Inject the downloaded USB 3.1 drivers (see USB 3.1 driver on page 4).
Dism /Image:<mount_directory1> /Add-Driver /Driver:<driver_folder> /Recurse
/forceunsigned
<driver_folder> is the location of the USB 3.1 drivers on the flash drive (see Procedure overview on page
5).
5. Unmount the boot.wim.
Dism /Unmount-Wim /MountDir:<mount_directory2> /Commit