sysprep OemPnPDriversPath not working

5 pts.
Tags:
OemPnPDrivers
Sysprep
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:SupportDriversD430 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:sysprepi386 OEMPreinstall=Yes OemPnPDriversPath=SupportDriversD430ChipsetAll;SupportDriversD430AudioWDM;SupportDriversD430Modem;SupportDriversD430NICWin2K_XP;SupportDriversD430VideoGraphics;SupportDriversD430VideoHDMI; UpdateHAL = "ACPIAPIC_MP,%WINDIR%InfHal.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:sysprepi386 DistShare=windist [Identification] JoinWorkgroup=workgroup [OEM_Ads] Logo=logo.bmp [Networking] InstallDefaultComponents=Yes [Sysprep] BuildMassStorageSection=Yes [SysprepMassStorage]

Answer Wiki

Thanks. We'll let you know when a new response is added.

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

Discuss This Question: 5  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Terpenoid
    Leave out the first "" (backslash) for each driver's path. e.g.: SupportDriversD430ChipsetAll; and not SupportDriversD430ChipsetAll; Sysprep adds C: to each line so you are getting C:\, hence it fails.
    50 pointsBadges:
    report
  • Terpenoid
    The backslash got removed from my answer. Trying again. Leave out the first “\” (backslash) for each driver’s path. e.g.: Support\Drivers\D430\Chipset\All; and not \Support\Drivers\D430\Chipset\All; Sysprep adds C: to each line so you are getting C:, hence it fails.
    50 pointsBadges:
    report
  • Terpenoid
    Sysprep adds C: \to each line so you are getting C:\, hence it fails.
    50 pointsBadges:
    report
  • Terpenoid
    Sysprep adds C\: to each line so you are getting C:\\, hence it fails.
    50 pointsBadges:
    report
  • Terpenoid
    Apologies for the numerous attempts - I finally figured out the system. Hope my answer helps somebody in the furure too.
    50 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following