->Sysprep->OemPnPDriversPath->for multiple machines/brands

Posted on 2003-11-07
Last Modified: 2010-04-14
Hi there,

I use sysprep and Ghost 2003 and I want to create one single image for multiple machine brands/types.

I've created a folder structure on the boot partition (C:\Drivers\(brand)\(type)\(device))

In the [Unattend] section of sysprep.inf I have the following statements:

;Dell Lattitude C810
OemPnPDriversPath = Drivers\Dell\C810\Modem;Drivers\Dell\C810\Nic;

;Dell Lattitude C840
OemPnPDriversPath = Drivers\Dell\C840\Modem;Drivers\Dell\C840\Nic;


The C810 works fine, but all other OemPnPDriversPaths are discarded. Is this fixable or is there an other solution for this?

Thanx in advance, Harold.
Question by:aling
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
LVL 15

Expert Comment

by:Rob Stone
ID: 9700497
Do others work if you put them to the top of the list?


Author Comment

ID: 9701212
I've found out the following:

All folders set in OemPnPDriversPath are added to the registry in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\DevicePath so if I specify multiply (6+) different machines, the first path is stored in the registry and all other paths are discarded.

If I add all macines to one line, it becomes very unreadable and unmanageable, and I don't want that to happen.

I can't place all .inf+drivers into one folder per machinetype because the drivers all have identical names (ie etc)

It seems that the only solution is to work with different registry keys per machine type. Maybe write a batch file wich will copy the correct drivers and set the correct registry key per machinetype.

Or are there other suggestions?

Thanx, Harold.
LVL 21

Accepted Solution

gemarti earned 500 total points
ID: 9705091
String them all on one line.

Instead of:
;Dell Lattitude C810
OemPnPDriversPath = Drivers\Dell\C810\Modem;Drivers\Dell\C810\Nic;

;Dell Lattitude C840
OemPnPDriversPath = Drivers\Dell\C840\Modem;Drivers\Dell\C840\Nic;


OemPnPDriversPath = Drivers\Dell\C810\Modem;Drivers\Dell\C810\Nic;Drivers\Dell\C840\Modem;Drivers\Dell\C840\Nic;
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

LVL 21

Expert Comment

ID: 9705105
Well I saw your comment about the one line and readability after I posted; but I think this is the solution.
LVL 21

Expert Comment

ID: 9903270
I think I provided aling with the answer to aling's question.

Author Comment

ID: 10042324
Oops, forgot all about this Q... Sorry 'bout that...

Here's what I've done: I havn't used any of your answers... I've only added the NIC drivers to the sysprep.inf file and lateron I've batched the copying and installation of the system specific drivers...

What to do with the points? I do use gemarti's comment for installing the NIC drivers... So, that will be my choice...

Thank you all for helping me out!!!
LVL 21

Expert Comment

ID: 10044169
Thank you.

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : All lightning effects with instructions : http://www.mediaf…

617 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