By adding device drivers during the windowsPE or offlineServicing configuration passes, you can add out-of-box device drivers to the Windows image before the computer starts. This method can also be used to add boot-critical device drivers to a Windows image. Digitally signed device drivers can be added to an offline Windows image before Windows Setup or during Windows Setup.
In our example here (local path) we are going to create a folder called drivers, that folder will have subfolders in it with our drivers neatly organised (audio/video/network/etc..) for easy management.
drivers/audio drivers/video drivers/networkand so on
Prepare the Answer file
Startup Windows SIM and in the Windows Image pane, expand components. Select the component called Microsoft-Windows-Setup and add it to Pass 1 WindowsPE if it isn't already added.
1post-1-1226064387.jpg 124.12K 59 downloads
Set the UseConfigurationSet value to True using the drop down menu.
Back in the components pane, select the Microsoft-Windows-PnpCustomizationsWinPE/DriverPaths/PathAndCredentials node and right click, choose add setting to Pass 1 windowsPE.
2post-1-1226065977.jpg 28.6K 57 downloads
Set the Key value to 1 and edit the Path value to read as follows:-
3post-1-1226066096.jpg 91.22K 52 downloads
Validate your answer file and save it as AutoUnattend.xml.
Prepare the USB Key
Format a USB key and copy the Autounattend.xml file to the root of the key, once done, copy the Drivers folder structure which you prepared earlier to the root of the key
5post-1-1226066998.jpg 3.72K 35 downloads
you are now ready to boot the client to test the unattended install.
Below is a sample of the drivers code in AutoUnattend.xml for 64bit Server 2008