As you all know, the system files are very crucial computer files that are responsible for the starting and running of an operating system. If any system file gets missing or corrupted, your operating system will run into trouble. Therefore, this post shows you how to repair system files in some effective ways.
By just looking at the file name of system files, you can get the information directly that they are crucial for getting the system up and running. Definitely, various problems will occur on your computer after one of more of the system files are missing or corrupted.
MiniTool can help you get back data from your system and solve some common disk problems.
Can You Repair System Files by Yourself
If you experience one of the following things, you have reason to suspect that something is wrong with the system files:
- Some of the Windows functions are not working well.
- Your system crashes now and then without any apparent cause.
- Other strange things.
[SOLVED] Operating System Not Found Error – How To Recover Data?
When that really happens, the first thing to consider is whether you can repair system files or not. Luckily, the answer is YES. And I will mainly show you how to make use of System File Checker (SFC), the built-in Windows repair tool, to scan and repair corrupted files.
Use System File Checker to Fix Corrupted Files on Windows 10
The main function of System File Checker is to scan for and restore any corruptions in the Windows system files. All the system files, even the protected ones will be scanned during the process. If any corrupted system files are found, the System File Checker will replace them by using the cached copy located in the compressed folder at %C:\Windows%\System32\dllcache.
First step: open Common Prompt and run it as administrator.
- Click on the Start button in the lower left corner of screen.
- Navigate to Windows System folder and expand it.
- Right click on Command Prompt and choose More from the menu.
- Click Run as administrator.
- The User Account Control window will pop up to ask whether you’d like to allow it to make changes to your device.
- Click Yes in this window to open Administrator: Command Prompt.
Second step: type the sfc command.
- Type sfc /scannow into Command Prompt window manually (you can also copy the command by Ctrl + C and paste it to Command Prompt by Ctrl + V).
- Wait for the scan to finish (wait until the Verification goes to 100% complete).
You may receive the following messages when the scan process is finished by SFC.
- Windows Resource Protection did not find any integrity violations. (It didn’t find any missing or corrupted system files.)
- Windows Resource Protection found corrupt files and successfully repaired them.
- Windows Resource Protection could not perform the requested operation. (Please run SFC in Safe Mode.)
- Windows Resource Protection found corrupt files but was unable to fix some of them.
In the last case, you’ll need to view the details in the CBS.Log.
How to view the System File Checker process details:
- Run Command Prompt as administrator as mentioned in the first step.
- Type or copy & paste findstr /c:”[SR]” %windir%\Logs\CBS\CBS.log >”%userprofile%\Desktop\sfcdetails.txt” and hit Enter.
- Go to find and open the Sfcdetails.txt file (Date/Time SFC detail) on your PC.
- You can find the entries for a file that could not be repaired in the log file.
How to replace a corrupted system file with a copy manually:
- Also, you need to run Command Prompt as administrator.
- Type takeown /f Path\file name (for instance, takeown /f C:\windows\system32\jscript.dll) into the Command Prompt window (please make sure the exact path and name of certain corrupted system file). Then, hit Enter.
- Type icacls Path\file name / grant administrators:F and then hit Enter.
- Type copy source file path destination (source file path should be E:\needed\jscript.dll or anywhere else that you keep the copy; destination should be C:\windows\system32\jscript.dll or other path where the corrupted file is located). Then, hit Enter.
If you can’t repair system files by doting these things, please use DISM tool/System Restore or reinstall the system.