Annoyances.org
Home » Windows XP Discussion Forum » Message 1210483272 » Entire Thread Search | Help | Home
  
system file checker, and the results
Showing all messages in thread #1210483272
Windows XP Annoyances Discussion Forum


The following are all of the messages in this thread (4 in all), shown in chronological order. Click any message subject to view that message by itself or to view the thread hierarchy.
system file checker, and the results
Saturday, May 10, 2008 at 10:21 pm
Posted by Rick (74 messages posted)

when running sfc /scannow in XP Home, does it, without fail, install any system file that's missing? Is there a log where i can view what files were installed?

[Reply or follow-up to this message]

re: system file checker, and the results
Sunday, May 11, 2008 at 6:09 pm
Posted by Rich Kurtz (11386 messages posted)

I believe it tells you when it replaces a file, but there is no log that I'm aware of. You could run it and redirect the output to a file to look at later though. Something like:

sfc /scannow > sfclog.txt

That will redirect standard output to the sfclog.txt file.

sfc /scannow 2>&1 sfclog.txt

That will redirect standard output and standard error to the sfclog.txt file.

Or ... download a port of the Unix tee program (splits the output stream to the screen and also to a specified file.

sfc / scannow | tee sfclog.txt

[Reply or follow-up to this message]

re: system file checker, and the results
Sunday, May 11, 2008 at 11:50 pm
Posted by Rick (74 messages posted)

Thanks for the advice. I am also wondering if, when doing Windows Update, will the updated files be replaced with the originals on the cd-rom?

[Reply or follow-up to this message]

re: system file checker, and the results
Monday, May 12, 2008 at 9:51 am
Posted by Rich Kurtz (11386 messages posted)

Not sure I understand. Do you mean if you do a windows update, will the files it installs be replaced by files from the CD? If so, that's a good question that I don't know the answer to. I'll see what I can find out.

Google helps with this. See this article by Marc Liron - Microsoft MVP: How to use the scannow sfc tool in Windows XP

He says:

By default, Windows File Protection is always enabled and allows Windows digitally signed files to replace existing files safely. Currently, signed files are distributed through:

# Windows Service Packs
# Hotfix distributions
# Operating system upgrades
# Windows Update
# Windows Device Manager

If you introduce a file replacement in any other way, Windows File protection will overwrite your file!

Since WFP = SFC (they both do the same thing) I take that to mean that no, sfc will not replace a file updated via any of the above means.

[Reply or follow-up to this message]

Tip: Use one of the [Reply or follow-up to this message] links above to add a message to this thread
Return to the Windows XP Discussion Forum

All content at Annoyances.org is Copyright © 1995-2008 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.