Windows Vista: Checking Files with System File Checker

an article added by: Don Jefferson at 06212007


In: Root » Computers and technology » Windows Vista » Windows Vista: Checking Files with System File Checker

French Spanish Portuguese Italian German Japanese Chinese Korean Russian Arabic

Understanding Windows File Protection

Windows includes a feature called Windows File Protection that limits the damage you or programs can cause to Windows system files, such as dynamic-link libraries DLLs and executable files. You probably won’t decide to delete system files, but poorly written programs, wayward installation routines, or malware sometimes overwrite system files with unauthorized versions of files that have the same name. Windows File Protection uses digital signatures and catalog files produced by code signing to check that the files are authorized versions. You may remember from Article 13 that Windows is very reluctant to let you install a driver that doesn’t have the appropriate digital signature. Windows File Protection extends this protection to all key system files, including all SYS, DLL, EXE, TTF TrueType font, FON font, and OCX ActiveX component files. If you delete a protected file, or if a program overwrites or replaces a protected file, Windows File Protection restores the file from its own cache or from the distribution media for the software as soon as it notices the file is missing. Windows then displays an alert message box to an administrator notifying them that the file has been replaced. There are no interface settings for Windows File Protection: It’s on all the time.

Checking Files with System File Checker

If you suspect that there may be a problem with your files, you can run the System File Checker tool to scan your protected system files and verify their versions. If System File Checker finds a protected file has been damaged or overwritten, it replaces it with the correct file from its cache. You may need to provide your Windows DVD if System File Checker needs files that aren’t held in the cache. To run System File Checker, follow these steps:

1. Choose Start All Programs Accessories. Windows displays the Accessories folder on the Start menu.

2. Right-click the Command Prompt, choose Run As Administrator from the context menu, and then authenticate yourself to User Account Control. If you’re logged in as a Standard user or the Guest user, you’ll need to provide an Administrator password. Windows displays an Administrator: Command Prompt window.

3. Type the sfc command with the appropriate options using the following syntax

sfc [/scannow] [/verifyonly] [/scanfile=<file>] [/verifyfile=<file>] [/ offwindir=<offline Windows directory>] [/offbootdir=<offline boot directory>] These are the parameters:

Parameter Makes System File Checker

/scannow Scan all protected system files immediately and repair any problem files. /verifyonly Scan all protected system files but not repair any problem files.

Parameter Makes System File Checker

/scanfile Scan the file specified and repair it if there’s a problem. /verifyfile Scan the specified file but not repair any problem in it. /offwindir Use the specified offline Windows directory. /offbootdir Use the specified offline boot directory.

Checking System Files and Drivers with File Signature Verification

Windows includes a tool called File Signature Verification for checking that critical files on your computer include the appropriate digital signatures. You can run File Signature Verification by choosing Start Run, typing sigverif in the Open text box, and clicking the OK button. You can click the Advanced File Signature Verification Settings dialog box, which lets you specify exactly what to search for, where to search, and how and where to log the results. When File Signature Verification has finished running, it displays a message box such as the one shown here to let you know what it found.

legal disclaimer

Our website is not responsible for the information contained by this article. Web-articles is a free articles resource.
Suggestion: If you need fresh, daily updated content for your website, feel free to use our service. Click here for more information.

related articles

1. Windows Vista Put Some Gadgets in Your Windows Sidebar
Apple users have long been able to take advantage of the Mac OS X Dashboard, and Windows users have been able to download Yahoo Widgets (formerly Konfabulator Widgets). Those things are still available, but now Vista has its own little tools, known as gadgets. Vista gadgets live in the new Windows Sidebar which you can move to the left or right side of the screen by right-clicking it and selecting Properties. Or you can put Gadgets on your Desktop by dragging the little context menu that appears when you hover ...

2. Support for RSS News Feeds in Windows Vista
IE 7.0 includes an easy way to subscribe to news feeds, regularly updated information that sites publish in the format known as Really Simple Syndication (RSS). When a surfer visits a site that publishes one or more news feeds, a square broadcast icon on IE 7’s toolbar changes from grey to orange. Clicking the icon takes you to a page that explains the content of a feed and provides a clickable link that subscribes you. This is a big improvement over previous news feed buttons in other browsers, which formerly ...

3. Thinking of Cheating at Solitaire in Windows Vista
Unfortunately, Vista new Solitaire code seems to have broken one way that neerdowells have cheated at the game for years. This scandalous behavior was first revealed in Windows 3 s all the way back in 1991. As that article explained it, you could click Game - Undo when playing a Draw Three game, and the last three cards you turned over from the deck would go back on the pile. If you then held down the Shift key while clicking the deck, only one card at a time would turn over, allowing you to ...

4. A Quick Overview of All the Versions of Windows Vista
It seems like Windows Vista has a lot more versions than Microsoft has ever offered before. But that isn’t quite true. The Redmond company years ago split Windows XP into almost as many versions as we have today with Vista. You may occasionally hear Vista’s versions referred to as SKUs. This term stands for Stock Keeping Unit. We’ll use the more common terms version and product version throughout this article instead. Here’s a review of the major Windows XP versions (rough...

5. Taking Advantage of Your Ability to Upgrade to Windows Vista
Windows Anytime Upgrade Unlike previous versions of Windows, Vista installs itself with the capability to upgrade from a weaker version to a more-capable version at any time. You simply run the Anytime Upgrade applet, select a source to purchase an upgrade license from, and your PC is quickly enhanced with the more powerful version you’ve selected. _ Vista Home Basic can be upgraded in this way to Home Premium or Ultimate. _ Vista Home Premium and ...

6. Deploying Windows Vista: A Power User`s Toolkit
If you’re an enterprise administrator faced with the prospect of rolling out Windows Vista to hundreds or thousands of desktops around the world, take heart: Microsoft has finally upgraded its deployment tools in dramatic fashion, taking advantage of the componentized architecture of Windows Vista. But these deployment tools aren’t just advantageous to the world’s biggest corporations. If you’re a power user, a tinkerer, or someone who ends up having to reinstall Windows fairly regularly, you mi...

7. What`s New in the Windows Vista User Interface
Gazing upon Windows Vista for the first time, you will immediately be struck by how different everything looks when compared to older Windows versions such as Windows XP and Windows 2000. Now, windows are translucent and glass-like, with subtle animations and visual cues. This new interface leaves no doubt: Windows Vista is a major new Windows version, with much to learn and explore. In this article, we’ll examine the new Windows Vista user interface, called Aero, and explain what you need to ...