How can I retrieve core Windows files that I've deleted?

John Savill

July 23, 2003

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. Although you can manually copy the files from the Windows installation media, you're probably better off using the System File Checker utility that ships with Windows 2000 and later. If you've changed your configuration since you installed Windows and your installation media is now available at another location, you'll need to perform the following steps before you run System File Checker:

  1. Start a registry editor (e.g., regedit.exe).

  2. Navigate to the HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion registry subkey.

  3. Change the Sourcepath value to point to the installation media's new location (e.g., D:i386).

  4. Navigate to the HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionSetup registry subkey.

  5. If the Sourcepath value is listed, change the value here also to point to the installation media's new location.

To use System File Checker, perform the following steps:

  1. Insert the Windows CD-ROM installation media.

  2. From the Start menu, select Run.

  3. Enter

    sfc /scannow 

to start the System File Checker process and check all core files. The utility will replace any missing core files and make sure all the files are up-to-date.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like