| Next: Breakfast Pitta |
| Author |
Message |
usasma

Joined: May 06, 2003 Posts: 5006
|
Posted: Wed Nov 08, 2006 8:24 pm Post subject: RegEdit for SP2 and SFC.EXE |
|
|
Has anyone tried this regedit? Allegedly it allows you to run SFC.EXE using an SP2 CD (just the SP2 disk, not a slipstreamed copy with SP2).
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup
In the key: ServicePackSourcePath
Make the value: %windir%\ServicePackFiles |
|
| Back to top |
|
 |

User: inactive Posts:
|
Posted: Thu Nov 09, 2006 7:30 am Post subject: Re: RegEdit for SP2 and SFC.EXE [Login to view extended thread Info.] |
|
|
Good Morning Usasma,
Hmmmmm! Wouldn't that path have to point to the folder where those files are located?
In your example the path " %windir%\ServicePackFiles" does not exist on my PC.
For this tip to work, the path will have to point exactly to the location of the Sp2 files.
It works best if that folder in NOT just on a CD. If it's on a HD someplace, SFC works better, faster and with less effort on the users part. (and with fewer chances of errors, trying to read a damaged CD)
In this statement, "Allegedly it allows you to run SFC.EXE using an SP2 CD (just the SP2 disk, not a slipstreamed copy with SP2). " its being assumed that the person actually HAS an SP2 CD. If the upgrade to SP2 was done via automatic Updates (downloads), etc., there is NO CD to use for this tip.
I bought my SP2 CD directly from Microshaft. I didn't trust the copy of SP2 downloaded by a local Computer store.
I'm going to copy the files/folders from that CD to my second HD, make the edit to my registry as per your tip and try it.......what can it hurt? Right?
As the Governator once said, "I'll be back!"
Shadow  |
|
| Back to top |
|
 |
usasma

Joined: May 06, 2003 Posts: 5006
|
Posted: Thu Nov 09, 2006 8:14 am Post subject: Re: RegEdit for SP2 and SFC.EXE [Login to view extended thread Info.] |
|
|
I've got that path on my system, and it includes the sub-directory i386. I can't recall how I installed SP2 (I was an early adopter) and SFC.EXE runs quite well on my system without the need for my XP SP1a CD.
I read this thing in a magazine article and was trying to figure out if there's any truth to it.
That way it'll be easier to have folks run SFC.EXE without having to make them go out and slipstream a CD. |
|
| Back to top |
|
 |

User: inactive Posts:
|
Posted: Thu Nov 09, 2006 8:47 am Post subject: Re: RegEdit for SP2 and SFC.EXE [Login to view extended thread Info.] |
|
|
"Your mileage may vary"
WELL, I can't get it to work at all.
My last install was done from a XP-Pro-Sp2 CD and whenever I try to run SFC /scannow, it asks for that CD. I can't get it to change its mind about that.
And then it tells me something about wanting the files in the dll cache folder.
Oh well, I never use SFC anyway. I either use System Restore for those little Oooops, or a Ghost backup Image for those really big "Awschitz!"
For me SFC is redundant.
Thanks for the post....it's given me something new to do this morning.
Cheers Mates!
Shadow  |
|
| Back to top |
|
 |
usasma

Joined: May 06, 2003 Posts: 5006
|
Posted: Fri Nov 10, 2006 7:33 am Post subject: Re: RegEdit for SP2 and SFC.EXE [Login to view extended thread Info.] |
|
|
| Well, the tweak doesn't work on the wife's work system - and it's already got that key in the registry. |
|
| Back to top |
|
 |

User: inactive Posts:
|
Posted: Fri Nov 10, 2006 8:16 am Post subject: Re: RegEdit for SP2 and SFC.EXE [Login to view extended thread Info.] |
|
|
We're all supposed to be running the same OS if we have XP. More or less.
But, it never ceases to amaze me just how much difference there is from one PC to another.
I once wrote a batch file to do a particular job when I'm tuning up a customers PC. Due to differences in various installs of XP, I've had to write there different versions of that batch file. It starts to get really weird!
Thanks for the post.....it gave me something to do for about an hour on an otherwise dull day.
Me 
Last edited by on Sun Nov 12, 2006 8:56 am; edited 1 time in total |
|
| Back to top |
|
 |
Charred

Joined: Aug 03, 2003 Posts: 1011
Location: Central PA
|
Posted: Fri Nov 10, 2006 8:59 pm Post subject: Re: RegEdit for SP2 and SFC.EXE [Login to view extended thread Info.] |
|
|
Hello usasma,
I haven't tried your way, but I did set up my XP Home machine using the instructions set out in http://www.updatexp.com/scannow-sfc.html
Worked for me, hope it does for you.
John |
|
| Back to top |
|
 |
goretsky

Joined: Dec 07, 2002 Posts: 9662
Location: Southern California
|
Posted: Sun Nov 12, 2006 1:53 am Post subject: Re: RegEdit for SP2 and SFC.EXE [Login to view extended thread Info.] |
|
|
Hello,
I think the %windir%\ServicePackFiles directory only exists on a computer which was upgraded with a service pack. If a computer has a slipstreamed install of Microsoft Windows XP, then the directory will not exist.
Regards
Aryeh Goretsky |
|
| Back to top |
|
 |
