Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Directing sfc

- - - - -

  • Please log in to reply
5 replies to this topic

#1
gcbodie

gcbodie
  • Member
  • 3 posts
  • Joined 09-October 09
I installed XP SP2 and then later ran the update to SP3.
I have copied the i386 from the SP2 CD into C:\Setup\i386.
I have copied the i386 from the SP3 update EXE into C:\Setup\SP\i386.
When I run SFC it cannot find the SP3 files it needs.

Here is what I have in the registry:
HKLM\Software\Microsoft\Windows\CurrentVersion\Setup
... Installation Sources REG_MULTI_SZ C:\Setup; C:\Setup\SP
... ServicePackSourcePath REG_SZ C:\Setup\SP
... SourcePath REG_SZ C:\Setup
HKLM\Software\Microsoft\WindowsNT\CurrentVersion
... SourcePath REG_SZ C:\Setup\i386

Suggestions?

\\Glen


How to remove advertisement from MSFN

#2
g-force

g-force

    Tester

  • Member
  • PipPipPipPip
  • 599 posts
  • Joined 20-June 07
  • OS:XP Pro x86
  • Country: Country Flag

I have copied the i386 from the SP2 CD into C:\Setup\i386.
I have copied the i386 from the SP3 update EXE into C:\Setup\SP\i386.

What is that good for?
What are looking for?
What do you want to do?

g-force @ Win-Lite.de
Make sure to always start with a fresh copy of your CD files/folders,
do all your work in one nLite session and integrate only one SP.
Please report when you have a solution, so others can benefit.


#3
ricktendo

ricktendo

    Group: Banned Members

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,310 posts
  • Joined 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag
Try mounting the iso or browsing for the files when the dialog box to insert CD pops up

#4
gcbodie

gcbodie
  • Member
  • 3 posts
  • Joined 09-October 09
I see I wasn't very clear - sorry. The purpose of this is so that I can run SFC without needing to locate the CD's that were used. Also helps in some cases if you later want to add/modify some Windows features. I have the disk space so why not just keep a copy of the i386 there?

I have successfully done this for a long time, but the added wrinkle now is the separate SP. I can't seem to put the right info in the Registry such that SFC figures out where the original i386 and the SP i386 are located.

#5
fdv

fdv

    MSFN Expert

  • Developer
  • 1,111 posts
  • Joined 16-July 04
  • OS:Windows 7 x64
  • Country: Country Flag
; ------------- SFC Settings -------------
; You can set the dllcache path here. To disable WFP completely, set the path to something invalid like "Z:"

HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","SFCDllCacheDir",,"%SystemRoot%\System32\Dllcache"
HKLM,"SOFTWARE\Policies\Microsoft\Windows NT\Windows File Protection","SFCDllCacheDir",,"%SystemRoot%\System32\Dllcache"

#6
gcbodie

gcbodie
  • Member
  • 3 posts
  • Joined 09-October 09
It's certainly possible that I'm not understanding correctly how this works, but I thought SFC /scannow checked the contents of the DLL cache against the distribution media, and the thing I am trying to figure out is how to tell it correctly where to find the distribution media.

Originally, it wanted to look at D:\ or D:\i386 if the distribution media was a CD in the D: drive. I copied those directories to C:\Setup\... and I've been trying to tell SFC to look there instead. It works fine when I only had the original CD, but I got messed up when I added the SP3 CD's i386 directory also.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users