Microsoft

Quick Tip: Scan Windows 7 system files to repair errors

Despite our best efforts, every once in a while, Microsoft Windows 7 system files will become corrupted. A simple scan can fix these system errors.

Knock on wood, this has not happened to me in a very, very long time, but every once in a while the Microsoft Windows system files will become corrupted and report errors. The solution to this annoying, but fixable, problem is to repair the files. A reboot of the PC will often do the trick, but there is a way to repair files while Windows 7 is running and, presumably, you are working productively.

This blog post is also available in PDF format in TechRepublic download.

Stay on top of the latest Microsoft Windows tips and tricks with TechRepublic's Windows Desktop newsletter, delivered every Monday and Thursday. Automatically sign up today!
First you will need to start a permission-elevated command-line prompt. Type command into the Desktop Search box and then right-click on the Command Prompt menu entry and select the Run as Administrator item (Figure A).

Figure A

Run the command prompt as administrator.

After accepting the elevated permissions, at the prompt type this command:

sfc /scannow

Now the system will verify the system files and repair any corrupted files (Figure B).

Figure B

Scan for errors.
My test system had no errors (Figure C); however if it did, this scan would have repaired any corrupted files, but without forcing a system reboot.

Figure C

No errors were found.

About

Mark W. Kaelin has been writing and editing stories about the IT industry, gadgets, finance, accounting, and tech-life for more than 25 years. Most recently, he has been a regular contributor to BreakingModern.com, aNewDomain.net, and TechRepublic.

Editor's Picks