Solved

Adding Extra Drivers to a Sysprep image of windows XP using oempnpdrivers= line in the syprep.inf file

Posted on 2003-11-05
7
13,873 Views
Last Modified: 2008-10-23
Hi

I want to know how to specify in the mini-set-up in a windows XP image using sysprep to use extra drivers loaded into the image. I have told sysprep to use plug and play auto detection But I want to knwo ho to actually say in the sysprep.inf file use these folders to install any extra drivers not already in the cab files. ie do you need to say $oem$\$1\Drivers\Nic and put a folder on C:\Drivers\Nic . ?? or can you just put the drivers on teh C: driver under C:\Drivers\Nic and put in teh sysprep.inf file oempnpfolders="drivers\Nic for example ?

Basically I am not sure of the convention for specifying extra drivers for a windows XP sysprep image using the sysprep.inf file ? can you help advise of what to put in it ??
0
Comment
Question by:Davidedi
7 Comments
 
LVL 1

Expert Comment

by:yuureibanashi
Comment Utility
The \$OEM$\$1\Drivers subfolder, allows you to place new or updated Plug and Play device drivers and their supporting files (catalog files and .INF installation files) in and below the Drivers subfolder. These folders and their contents are copied to the %systemdrive%\Drivers folder on the target computer. Adding the OemPnPDriversPath parameter to your answer file will tell Windows where to look for the new or updated Plug and Play drivers. When searching for appropriate Plug and Play device drivers to install during Setup or afterward, Windows looks at the files in the folders you created as well as those originally included with the system. Note that you can replace Drivers with a name of your own choosing that follows the 8.3 MS-DOS naming convention.



Creating the Answer File by Using Setup Manager

To help you create or modify the answer file, an application called Setup Manager is available on the Windows installation CD-ROM in the Support\Tools\Deploy.cab file.

You can use Setup Manager to perform the following tasks:


To specify the platform for the answer file (Windows?000 Professional, Windows?000 Server, Remote Operating System Installation, or Sysprep).


To specify the level of automation for unattended Setup mode (Provide Defaults, Fully Automated, Hide Pages, Read Only, and GUI mode attended Setup).


To specify default user name and organization information.


To define one computer name or many computer names to support multiple unattended installations.


To configure up to 99 automatic administrator logons to complete the setup process.


To configure display settings.


To configure network settings.


To configure joining a workgroup or domain and automatically add a computer account to the domain.


To create distribution folders.


To add a custom logo and background files.


To add files to the distribution folders.


To add commands to the [GuiRunOnce] section of the answer file.


To create Cmdlines.txt files.


To specify code pages and other language-specific settings.


To specify regional settings.


To specify a time zone.


To specify Telephony Application Programming Interface (TAPI) information.


To customize browser and shell settings.


To define the installation folder name. The boot partition (the partition containing the operating system files) is specified with the /t: or /tempdrive: switch.


To add printers.


To add mass storage device drivers and a custom HAL to be used during an unattended installation.


To create a distribution folder and share for the distribution or specify that the unattended installation will run from the Windows CD-ROM.

With Setup Manager, you can add consistency to the process of creating or updating the answer file. However, you cannot use Setup Manager to specify all answer file settings, optional components, create Txtsetup.oem files, or create subfolders in the distribution folder.

After you use Setup Manager to create an answer file, add more settings by using a text editor. Refer to Unattend.doc and Readme.txt included in the Deploy.cab for a comprehensive list of available settings.


0
 
LVL 21

Accepted Solution

by:
gemarti earned 125 total points
Comment Utility
To configure your sysprep.ini file manually:

First create a folder on your root drive where XP will reside. ( i.e. c:\drivers)
Next create subfolders for the different drivers:
c:\dirvers\audio
c:\drivers\NIC
c:\drivers\Video
c:\drivers\chipset

etc. etc.

Now open your sysprep.ini file and edit the following:

[Unattended]
    OemSkipEula=Yes
    ExtendOemPartition=1
    OemPnPDriversPath = DRIVERS\AUDIO;DRIVERS\VIDEO;DRIVERS\NIC;DRIVERS\chipset

If you ever edit the file locations or add drivers you need to remember to edit the following registry key before resealing your image:
Remove all data EXCEPT %SystemRoot%\inf (this first section has to be left otherwise plug and play won't work correctly)
HKEY_LOCAL_MACHINE\Software\Microsoft\CurrentVersion
Value: DevicePath
Date: %SystemRoot%\inf;
0
 
LVL 1

Author Comment

by:Davidedi
Comment Utility
Sorry Just a quick question. Do you need to include the line oempreinstall=yes in the  sysprep.inf file in the  unattended section or is that only for unattended installs not image installs ?  ie can you confirm that the only additional entry in the sysprep.inf script file is oempnpdriverspath=  and nothing else ???.


Can you confirm these steps for the image to look for drivers outside the ones in the system

1) Create base image

2) Create folder C:\drivers

3) Create subfolders c:\drivers\nic
                                            \sound
etc etc etc

4) Create sysprep.inf in C:\sysprep edit the unattended section add only the OeMPnpDriversPath="drivers\nic;Drivers\sound"

0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Expert Comment

by:CleanupPing
Comment Utility
Davidedi:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 21

Expert Comment

by:gemarti
Comment Utility
Correct Answer:
Comment from gemarti
Date: 11/06/2003 07:00AM EST
0
 
LVL 21

Expert Comment

by:gemarti
Comment Utility
Thank you.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now