I'm starting to play around with Windows 7 deployment using the WAIK that was just released yesterday for the Windows 7 RC. I hope to post more about deployment in general, but one of the things that changes from Vista to 7 is the introduction of a new tool - DISM. Let's say you've created a Windows 7 boot image from which you want to capture or deploy a reference image. You'll need to add drivers (specifically NIC drivers) to the image for the machines you want to deploy on. Here's how to do it.
First, check the image and make sure you are loading the correct index. (you can find the file name by right clicking on it in the WDS console and going to properties). Next you mount the image to a temporary directory. You then add the driver to the image using the /add-driver command. Finally, you commit the changes to the image. That's it!
dism /get-wiminfo /wimfile:I:\images\boot\x86\images\boot.wim
dism /mount-wim /wimfile:I:\images\boot\x86\images\boot.wim /index:2 /mountdir:"X:\temp\mount"
dism /image:"d:\temp\mount" /add-driver /driver:X:\driverdir\driver.inf
dism /unmount-wim /mountdir:d:\temp\mount /commit
Posted by Mike at 2:42 PM
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment