Home > Windows Server Tips > > Registry's troubles hunting source files solved
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Registry's troubles hunting source files solved


Serdar Yegulalp
02.07.2005
Rating: -4.11- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Please let us know how useful you find this tip by rating it below. Do you have a useful Windows tip, timesaver or workaround to share? Submit it to our tip contest and you could win a prize!


Windows 2000, XP and 2003 use a Registry setting to determine where to obtain installation files, and where Service Packs were installed from. The former is used for installations from CD, and the latter is used for when the system needs to automatically obtain updated files from the service pack, so the user doesn't have to provide the files manually.

There are many scenarios where you may need to manually edit where Windows expects to find its installation files. One of the most common is when Windows is deployed using files on a network share, which is then later taken offline. If you try to replace system files via the System File Checker (SFC) utility (i.e., SFC /SCANNOW), Windows will search in vain for the installation path and fail.

Other problems can occur if Windows was installed via a custom-built CD with a directory structure that's different from the manufactured CD. If you install with one and then try to add components with the other, Windows may not be able to find everything if you use SFC.

Windows keeps its installation source locations in the Registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup. (Note that in Windows 2000, the Registry path may use "Windows NT" instead of "Windows.")

Look for the following values to edit as needed:

  • Installation Sources (REG_MULTI_SZ): This lists all of the possible locations for Windows to check for installation files, each on its own line. If you want to add new locations to check for installation files, provide them here. Network paths are allowed. (If you're using Windows 2000, you must use RegEd32.exe to modify this value.)

  • SourcePath (REG_SZ): The default location where Windows checks for an installation CD. This is by default a path to the first CD-ROM drive (i.e., E:\), and can be changed to point to a new path or a directory share if needed.

  • ServicePackSourcePath (REG_SZ): The default location where the last Service Pack was installed from. This is generally set automatically when a Service Pack is applied.

  • ServicePackCachePath (REG_SZ): The location where Service Pack files are cached and held so they can be copied out as needed -- for instance, if new hardware drivers or system components are installed. This is generally set automatically. Windows 2000 may not use this; look for ServicePackSourcePath instead.)


Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter. Check out his Windows 2000 blog for his latest advice and musings on the world of Windows network administrators -- please share your thoughts as well!

Rate this Tip
To rate tips, you must be a member of SearchWindowsServer.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Server Room Design - Planning, Cooling, Maintenance
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2004 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts