Win7镜像添加USB3驱动




cd e:\win7

md mount

md usb3

 

dism /get-wiminfo /wimfile:boot.wim

dism /mount-wim /wimfile:boot.wim /index:2 /mountdir:mount

dism /image:mount /add-driver:"usb3" /recurse

dism /unmount-wim /mountdir:mount /commit

 

dism /get-wiminfo /wimfile:install.wim

dism /mount-wim /wimfile:install.wim /index:3 /mountdir:mount

dism /image:mount /add-driver:"usb3" /recurse

dism /unmount-wim /mountdir:mount /commit