PDA

View Full Version : System File Checker (or similar) for XP ? ? ?



glenn
03-04-2003, 07:05 PM
I was using win98 before upgrading to xp pro. When I needed to reinstall a corrupted system file, I could use System File Checker or the extract utility in DOS. Does anyone know if there are similar utilities within xp?

Cheers

g

Babe Ruth
03-04-2003, 07:14 PM
Well there is a system file checker on WinXp as per Microsoft(R) Windows XP Windows File Checker Version 5.1
(C) 1999-2000 Microsoft Corp. All rights reserved

Scans all protected system files and replaces incorrect versions with
correct Microsoft versions.

SFC [/SCANNOW] [/SCANONCE] [/SCANBOOT] [/REVERT] [/PURGECACHE] [/CACHESIZE=x]

/SCANNOW Scans all protected system files immediately.
/SCANONCE Scans all protected system files once at the next boot.
/SCANBOOT Scans all protected system files at every boot.
/REVERT Return scan to default setting.
/PURGECACHE Purges the file cache.
/CACHESIZE=x Sets the file cache size.
You must be logged on as a member of the Administrators group to run sfc.
If sfc discovers that a protected file has been overwritten, it retrieves the
correct version of the file from the %systemroot%\system32\dllcache folder,
and then replaces the incorrect file.
If the %systemroot%\system32\dllcache folder becomes corrupt or
unusable, use sfc /scannow, sfc /scanonce, or sfc /scanboot to repair the
contents of the Dllcache directory. And you also have System Restore, can't say I have ever (had to use) used SFC,,,

Babe.

glenn
03-04-2003, 07:50 PM
would i use this with the Command Prompt available while windows is running?

Babe Ruth
03-04-2003, 07:53 PM
Yes.

Babe.