Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Sysprep and DevicePath - why won't drivers install?

- - - - -

  • Please log in to reply
4 replies to this topic

#1
RHMMMM

RHMMMM
  • Member
  • 5 posts
I would really appreciate any help with this:

I'm creating a HII and am having a heck of a time getting drivers to load. I would use the driverpacks, but the image size is an issue and can't include all of them.

I'm building the image on a Dell Optiplex 755. The only driver I loaded was the AHCI SATA driver during the Windows install. All of the other devices were unrecognized and I left them that way. I made my changes to the image.

I have all the drivers and have (manually) enumerated the DevicePath key in the registry - of course I found the Vernalex program after I did it by copying the paths into notepad. I was going to use the OemPnPDriversPath line, but unfortunately, in my org, the drivers HAVE to be on the D: drive - so I did the DevicePath key.

I ran sysprep -mini -reseal. When the machine booted back up, nothing changed. All of the unrecognized devices were still unrecognized. BUT, if I told Device Manager to update the driver, it found the correct one automatically (thru the DevicePath key, I assume.

Should I be running sysprep with the -pnp switch?

I have already seen this post:
http://www.msfn.org/...p;hl=devicepath

Should I run that command (RunDll32.exe Syssetup.dll,UpdatePnpDeviceDrivers) in a GUIRunOnce script?

I'm baffled as to why the devices didn't auto detect during sysprep. They are all PnP - doesn't sysprep force a driver redetect? Or is that only with the -PnP switch? I thought the -PnP switch was only for nonPnP device detection?

Thanks for any help!


How to remove advertisement from MSFN

#2
kickarse

kickarse

    the free techie

  • Member
  • PipPip
  • 227 posts
  • OS:XP Pro x86
  • Country: Country Flag

I would really appreciate any help with this:

I'm creating a HII and am having a heck of a time getting drivers to load. I would use the driverpacks, but the image size is an issue and can't include all of them.

I'm building the image on a Dell Optiplex 755. The only driver I loaded was the AHCI SATA driver during the Windows install. All of the other devices were unrecognized and I left them that way. I made my changes to the image.

I have all the drivers and have (manually) enumerated the DevicePath key in the registry - of course I found the Vernalex program after I did it by copying the paths into notepad. I was going to use the OemPnPDriversPath line, but unfortunately, in my org, the drivers HAVE to be on the D: drive - so I did the DevicePath key.

I ran sysprep -mini -reseal. When the machine booted back up, nothing changed. All of the unrecognized devices were still unrecognized. BUT, if I told Device Manager to update the driver, it found the correct one automatically (thru the DevicePath key, I assume.

Should I be running sysprep with the -pnp switch?

I have already seen this post:
http://www.msfn.org/...p;hl=devicepath

Should I run that command (RunDll32.exe Syssetup.dll,UpdatePnpDeviceDrivers) in a GUIRunOnce script?

I'm baffled as to why the devices didn't auto detect during sysprep. They are all PnP - doesn't sysprep force a driver redetect? Or is that only with the -PnP switch? I thought the -PnP switch was only for nonPnP device detection?

Thanks for any help!


Sysprep must also be run with sysprep -bmsd before it's run with sysprep -mini -reseal. You also must specify all your mass storage drivers in the section SysprepMassStorage. You also must put in the Unattended section the below:

[UnAttended]
...
UpdateInstalledDrivers = Yes
DriverSigningPolicy = Ignore

This will tell Sysprep to update the drivers from the location(s) you told it in the registry key Devicepath. You are correct in assuming you don't use the parameter -pnp. IF all of your drivers are correctly enumerated and imported into the registry then Sysprep will install the drivers for you.

But, I don't know if Sysprep just doesn't like that it's on a separate partition. I would try on root and the separate partition.

Also, if you're using Vernalex's scanner don't let it search Windows\INF and see if that makes a difference. OR put it at the end of the line instead of the beginning in DevicePath.
http://drop.io/wanderingit -- download DriverGeek (formally DriverForge) and FindHWIDS

#3
RHMMMM

RHMMMM
  • Member
  • 5 posts
Thanks for the advice, I'll try it tomorrow and update the thread. I'm also going to try some other things I found.

If anyone else has more insight, by all means, I'd appreciate it.

#4
RHMMMM

RHMMMM
  • Member
  • 5 posts
So the advice above worked, plus I used the Vernalex driver scanner.

Thanks!

#5
chiefwigms

chiefwigms
  • Member
  • 5 posts
  • OS:XP Pro x86
  • Country: Country Flag
anyone solve this? i'm in the same boat with a poweredge 2900. any help is appreciated




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN