MSFN Forum: Changing Default Driver Search Location. - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Changing Default Driver Search Location. Rate Topic: -----

#1 User is offline   YMatrix 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 07-March 08

Posted 02 October 2008 - 04:39 PM

Hello all!

I have created an unattended Windows XP + SP3 CD.
The installation works great (tested it already on a few couple of systems), but I seem to have a tricky problem.
I used nLite to create the CD and used the "put all drivers in driver.cab" option. After the installation I extract all the contents of "driver.cab" to "%SystemRoot%\Driver Cache".
But whenever a new device is installed I get the "Browse for file..." window asking where the original CD is. I keep showing it the "%SystemRoot%\Driver Cache", but for every new device this question appears.
I found this thread where I learned about the registry keys containing the locations, but I am not sure where the problem is.
Here are my registry contents:

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SourcePath = G:\I386
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Installation Sources = C:\WINDOWS\Driver Cache G:\
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath = G:\
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePackSourcePath = G:\


Is this this the right code to change (in red)? :

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SourcePath = %SystemRoot%\Driver Cache
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Installation Sources = C:\WINDOWS\Driver Cache G:\
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath = %SystemRoot%\Driver Cache
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePackSourcePath = %SystemRoot%\Driver Cache

Thanks in advance! :thumbup

This post has been edited by YMatrix: 02 October 2008 - 04:40 PM



#2 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 7,349
  • Joined: 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 06 October 2008 - 08:50 AM

You want to put your path in as follows:

key = HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DevicePath
type = REG_EXPAND_SZ
default value = %SystemRoot%\inf;
example value = %SystemRoot%\inf;G:;

The line with Installation Sources in your post is formatted wrong.

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Installation Sources = C:\WINDOWS\Driver Cache G:\
! -------------------------------------------------------------------------------------------------^

This post has been edited by Tripredacus: 06 October 2008 - 08:51 AM


#3 User is offline   YMatrix 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 07-March 08

Posted 06 October 2008 - 02:44 PM

Thanks For your reply, but I didn't get what you wrote.
You mean that I should add my Driver Cache folder right after the the %systemroot%\inf ?
What was wrong with he formatting?

This post has been edited by YMatrix: 06 October 2008 - 02:47 PM


#4 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 7,349
  • Joined: 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 07 October 2008 - 12:00 PM

View PostYMatrix, on Oct 6 2008, 04:44 PM, said:

Thanks For your reply, but I didn't get what you wrote.
You mean that I should add my Driver Cache folder right after the the %systemroot%\inf ?
What was wrong with he formatting?


You need a separator in the line. Like a semicolon as in my path example.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy