Recover the lost/deleted data from computer, hard drive, flash drive, memory card, digital camera and more.
[Solved] How to Manually Recover and Replace A Corrupted System File
It is a serious problem that the windows resource protection found corrupt files. But before that, we can first determine whether the system file is really corrupt.
According to the following inspection method, if the system file is corrupted but can be repaired, you can refer to fix corrupt files of Windows system that can help you repair the corrupt file. If it is corrupted and cannot be repaired, we need to replace the corrupt system file. The replacement step is not difficult, just follow the operation below.
1. How to View SFC Log to Determine That System File Was Corrupted
You can use the SFC.exe program to help you troubleshoot crashes that occur in the user mode part of Windows Vista. These crashes may be related to missing or corrupted operating system files.
If you want to view SFC log, you can do that as well. To do that, follow these steps:
Step 1Press Windows Key and R key to open Run dialog, then type cmd in the search box to open Command Prompt.
Step 2Type findstr/c:”[SR]” %windir%LogsCBSCBS.log >”%userprofile%Desktopsfclogs.txt” command and press Enter. By doing this, you’ll create a sfclogs.txt file on your Desktop.
Step 3 Open the sfclogs.txt and check the results of SFC scan.
Note: This log file contains only information related to SFC scan that is performed in Windows.
How to interpret the SFC log file entries:
The sfc.exe program verifies files in groups of 100. Therefore, there will be many groups of SFC.exe program entries. Each entry has the following format: date time entry_type details. For more details on how to interpret, visit How to interpret the log file entries.
2. How to Manually Replace A Corrupted System File
After determining which system file is corrupt and cannot be repaired by the details in the Sfcdetails.txt file, locate the location of the corrupted file and manually replace the corrupted file with a known copy of the file. To do this, follow these steps:
Note: You can get a known correct copy of the system files from another computer running the same version of Windows as your computer. You can perform a System File Checker process on this computer to ensure that the system files you are copying are a good copy.
Step 1 We can execute a command line in the cmd program to get administrative ownership of corrupted system files. First, press the windows key and the R key, type cmd in the search box, and then press the enter key to open the command prompt window.
Step 2Type the following command in the command prompt window, then press Enter key.
takeown /f Path_And_File_Name
Note: The Path_And_File_Name placeholder represents the path and the file name of the corrupted file. For example, type takeown /f C:\windows\system32\jscript.dll.
Step 3After obtaining administrative ownership of corrupted system files, we also need to grant administrators full access to corrupted system files.
Type the following command in the command prompt window, then press Enter key.
Icacls Path_And_File_Name /GRANT ADMINISTRATORS:F
Note: The Path_And_File_Name placeholder represents the path and the file name of the corrupted file. For example, type icacls C:\windows\system32\jscript.dll /grant administrators:F.
Step 4Type the following command in the command prompt window, then press Enter key to replace the corrupted system file with a known good copy of the file.
Copy Source_File Destination
Note: The Source_File placeholder represents the path and file name of the known good copy of the file on your computer, and the Destination placeholder represents the path and file name of the corrupted file. For example, type E:\temp\jscript.dll C:\windows\system32\jscript.dll.
3. How to Recover A Corrupted System File Simply
According to the method shown above, it is easy to solve the problem of windows resource protection found corrupt files but was unable to fix some of them. But if you want to recover lost or deleted files, you can use FoneLab Data Retriever.
FoneLab Data Retrieveris a fast and useful data recovery software that easily solves problems with how to recover a corrupted system file.
- Recover kinds of corrupt files, including photos, videos, documents, audios, emails, archives, etc.
- Support corrupt file recovery from Windows, Mac, memory card, flash drive, hard drive, and other removable drives.
- Both Mac and Windows have corresponding versions, so don't worry about system compatibility issues.
FoneLab Data Retriever - recover the lost/deleted data from computer, hard drive, flash drive, memory card, digital camera and more.
- Recover photos, videos, contacts, WhatsApp, and more data with ease.
- Preview data before recovery.
Step 1 Download and install FoneLab Data Retriever. Then launch it.
Step 2 On the main page of the software, select the type of file you want to restore. For example, if the file you want to restore is a corrupt excel file, check the document option. If you want to restore the corrupt video file, check the video option. Then select the location where the missing corrupt file was originally stored for scanning. Then click Scan.
Step 3 After scanning, all the deleted or lost files will be listed in the interface. You can use Filter feature to quickly locate the files you want to recover.
Note: If you can't find your missing data, you can click Deep Scan to try again. Deep Scan will take more time to complete the whole scanning process, but it will offer you all possible results which can be restored.
Step 4 With just one click on Recover button, you can handily get all the selected files back to your computer.
Anyway, it offers a 30-day trial. Before purchasing it, you can use it to see if your deleted files are restorable.
Now, free download it for a try.