Jump to content


0

Install drivers using windows SIM


No replies to this topic

#1 t-zwck

t-zwck

    .::GhostInTheShell::.

  • Super Moderators
  • 759 posts
  • 9804 thanks

Posted 09 July 2009 - 07:59 AM

You can install device drivers during Windows Setup by creating an answer file using Windows SIM. In this answer file, you can specify the paths to device drivers on a network share (or a local path) by adding the Microsoft-Windows-PnpCustomizationsWinPE or Microsoft-Windows-PnpCustomizationNonWinPE components and specifying the configuration passes in which you intend to install them. You can install device drivers in the windowsPE, offlineServicing, auditUser or auditSystem configuration passes.

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.

eg:


drivers/audio
drivers/video
drivers/network
and 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.

Attached File  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.

Attached File  2post-1-1226065977.jpg   28.6K   57 downloads

Set the Key value to 1 and edit the Path value to read as follows:-


%configsetroot%drivers

Attached File  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

Attached File  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



true
		
		
			
				
					%configsetroot%drivers
				
			
		

Attached Files






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Organization

Community

Downloads

Test Providers

Site Info


Go to top