Question

  Asked: May 2 2008   0:52 AM GMT
  Asked by: Brettule


sysprep OemPnPDriversPath not working


Sysprep, OemPnPDrivers, Systems administration

I can't for the life of me get windows to locate and load drivers for after I sysprep. The drivers are all copied to the local HDD in c:\Support\Drivers\D430\ with subfolders such as chipset, video, nic, etc. All files are extracted and the inf files are present in the path.

I use "sysprep.exe –reseal –mini" then once complete reboot the machine.

The machine boots up goes through the usual unattended setup as per the sysprep.inf but when I log into windows the "found new hardware wizard" prompts me for all the hardware instead of automatically installing.

Here is my sysprep.inf, any ideas what I'm doing wrong?

;SetupMgrTag

[Unattended]
OemSkipEula=Yes
InstallFilesPath=C:\sysprep\i386
OEMPreinstall=Yes
OemPnPDriversPath=\Support\Drivers\D430\Chipset\All;\Support\Drivers\D430\Audio\WDM;\Support\Drivers\D430\Modem;\Support\Drivers\D430\NIC\Win2K_XP;\Support\Drivers\D430\Video\Graphics;\Support\Drivers\D430\Video\HDMI;
UpdateHAL = "ACPIAPIC_MP,%WINDIR%\Inf\Hal.inf"

[GuiUnattended]
OEMSkipRegional=1
TimeZone=290
OemSkipWelcome=1

[UserData]
ProductID=
FullName=
OrgName=

[Display]
BitsPerPel=32
vrefresh=75
Xresolution=1024
YResolution=768

[TapiLocation]
CountryCode=64
Dialing=Tone
AreaCode=04
LongDistanceAccess="9"

[RegionalSettings]
LanguageGroup=1
SystemLocale=1409:00001409
UserLocale=1409:00001409
UserLocale_DefaultUser=1409:00001409
InputLocale=1409:00001409
InputLocale_DefaultUser=1409:00001409


[SetupMgr]
DistFolder=C:\sysprep\i386
DistShare=windist

[Identification]
JoinWorkgroup=workgroup

[OEM_Ads]
Logo=logo.bmp

[Networking]
InstallDefaultComponents=Yes

[Sysprep]
BuildMassStorageSection=Yes

[SysprepMassStorage]

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



A few suggestions :-

To your [Unattended] section add :-

DriverSigningPolicy = Ignore
UpdateInstalledDrivers = Yes

To your [Unattended] section remove :-

the last ; at the end of your OemPnPDriversPath entry

Also :-

Prior to running sysprep, ensure that the "DevicePath" key under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion only has %SystemRoot%\Inf
Prior to running sysprep, ensure that C:\Support is not a hidden folder
Prior to running sysprep, ensure that "System" and "Administrators" have NTFS permissions to C:\Support

After mini-setup is complete, check the following entry in your registry. If everything is working correctly, then this should match with your "OemPnPDriversPath" entry.
Also, review the Setupapi.log file , located in the %SystemRoot% folder.

More info at http://support.microsoft.com/kb/302577 and http://support.microsoft.com/kb/314479
And the Deploy.chm file from the deploy.cab

Use the latest XP deployment tools...
http://www.microsoft.com/downloads/details.aspx?familyid=673A1019-8E3E-4BE0-AC31-70DD21B5AFA7&displaylang=en
(Note : After downloading, right click on deploy.cab, and choose "Unblock", then OK (before extracting the cab))

Another option is to do away with using "OemPnPDriversPath" in sysprep.inf, by using a tool, spdrvscn to scan and load the required entries directly into the "DevicePath" registry key.
http://www.vernalex.com/tools/spdrvscn/index.shtml
  • AddThis Social Bookmark Button

Browse more Questions and Answers on Microsoft Windows.

Looking for relevant Microsoft Windows Whitepapers? Visit the SearchEnterpriseDesktop.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register