SFC

Hi all,

Is there any way to change SFC Location. It asks to insert CD everytime i run. Can we change this default behaviour? Can we add our own location in registry or somewhere.

Your help is appreciated.

Thanks
SystmProg
LVL 35
Nirmal SharmaSolution ArchitectAsked:
Who is Participating?
 
MrArubaCommented:
had to look it up myself but found this usefull thing :

RUN SYSTEM FILE CHECKER WITHOUT THE XP CD

The System File Checker (Sfc.exe) is a nice tool available in Windows XP which can often correct problems in an installation by replacing damaged or missing system files. It normally uses a folder on your hard drive called WINDOWS\System32\Dllcache as source for the replacement. (This folder is a hidden folder on your hard drive, which you won't be able to see unless you have modified the default settings of Windows Explorer -> Tools -> Folder Options -> View so that there is no check mark next to Hide protected operating system files.) But not all protected system files may be kept there, and that folder may also become corrupted. If SFC detects this, it will ask you to insert your Windows XP installation CD to get the necessary files. However, this can be inconvenient for various reasons. For example, you may be using a laptop computer and may not want to carry around your valuable installation CD with you.

If your hard drive is large enough, a good way to get around this inconvenience is to copy the entire I386 folder from the CD to your hard drive, and then modify the Registry so that SFC will use that folder as the source for its copying operations. This is how you do that.

Click on the Start button, type REGEDIT in the Run dialog box off the Start Menu, click OK, and then navigate to the following key in the left pane of the Regedit window:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\

When you click on the last subkey (Setup), you will see in the right pane a value called SourcePath, which will point to your CD-ROM drive. Assuming that you have made the copy of the I386 folder to the root of your C: drive, then all you have to do is double click on this value and change it to point to C: instead.

You might also need to modify the value SourcePath at this location:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\

The following web page has very good information about this, and acted as the source for my article:

http://www.updatexp.com/scannow-sfc.html
scannow sfc - LEARN how to use SFC.EXE (system file checker)
0
 
MrArubaCommented:
I know it's xp in the post above but it should give you a good pointer for win2000
0
 
Nirmal SharmaSolution ArchitectAuthor Commented:
Will let you know.

Thanks for your help so far.
0
 
Nirmal SharmaSolution ArchitectAuthor Commented:
Thanks man!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.