Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2003-11-07
9
Medium Priority
?
676 Views
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;

etc.

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.
0
Comment
Question by:aling
[X]
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
9 Comments
 
LVL 15

Expert Comment

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

0
 

Author Comment

by:aling
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 data1.cab 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.
0
 
LVL 21

Accepted Solution

by:
gemarti earned 1500 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;

Try:

OemPnPDriversPath = Drivers\Dell\C810\Modem;Drivers\Dell\C810\Nic;Drivers\Dell\C840\Modem;Drivers\Dell\C840\Nic;
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 21

Expert Comment

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

Expert Comment

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

Author Comment

by:aling
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!!!
0
 
LVL 21

Expert Comment

by:gemarti
ID: 10044169
Thank you.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

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…
Files go missing when using DFS (Distributed File System) Replication and how to recover them and fix it.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

670 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