usasma

Joined: May 06, 2003 Posts: 5006
|
Posted: Sun Nov 12, 2006 8:00 am Post subject: Re: RegEdit for SP2 and SFC.EXE [Login to view extended thread Info.] |
|
|
Thanks Charred and Aryeh!
I'm thinking that the problems that I've seen (running SFC.EXE on a machine updated to SP2 - but originally from an SP1a or earlier CD) may be caused by an incorrect entry in the registry for the service pack files.
Anyways, here's some of the keys involved in running SFC.EXE:
| Quote: |
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup
Make sure to copy i386 to C:\ then edit SourcePath key toC:\ |
| Quote: |
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath
Make sure to copy i386 to C:\ and the edit SourcePath key to C:\ |
| Quote: |
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SourcePath
Make sure to copy i386 to C:\ and the edit SourcePath key to C:\ |
| Quote: |
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
To enable/disable the progress bar, add a new DWord: SFCShowProgress The values are: 0=disabled, 1=enabled |
| Quote: |
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePackSourcePath
Use this to point to the Service Pack Files: C:\WINDOWS\ServicePackFiles (if this is where they're located on your system) |
|
|
| Back to top |
|
 |

User: inactive Posts:
|
Posted: Sun Nov 12, 2006 9:10 am Post subject: Re: RegEdit for SP2 and SFC.EXE [Login to view extended thread Info.] |
|
|
| Charred wrote: |
Hello usasma,
I haven't tried your way, but I did set up my XP Home machine using the instructions set out in http://www.updatexp.com/scannow-sfc.html
Worked for me, hope it does for you.
John |
Well, I went to the website quoted above and even printed out all nine pages of it. After copying the entire i386 folder to my HD and making the suggested registry entries, sfc /scannow still stops and asks for my install CD.
In my case, it's never more than 3' away from the PC so putting it in the CD reader 'ain't no big deal' but just annoying as heck, when everything I've read and tried says I shouldn't have to do that.
My CD drive whirs and spins and the light flashes the whole time SFC is running, so I know it's ignoring the folder on the HD and still going for the install CD. Go figure!
At this point, I'm at a loss as to why windows is ignoring the changes that I made to the registry. I can't help but wonder if SFC is getting its information from some other source (registry key).
What say ye?  |
|
| Back to top |
|
 |
goretsky

Joined: Dec 07, 2002 Posts: 9662
Location: Southern California
|
Posted: Mon Nov 13, 2006 1:00 am Post subject: Re: RegEdit for SP2 and SFC.EXE [Login to view extended thread Info.] |
|
|
Hello,
There was another recent discussion in the forum about Microsoft's Systernals' utilities, including one called RegMon which can be used to check which registry keys are being accessed by a particular program. You could try starting it before the System File Checker (filename: SFC.EXE) program and then looking through the resultant log file to see if there are any registry keys containing the path to the CD disc drive. You could then try changing these to the path on your hard disk drive drive and re-running the SFC program to see if it will now operate without the installation disc being present.
Regards
Aryeh Goretsky |
|
| Back to top |
|
 |

User: inactive Posts:
|
Posted: Mon Nov 13, 2006 10:08 am Post subject: Re: RegEdit for SP2 and SFC.EXE [Login to view extended thread Info.] |
|
|
Someone (I don't have a clue, who it was) sent me a link to download "SysInternals". I downloaded it but didn't know what to do with it.
Now I know what to do with at least ONE of those g'zillion files.
Thanks,
Shadow  |
|
| Back to top |
|
 |
usasma

Joined: May 06, 2003 Posts: 5006
|
Posted: Tue Nov 14, 2006 6:50 am Post subject: Re: RegEdit for SP2 and SFC.EXE [Login to view extended thread Info.] |
|
|
I used the RegMon to trace the accesses - but the list for a very short scan is over 500 entries long and very cryptic. This one's gonna take a while!  |
|
| Back to top |
|
 |

User: inactive Posts:
|
Posted: Tue Nov 21, 2006 9:20 am Post subject: Re: RegEdit for SP2 and SFC.EXE [Login to view extended thread Info.] |
|
|
Just opening RegMon caused a very long scroll of text so tiny I could not read it. I don't think I'll be wasting my time with that one.
The whole exercise is futile anyway, since I don't use SFC.exe.
Cheers Maties!
Shadow  |
|
| Back to top |
|
 |
strungout

Joined: Dec 12, 2006 Posts: 1
|
Posted: Tue Dec 12, 2006 5:11 pm Post subject: [Login to view extended thread Info.] |
|
|
Played with this some and finally got it to work...Think them instructional web pages showing how to get sfc to look at c:\ for the setup SourcePath rather then the CDrom really need to stress that some OEM systems may not have the SourcePath key there in the first place in the WindowsNTCurrentVersionSetup part. Had to make one. Thinking that was the actual thing I had to do to get mine to work.
Also, since my system is a newer Gateway OEM with sp2 already installed the ServicePackFiles folder is not present and references are moot apparently. So I pointed the ServicePackFiles & ServicePackFilesCache references to one directory up from where I think my updates and uninstall directories are kept in "$" directories under c:\windows.
Does that sound correct way to go about that section or does it never matter or is never used by any other sytem chores or programs?? |
|
| Back to top |
|
 |
|