1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

I386

Discussion in 'Windows XP' started by sull48vg, 2006/01/14.

  1. 2006/01/14
    sull48vg

    sull48vg Inactive Thread Starter

    Joined:
    2006/01/14
    Messages:
    24
    Likes Received:
    0
    I was having trouble doing a sfc scannow. It kept asking for my original CD and the said I needed to copy files to the dllcache. What I did was copy the I386 files to C:\ which is a separate file on C:\. I also changed the setting in the SourcePath to C:\. I ran sfc scannow and was not asked for my CD.

    My problem is: When I changed the SourcePath it wasn't just listed as Source Path it was listed Service Pack SourcePath. I couldn't find one that just said Source Path.

    Second, do I move the I386 file from just C:\I386 to the C:\Windows\System32\dllcache?

    I have Windows XP Home with Sp1. I had SP2 installed, but because of errors and couldn't run sfc scannow I uninstalled it. I still could not run sfc scannow. That's why I copied and pasted it to C:\. I just need to know if I need to move it to the dllcache so it is in the protected files. Once I get this straightened I want to reinstall Sp 2.
     
    Last edited: 2006/01/14
  2. 2006/02/05
    Arie

    Arie Administrator Administrator Staff

    Joined:
    2001/12/27
    Messages:
    15,174
    Likes Received:
    412
    No.

    sfc will copy any files that should be in the dllcache.
     
    Arie,
    #2

  3. to hide this advert.

  4. 2006/02/05
    Welshjim

    Welshjim Inactive

    Joined:
    2002/01/07
    Messages:
    5,643
    Likes Received:
    0
    Arie--I have always been confused about this.
    If I change the Source Path to C:\ (which is where my I386 folder resides), I would expect sfc /scannow to be accessing files from I386, not DllCache. I would think I would have to change Source Path to C:\Windows\System32 to have sfc access from DllCache.
    And, yes, I have read your article
    http://www.helpwithwindows.com/WindowsXP/howto-24.html :)
    and
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;310747
    The latter seems to say sfc will read from I386, System32 or DllCache without mentioning Source Path.
    I believe the default Source Path when I bought the PC was the CD-ROM drive (D:\).
    I now have my Source Path set as C:\ based on your article, and C:\I386 seems to be where Dell installed the orginal system files. But I still am asked to install the WinXP CD (into drive D:\). And then I have to stay by the PC and click Retry several times to get the job done.
    Can you offer any clarification?
     
  5. 2006/02/06
    Arie

    Arie Administrator Administrator Staff

    Joined:
    2001/12/27
    Messages:
    15,174
    Likes Received:
    412
    When System File Checker (SFC) determines that a protected system file is missing/corrupt, it will first attempt to find a copy of that file in the Dllcache folder. If it is not there, it will look for the source using the SourcePath value in the registry.

    Weird. Make sure you have access to I386.
     
    Arie,
    #4
  6. 2006/02/06
    Welshjim

    Welshjim Inactive

    Joined:
    2002/01/07
    Messages:
    5,643
    Likes Received:
    0
    Arie--Thanks for replying.
    Forgive me for being dense. What do you mean by that?
    I can see and open C:\I386 and see all the individual files in it.
    Could this have any thing to do with the Registry entries for ServicePackCachePath and ServicePackSourcePath? The latter is set at C:\Windows\ServicePack Files. The former is set at C:\Windows\ServicePack Files\ServicePackCache.
     
  7. 2006/02/07
    Arie

    Arie Administrator Administrator Staff

    Joined:
    2001/12/27
    Messages:
    15,174
    Likes Received:
    412
    ServicePackSourcePath: The default location where the last Service Pack was installed from. This is generally set automatically when a Service Pack is applied.

    ServicePackCachePath: 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.

    What I mean by
    is that I have no idea how this is set if you have a 'recovery partition' on your HDD as some OEMs have.
     
    Arie,
    #6
  8. 2006/02/07
    Welshjim

    Welshjim Inactive

    Joined:
    2002/01/07
    Messages:
    5,643
    Likes Received:
    0
    Arie--My Dell shipped with WinXP Home and came with a recovery partition. However, when I installed WinXP Pro SP2 (using a full retail CD), I deleted the recovery partition.

    EDIT--It occurs to me, based on the above conversation, that perhaps my C:\I386 folder is the original installed by Dell for WinXP Home. In other words that my installation of WinXP Pro did not change that folder, and that I should copy the I386 folder from the WinXP Pro CD to replace the existing I386 folder. Maybe sfc /scannow can see that I386 is not offering the right files and seeks the CD.
    Do you or anyone else see anything wrong with that?

    P.S. If that could cause problems, is there a simple way of testing whether the present I386 folder comes from Home or Pro?
     
    Last edited: 2006/02/07
  9. 2006/02/08
    Arie

    Arie Administrator Administrator Staff

    Joined:
    2001/12/27
    Messages:
    15,174
    Likes Received:
    412
    Yep, that could cause it.

    What you can do is copy the I386 folder from the WinXP Pro CD to another partition (if you have another one available that is...), and point the registry to that one. Or else rename the current I386 folder (for example I386-ORG) if you don't want to delete them right away.
     
    Arie,
    #8
  10. 2006/02/08
    Welshjim

    Welshjim Inactive

    Joined:
    2002/01/07
    Messages:
    5,643
    Likes Received:
    0
    Arie--Thanks. Will try the latter (although I do have another partition).
    Wish me luck! :)
     
  11. 2006/02/08
    Welshjim

    Welshjim Inactive

    Joined:
    2002/01/07
    Messages:
    5,643
    Likes Received:
    0
    Arie--Firstly, I must apologize for intruding into someelse's thread. I you feel this is inappropriate, I will try to recompose in a new thread.
    I copied the I386 folder from the retail WinXP Pro SP2 CD to my C:\ directory after having renamed (disabled) the I386 folder that Dell had presumably installed. The new I386 folder was considerably smaller in bytes than the old one, but the number of files was only slightly fewer. (FWIW, the Dell I386 had presumably been installed as WinXP Home SP1 which is what came with the PC. I had updated WinXP Home to SP2 somewhere along the way, but I understand this would not affect I386. And, as mentioned, I had had installed WinXP Pro SP2 from a retail CD over that at some point.)
    I then ran SFC /SCANNOW. There was no change from earlier experience. I was immediately asked to insert the WinXP Pro SP2 CD into Drive D:\ and there were many requests to "Retry ", mostly at the beginning. But finally, after the usual long wait, the progress bar went to conclusion and disappeared (which I believe is normal). So I assume the SFC /SCANNOW procedure had succeeded.
    I thought it might be helpful to show my Registry window for this key. Perhaps it will help in a diagnosis of what is impeding a smooth run of SFC /SCANNOW. Please see the attachment.
    I should perhaps add comments about the paths for ServicePackSourcePath and ServicePackCachePath. While I do have a folder named C:\Windows\ServicePackFiles, there is no meaningful content. There are subfolders "i386" and under that "lang ". But both are completely empty.
    I have no idea what the significance of that is. Is this the problem? Is there anything I can/should I do about it?
     
  12. 2006/02/09
    Arie

    Arie Administrator Administrator Staff

    Joined:
    2001/12/27
    Messages:
    15,174
    Likes Received:
    412
    Well, the only thing I can say is that you are probably not using the exact same installation disk as used to install the OS.

    I also have no idea what would happen with an upgraded OS.

    I just ran a test on a VPC WinXP SP2 install, and it worked as expected:

    1. Originally SourcePath pointed to the DVD (D:\ENGLISH\WINXP\PRO_WITH_SP2\), and as soon as I tried running sfc /scannow, it asked for the DVD (I reset the virtual machine, so didn't have to complete the exercise).

    2. I copied the I386 directory from the DVD to C:\ and adjusted SourcePath to C:\, rebooted, and ran sfc /scannow. It did not ask for the DVD.
     
  13. 2006/02/09
    Welshjim

    Welshjim Inactive

    Joined:
    2002/01/07
    Messages:
    5,643
    Likes Received:
    0
    Thanks, Arie, for the further comment.
    As mentioned, I installed WinXP Pro SP2 using a full (not Upgrade) retail CD, over Dell's installation of WinXP Home SP1, subsequently updated from Windows Update to SP2. I now use the WinXP Pro SP2 CD when asked to insert by SFC /SCANNOW.
    Anything I should do about the empty C:\Windows\ServicePackFiles folder? Of course I have, in fact, never installed any updated Service Pack since the last installation was SP2, itself. (I have installed many Windows Updates over the last year, but none were SP's.)
     
  14. 2006/02/10
    Arie

    Arie Administrator Administrator Staff

    Joined:
    2001/12/27
    Messages:
    15,174
    Likes Received:
    412
    No, because you have the service pack files on the CD (WinXP + SP2).
     
  15. 2006/02/10
    PeteC

    PeteC SuperGeek Staff

    Joined:
    2002/05/10
    Messages:
    28,896
    Likes Received:
    389
    Jim

    I sympathise with your sfc problems having been down the same road. I found a solution in this article ....

    Scannow sfc - a comment by a reader at the bottom of the page ....
    In my case - and probably yours, the I386 folder in on C:\ , thus ....

    ServicePackSourcePath - Data = C:\
    SourcePath - Data = C:\

    Works a treat :)
     
  16. 2006/02/10
    Welshjim

    Welshjim Inactive

    Joined:
    2002/01/07
    Messages:
    5,643
    Likes Received:
    0
    PeteC--Thanks for the info. Yes, my I386 folder is in C:\ . And, in Registry, Source Path is already set to C:\ per my attachment above. But I will try setting ServicePackSourcePath to C:\ also, although I do not seem to have any ServicePackFiles folder in C:\. Rather, as mentioned it is in C:\WINDOWS\, but the folder is empty.
     
  17. 2006/02/10
    PeteC

    PeteC SuperGeek Staff

    Joined:
    2002/05/10
    Messages:
    28,896
    Likes Received:
    389
    Jim

    I don't have a ServicePackFiles folder at all as my current install is from an XP SP2 CD, but copying the i386 folder from the CD to C:\ and setting up the registry entries as I indicated works.
     
  18. 2006/02/10
    Welshjim

    Welshjim Inactive

    Joined:
    2002/01/07
    Messages:
    5,643
    Likes Received:
    0
    Pete C--You beauty!
    Changed ServicePackSourcePath to C:\ , ran SFC /SCANNOW and it just ran. I was not asked to insert the WinXP Pro CD and was not pestered with "Retry ". Fantastic.
    Now did I accomplish anything? Well, I was not having problems at the moment, so I do not know, but SFC /SCANNOW certainly does run smoothly. It really is such a relief not to be asked to Retry anymore.
    Many thanks.

    P.S. Really weird why directing ServicePackSourcePath to a seemingly non-existent location is the solution.
    P.P.S. I did not change the Path for ServicePackCachePath
     
    Last edited: 2006/02/10
  19. 2006/02/11
    Arie

    Arie Administrator Administrator Staff

    Joined:
    2001/12/27
    Messages:
    15,174
    Likes Received:
    412
    I think this is the answer (I missed that originally):

    "subsequently updated from Windows Update to SP2." means that sfc will now be looking for ServicePackSourcePath when needing SP2 files.

    Now, ServicePackSourcePath is not "a seemingly non-existent location ", since you have copied the I386 from a WinXP SP2 CD there.
     
  20. 2006/02/11
    PeteC

    PeteC SuperGeek Staff

    Joined:
    2002/05/10
    Messages:
    28,896
    Likes Received:
    389
    I'm glad we got that sorted - it's been bugging me on and off for years :)

    Jim
    Check out Event Viewer > System - there should be 2 entries relating to Windows File Protection - start and end. Any entries in between may refer to files which were replaced (Screenshot - and NO, the computer clock is not set incorrectly, this is one of my stock screen captures for BBS use :))
     
  21. 2006/02/11
    Nontechguy

    Nontechguy Inactive

    Joined:
    2004/08/08
    Messages:
    18
    Likes Received:
    0

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.