windows镜像预安装usb3.0与redi驱动

先从光盘镜像里得到映像文件boot.wim与install.wim

  1. 在目录中新建mount文件夹用于挂载镜像
  2. 新建usb3存放USB驱动
  3. 然后用管理员打开Windows PowerShell
#挂载镜像
dism /mount-wim /wimfile:boot.wim /index:2 /mountdir:mount
#添加USB3.0
dism /image:mount /add-driver /driver:usb3\iusb3hub.inf    
dism /image:mount /add-driver /driver:usb3\iusb3xhc.inf           
dism /image:mount /add-driver /driver:usb3\iusb3hcs.inf
#添加reid驱动
dism /image:mount /add-driver /driver:win764\bccfg4.inf
dism /image:mount /add-driver /driver:win764\bcraid4.inf
#保存修改并卸载镜像
dism /unmount-wim /mountdir:mount /commit

同样的把为install.win镜像里再操作一次,

#挂载镜像
dism /mount-wim /wimfile:install.wim /index:1 /mountdir:mount
#添加USB3.0
dism /image:mount /add-driver /driver:usb3\iusb3hub.inf
dism /image:mount /add-driver /driver:usb3\iusb3xhc.inf
dism /image:mount /add-driver /driver:usb3\iusb3hcs.inf
#添加reid驱动
dism /image:mount /add-driver /driver:win764\bccfg4.inf
dism /image:mount /add-driver /driver:win764\bcraid4.inf
#保存修改并卸载镜像
dism /unmount-wim /mountdir:mount /commit

完成后这替换掉到ISO里就可以刻录安装了

posted @ 2020-12-01 08:29  天祈笨笨  阅读(213)  评论(0编辑  收藏  举报