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).
Run the command prompt as administrator.
After accepting the elevated permissions, at the prompt type this command:
sfc /scannowNow the system will verify the system files and repair any corrupted files (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.
No errors were found.
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.