->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
  • 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;
[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

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

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows 2000  Domain controller 3 497
Windows Server 2000 NIC on a 2008 R2 Hyper-V won't start 4 1,096
Migration  Windows server 2000 to Server 2012 Essentials 4 1,407
Windows 7 7 258
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…
Scenario: Your operations manager has discovered an anomaly in your security system. The business will start to suffer within 15 minutes if it is a major IT incident. What should she do? We have 6 recommendations for managing major incidents (https:…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

911 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

23 Experts available now in Live!

Get 1:1 Help Now