Solved

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

Posted on 2003-11-07
9
674 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 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;

Try:

OemPnPDriversPath = Drivers\Dell\C810\Modem;Drivers\Dell\C810\Nic;Drivers\Dell\C840\Modem;Drivers\Dell\C840\Nic;
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

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…
How many times a day do you open, acknowledge, or close an IT incident? What’s your process? Do you have a process depending on the incident, systems involved, and other factors? New Relic Alerts gives you options for how you interact with notifica…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

739 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