-->

Scan (and Fix) Corrupt System Files on Windows | Here's how to do it.

How to Scan (and Fix) Corrupt System Files on Windows

 If your PC often has trouble starting up, it's possible that Windows system files have been damaged, lost, or even changed due to the installation of a software.


If your system can still start, even enter Safe Mode, then you can run the proper utility from Windows. If Windows does not start, you can also run it from the Command Prompt which is available when you boot from your installation media into repair mode.


To run this utility on Windows, you need to open Command Prompt in administrator mode.


1. Right-click on the Start menu or press Windows + X on the keyboard, and select “Command Prompt (Admin)” from the Administrative Tools menu.


325x407xmenu


2. Once Command Prompt (Admin) is open, you can run the utility using the following syntax:

SFC [/SCANNOW] [/VERIFYONLY] [/SCANFILE=<file>] [/VERIFYFILE=<file>]

[/OFFWINDIR=<offline windows directory> /OFFBOOTDIR=<offline boot directory>]


3. The most useful option is to scan the entire system as quickly as possible, whereupon the system will scan and attempt to repair files that have been modified or corrupted. You can do it with this command:

sfc /scannow


 650x329xscannow_2-650x329


4. Alternatively, you can use the “sfc /verifyonly” command to scan the system, but it doesn't fix anything.


5. You can also only scan or verify specific files using “/scanfile=<file>” or “/verifyfile=<file>” along with the full path of the target file, like this:

sfc /scanfile=c:\windows\system32\kernel32.dll


This utility doesn't exist on older versions of Windows, but you may have slightly different options. You can always use the command “sfc /?” to get all support on all versions of Windows.

Related Posts