0% found this document useful (0 votes)
15 views5 pages

System and Network

The document provides an overview of the System File Checker (SFC), a command-line utility in Windows that scans and repairs corrupted system files. It details the usage of various SFC commands and switches, as well as instructions on how to run the SFC Scannow command. Additionally, it briefly discusses file corruption and repair methods across different operating systems, including Android, Linux, and Oracle systems.

Uploaded by

Abdul Sattar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views5 pages

System and Network

The document provides an overview of the System File Checker (SFC), a command-line utility in Windows that scans and repairs corrupted system files. It details the usage of various SFC commands and switches, as well as instructions on how to run the SFC Scannow command. Additionally, it briefly discusses file corruption and repair methods across different operating systems, including Android, Linux, and Oracle systems.

Uploaded by

Abdul Sattar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

System And Network Administration

SFC: System File Checker

SFC is a command-line tool that checks that all of the files covered by
system file protection are as they should be, and tries to repair those that
are not. It’s a good utility to run when you suspect system files have been
somehow corrupted, or if you just think there’s something wrong with your
system.

Uses of SFC Command:

 The SFC Utility will replace and of the corrupt, missing or incorrect file
in the windows.

 The SFC Utility can be used to check the system file integrity whenever
an application fails to load or system acts up.

 The SFC utility can be used to check the system file integrity whenever
an application fails to load or system acts up.

List of available SFC switches:

/ Scans integrity of all protected system files and repairs files with
SCANNOW problems when possible.

Scans integrity of the referenced file, repairs file if problems are


/SCANFILE identified. Specify the full path.

/
VERIFYONL Scans integrity of all protected system files. No repair operation is
Y performed.

/ Verifies the integrity of the file with the full path. No repair
VERIFYFILE operation is performed.

/REVERT Reverse SFC to its default operation.

/
OFFWINDI
R For offline repair, specify the location of the offline windows directory.

/
OFFLOGFIL
E For offline repair, optionally enable logging by specifying a log file path
How to use SFC:

You can simply use the SFC Scannow command if your Windows functions
aren't working properly. Follow the below-mentioned steps to run the SFC
Scannow command on your Windows system.

1. Click Start.
2. In the search bar, type CMD.
3. Right-click CMD.exe and select Run as Administrator.
4. On the User Account Control (UAC) prompt, click Yes.
5. In the command prompt window, type SFC /scannow and press Enter.
6. System file checker utility checks the integrity of Windows system files and repairs them
if required.
7. After

How SFC System File Checker work


The sfc /scannow command will scan all protected system files, and replace corrupted files with
a cached copy that is located in a compressed folder at %WinDir%\System32\dllcache. The
%WinDir% placeholder represents the Windows operating system folder. For example, C:\
Windows.
Why the System File Checker is important
System File Checker is a utility in Microsoft Windows that allows users to scan for and restore
corruptions in Windows system files. It works as a command in Command Prompt and is a very
useful tool to use when you suspect there are issues with protected Windows files e.g. many
DLL files.

How to check corrupt files in Operating System?


Windows
The Windows System File Checker (SFC) is a tool that is built into all modern versions
of Windows. This tool allows you to repair corrupt system files in Windows. System File
Checker (SFC) can be run with administrator privileges both from within Windows and
using the Windows recovery media.

1. From the desktop, press the Windows + X shortcut key combination.


2. In the menu, select Command Prompt (Admin).
3. On the User Account Control (UAC) prompt, click Yes.
4. In the command prompt window, type SFC /scannow and press Enter.
5. System file checker utility checks the integrity of Windows system files and
repairs them if required.
6. After the process is complete, reboot the computer.

Android
You can open a corrupt file without the hassle by changing its file format. You can use
a different application to open the file or use a free file converter app. Sometimes you
can only repair a corrupted file through file conversion. You can also use file repair
software to fix the corrupt file.

Linux
The Run utility can be accessed through Start. In the browser, type in the command
“sfc/scannow”. The utility will be started by pressing OK. In order to find corrupt or
unstable files, this process is performed.

RHEL Linux
RHEL (Red Hat Enterprise Linux) is famed for its integration of file system administration
utilities upon its installation. The Linux file systems get scanned for any performance
shortcomings and instantaneously get repaired through the help of toolkits like fsck (file system
check). The Linux operating system automates the execution of this file scanning and repairing
tool during system boot. However, it is also possible for an RHEL user to manually invoke a
terminal command associated with filesystem check and repair without rebooting the system.

CentOS
I hit a weird issue yesterday. I rebooted one of our CentOS 6.5 servers and it promptly kernel
panicked with a RAMDISK incomplete write! error. Booting into rescue mode I could see that
the initramfs-2.6.32-431.el6.x86_64.img file was half the size it should be.
Copying the file from another Linux box and rebooting fixed the issue but I'd love to know why
that file got damaged/corrupted in the first place. The /boot volume has 396MB of free space
so I don't believe it to be a space issue.

Oracle
Oracle also provides many ways to find corrupt blocks, DVB, rman, and dbms_repair:
1. Using rman to find corrupted blocks: RMAN corrupted_blocks.htm.
2. Using DVB to find corrupt blocks. Using DB verify to find corruption.
3. Find corrupt blocks with dbms_repair. Using dbms_repair to detect corruption.

Linux Mint
Yes, there are a couple of ways to do this, but it can cause problems (same as windows SFC) if
you are unlucky. In Windows, you can use "SFC /scan now" and some DISM commands to check
for corruption and repair it.
Are there commands that can do the same for Linux Mint?
If yes, show me the commands and tell me how to use them

Oracle OS:
 Fortunately, there are multiple ways that Oracle can detect and repair data block
corruption:
 Oracle Recovery Manager (RMAN)
 DB Verify
 ANALYZE command
 DB_BLOCK_CHECKING parameter
 Block media recovery (BMR)
 DBMS_REPAIR

Fedora
 You are likely going to need to run a file system check (man fsck or man fsck.ext2) on
that particular file system.
 I'd encourage doing some man lookups first, as verifying the commands for your
particular distro/setup never hurts.
 If it's on the root file system, that could pose other problems and questions. As for what
causes it... For example, quite a few things, like powering off the machine without
proper shutdown.

You might also like