Jump to content

Sysprep not recognizing drivers...


Recommended Posts

Hey guys,

I have been here a while and do a lot of unattends but this is my first sysprep image and danged if I can figure out why my driver infs are not being recognized!

I have located my drivers inside the sysprep folder as such:

c:\sysprep\i386\inf or c:\sysprep\i386\$oem$\inf and neither one finds a single driver???

Here is the needed section of my sysprep.inf

[unattended]

OemSkipEula=Yes

InstallFilesPath=C:\sysprep\i386

[GuiUnattended]

AdminPassword="xxxxxxxx"

EncryptedAdminPassword=NO

AutoLogon=Yes

AutoLogonCount=2

OEMSkipRegional=1

TimeZone=85

OemSkipWelcome=1

[unattend]

UnattendMode=DefaultHide

OemSkipEula=Yes

OemPreinstall=Yes

UnattendSwitch=Yes

TargetPath=\WINDOWS

OemPNPDriversPath="inf\;inf1\;inf2\;inf3\;inf4\;inf5\;inf6\;inf7\;inf8\;inf8\APPS\PROSETDX\Win32\DRIVERS\;inf8\PRO100\Win32\;inf8\PRO1000\Win32\;inf9\;inf\10\;inf\11\;inf\12\;inf\13\;inf\15\;"

WaitForReboot=No

[setupMgr]

DistFolder=C:\sysprep\i386

DistShare=windist

I hate acting like a NOOBE here but I'm at a loss as to why the image is not picking up the drivers?

I should note that I have tried adding a slash to the path statement ("\inf\;\inf1;...) and it still doesn't work.

I do a sysprep.exe -mini -reseal

Anyone have any ideas, I'm stumped... :wacko:

Edited by randalldale
Link to comment
Share on other sites


Where do your directories for drivers reside?

from the way it is written they would all be at the root of c:

c:\inf\

c:\inf1\

c:\inf2\

c:\inf3\

c:\inf4\

c:\inf5\

c:\inf6\

c:\inf7\

c:\inf8\

c:\inf8\APPS\PROSETDX\Win32\DRIVERS\

c:\inf8\PRO100\Win32\

c:\inf8\PRO1000\Win32\

c:\inf9\

c:\inf\10\

c:\inf\11\

c:\inf\12\

c:\inf\13\

c:\inf\15\

Link to comment
Share on other sites

Hmmm... good point.

I had thought that the install files path listed where the system looked for the drivers i.e. 'c:\sysprep\i386' when installing windows.

Basically you are saying that my OEMPnPpath statement should have been 'sysprep\i386\inf;sysprep\i386\inf1;...'

I tried changing the naming structure as suggested, 'sysprep\i386\inf\;sysprep\i386\inf1\;...' and it made no difference.

I also switched the location of the INF folders to the root of c: and it made no difference, any ideas?

Link to comment
Share on other sites

check the registry before you sysprep.

HKLM\software\microsoft\windows\currentversion\devicepath

it should only contain c:\windows\inf or equivalent if you use the OEMpnppath in the sysprep.inf. or putt all of your paths directly in this key.

Link to comment
Share on other sites

You might also try Bashrat's Driverpacks. He's been perfecting those for years now and has a proven method already, instead of trying to go at it on your own. Works awesome for Sysprep too, I use them all the time without problems.

Link to comment
Share on other sites

After a couple of days I'm still not having a lot of success.

Still working on it though... just seems to only work with complete statements in both the sysprep.inf and Registry. I had thought that it would have been a little more intuative. I mean all my unattends only need to know where to look (InstallFilesPath) and not have to have a registry entry too!

Plodding onward I guess...

Link to comment
Share on other sites

It should be one or the other not both. with the exception of the registry holding the default of the windows\inf directory there should not be anything else if you use the sysprep setting. and nothing in sysprep if you are using the registry setting.

Link to comment
Share on other sites

Well I will try using just the registry setting becasue nothing in sysprep seems to work.

Here is what I tried:

[unattended]

OemSkipEula=Yes

InstallFilesPath=C:\sysprep\i386

[GuiUnattended]

AdminPassword=""

EncryptedAdminPassword=NO

AutoLogon=Yes

AutoLogonCount=2

OEMSkipRegional=1

OemSkipWelcome=1

[unattend]

UnattendMode=DefaultHide

OemSkipEula=Yes

OemPreinstall=Yes

UnattendSwitch=Yes

TargetPath=\WINDOWS

OemPNPDriversPath="c:\sysprep\i386\$oem$\inf\;c:\sysprep\i386\$oem$\inf1\;c:\sysprep\i386\$oem$\inf2\;c:\sysprep\i386\$oem$\inf3\;c:\sysprep\i386\$oem$\inf4\;c:\sysprep\i386\$oem$\inf5\;c:\sysprep\i386\$oem$\inf6\;c:\sysprep\i386\$oem$\inf7\;c:\sysprep\i386\$oem$\inf8\;c:\sysprep\i386\$oem$\inf8\APPS\PROSETDX\Win32\DRIVERS\;c:\sysprep\i386\$oem$\inf8\PRO100\Win32\;c:\sysprep\i386\$oem$\inf8\PRO1000\Win32\;c:\sysprep\i386\$oem$\inf9\;c:\sysprep\i386\$oem$\inf\10\;c:\sysprep\i386\$oem$\inf\11\;c:\sysprep\i386\$oem$\inf\12\;c:\sysprep\i386\$oem$\inf\13\;c:\sysprep\i386\$oem$\inf\14;c:\sysprep\i386\$oem$\inf\15\;"

WaitForReboot=No

[userData]

Also tried:

InstallFilesPath=C:\sysprep\i386

OemPNPDriversPath="\$oem$\inf\;\$oem$\inf1\;\$oem$\inf2\;\$oem$\inf3\;\$oem$\inf4\;\$oem$\inf5\;\$oem$\inf6\;\$oem$\inf7\;\$oem$\inf8\;\$oem$\inf8\APPS\PROSETDX\Win32\DRIVERS\;\$oem$\inf8\PRO100\Win32\;\$oem$\inf8\PRO1000\Win32\;\$oem$\inf9\;\$oem$\inf\10\;\$oem$\inf\11\;\$oem$\inf\12\;\$oem$\inf\13\;\$oem$\inf\14;\$oem$\inf\15\;"

InstallFilesPath=C:\sysprep\

OemPNPDriversPath="\i386\$oem$\inf\;\i386\$oem$\inf1\;\i386\$oem$\inf2\;\i386\$oem$\inf3\;\i386\$oem$\inf4\;\i386\$oem$\inf5\;\i386\$oem$\inf6\;\i386\$oem$\inf7\;\i386\$oem$\inf8\;\i386\$oem$\inf8\APPS\PROSETDX\Win32\DRIVERS\;\i386\$oem$\inf8\PRO100\Win32\;\i386\$oem$\inf8\PRO1000\Win32\;\i386\$oem$\inf9\;\i386\$oem$\inf\10\;\i386\$oem$\inf\11\;\i386\$oem$\inf\12\;\i386\$oem$\inf\13\;\i386\$oem$\inf\14;\i386\$oem$\inf\15\;"

InstallFilesPath=C:\

OemPNPDriversPath="c:\sysprep\i386\$oem$\inf\;c:\sysprep\i386\$oem$\inf1\;c:\sysprep\i386\$oem$\inf2\;c:\sysprep\i386\$oem$\inf3\;c:\sysprep\i386\$oem$\inf4\;c:\sysprep\i386\$oem$\inf5\;c:\sysprep\i386\$oem$\inf6\;c:\sysprep\i386\$oem$\inf7\;c:\sysprep\i386\$oem$\inf8\;c:\sysprep\i386\$oem$\inf8\APPS\PROSETDX\Win32\DRIVERS\;c:\sysprep\i386\$oem$\inf8\PRO100\Win32\;c:\sysprep\i386\$oem$\inf8\PRO1000\Win32\;c:\sysprep\i386\$oem$\inf9\;c:\sysprep\i386\$oem$\inf\10\;c:\sysprep\i386\$oem$\inf\11\;c:\sysprep\i386\$oem$\inf\12\;c:\sysprep\i386\$oem$\inf\13\;c:\sysprep\i386\$oem$\inf\14;c:\sysprep\i386\$oem$\inf\15\;"

None worked any ideas?

Link to comment
Share on other sites

OK,

The "InstallFilesPath" only tells sysprep where to look for the Windows install files, in case some are needed during the mini-setup. This has nothing to do with the drivers.

The "OemPnpDriversPath" should be the actual path to the drivers.

In my sysprep build, my drivers are in C:\Sysprep\D\* so my "OemPnpDriversPath" looks like this:

OemPNPDriversPath=c:\sysprep\d\a\1;c:\sysprep\d\a\2;c:\sysprep\d\a\3; etc...

Edited by TheReasonIFail
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...