Sometimes it's annoying when you want to open a file but the file is corrupt. Now don't worry, just follow how to deal with the following corrupted files.
A computer is an electronic device that is capable of make work easier man. As an electronic device, of course the computer is vulnerable to damage.
When the computer is operating and starts to feel slow, or even often experiences various kinds of difficulties during startup, it may be caused by Windows file system damaged, missing, or even changed automatically due to a new software installation.
Basically, the damage to the Windows file system is not too bad. But if left unchecked it will only get worse.
Therefore, immediate action is needed to scan and repair the damaged Windows system files.
Here ApkVenue has tips on how to deal with corrupted files on Windows without additional applications. You only need CMD to repair the corrupted file. How to? Come on!
How to Fix Corrupt Files With CMD
Step 1 - Run CMD
- First of all, run Command Prompt as Administrator. How to right click on the Start logo, then select Command Prompt (Admin).
Step 2 - Scan file system
- To do scan and immediately make repairs to the damaged file system, then you can do it with the command below:
sfc /scannow
This process will take quite a long time, because this scan is done thoroughly.
Step 3 - Done
In addition, you can use the command sfc /verifyonly to scan but without making repairs any.
However, if you only want to scan 1 file system, then you can use the command below.
For example, if you want to scan and repair a system file named advapi32.dll which is located in the folder C:\Windows\System32, then you can use the command:
sfc /scanfile=C:\Windows\System32\ advapi32.dll
Or it can be with /verifyonly=C:\Windows\System32\ advapi32.dll, to perform a scan only without any repair.
In addition to some of the commands above, here are other parameters that you can use in the process scanning, taken from MSDN Microsoft:
/scannow: To scan directly protected files.
/scanon: To scan the protected files simultaneously.
/scanboot: To scan protected files every time the computer restart.
/revert: To return the scan to the default operation.
/purgecache: To clear cache Windows File Protection and perform a scan of the file system.
/cachesize=x: To set the cache file size for Windows Protection Files, in MB.
/filesonly: To verify or repair files only. Not verifying or registry repair.
/offbootdir: You can use this option to repair or repair offline and also to find the file location boot.
/offwindir: You can use this option to perform offline repairs and also To specify the Windows directory location.
/revert: To return to the default settings.
/?: To display help in the Command Prompt.
That's how to fix corrupted or corrupted files. If maybe in the future there is a problematic file system on your computer, then you can fix it yourself.
Good luck and don't forget share if you have a way to deal with other corrupted files, yes. See you!