Skip to main content

Use System File Checker to Repair Missing or Corrupt Files in Windows 7

Did it happen to you that your computer failed to boot properly or after boot it flashed some warning message saying that your computer is missing some system file ?
One of the reasons for Windows boot failure could be that some of the system files of Windows got corrupted due to hardware failure or other unknown reasons. The situation becomes worse if your computer automatically restarts and you lose all your unsaved data on the primary Windows partition.
In this case you should check out System File Checker (SFC.exe) - it’s a command line system tool which scans your computer’s system files and figures out the missing or corrupted files and replaces the damaged or missing files.

How To Use System File Checker To Fix Missing Windows System File

1. First you need to run command prompt as an administrator. To do so, open start menu, typecmd in the search box, right click on cmd and select “Run as administrator”.

In the command prompt window, type sfc /scannow as a command and press “Enter”. It will start system scan and you can see the progress right inside the command prompt window, as shown below:
2. When the system scan is complete, you will see which of the system files were corrupted and the reasons behind the malfunction.
In my case the system file checker tool (SVC.exe) displayed “Windows Resource Protections did not find any integrity violation”. It means my computer has no missing or corrupt system file.
How to solve the problem if SFC tool fails to replace corrupted file
The System file checker tool automatically fixes all the missing Windows files that were corrupted because of software installatons or you accidentally deleted them.
But suppose your computer finds any corrupt or missing file and fails to replace it (sometimes it happens). In that case, you can always check those files that could not be repaired by the System File Checker tool.  Following is a method to do that:
1. Open the command prompt window with administrative priviledges.
2. Now type a command findstr /C:”[SR] Cannot repair member file” %windir%\logs\cbs\cbs.log >sfcdetails.txt and press Enter.

3. Go to C –> Windows –> System 32 folder and open a file sfcdetails.txt. It is a log file that contains entries for a file that could not be repaired by SFC.exe tool. Note down the file name and the location of file.
4. In the command prompt, type this command
takeown /f C:\windows\system32\filename and press Enter. (filename is the name of missing file)
5. Now type type icacls C:\windows\system32\abc.dll /grant administrators:F as a command and press Enter (replace the abc.dll with filename in command)
6. Now open Windows explorer and find the copy of that file by searching it using the search box. Suppose you want to find a copy of System.Runtime.Remoting.dll file. You have to type the file name in the search box and it will show all the files inside that folder (check the screenshot below).
7. Note the location of the duplicate file. You have to copy this file to the missing file location.
8. Type command Copy Path_And_File_Name_Of_Source_FilePath_And_File_Name_Of_Destinationto replace the file with copy of the file.
For example type copy C:\windows\Microsoft.NET\framework\abc.dll C:\windows\system32\abc.dll to copy abc.dll file from one location to another. Remember you have to change the file name with abc.dll with the missing file name.
Following the above method, you can replace invalid or corrupt windows files from command prompt and solve your computer issues.







Comments

Popular posts from this blog

The 101 Most Useful Websites

Kingston Launches HyperX Plug and Play RAM for Intel PCs

Kingston has released its new HyperX plug and play (PnP) series which is a collection of memory kits that utilize modules which are capable of working at frequencies of either 1,600 MHz or 1,866 MHz. This memory module is designed specifically for use with desktops and laptops powered by the latest generation of Intel Core i5 or Core i7 central processing units.

There are six kits in total, all of them composed of two kits, meaning that modules of 2 GB and 4 GB are used. There are two Dual in-line Memory Module (DIMM) kits, while the other four come in the Small Outline In-line Memory Module (SODIMM) form factor.

The modules are programmed using Joint Electron Devices Engineering Council (JEDEC) compliant settings, allowing 1600MHz and 1866MHz frequency support. It is as simple as plugging in the memory and turning on the machine, as the system automatically recognizes faster memory speed with no further basic input/output system (BIOS) settings required.

Mark Tekunoff, …

Reliance Jio Republic Day Offer: Per day data limit hiked by 500 MB on popular plans

Jio revised its plans earlier this month to offer more data with its popular 1GB data per day recharge packs, and launched new plans with 1.5GB daily data allocation as part of the Happy New Year 2018 offer. However, Jio plans to rejig its plans once again as part of a Republic Day 2018 Offer that it will announce in the next couple of days, Gadgets 360 has learned. Under the new offer, Jio users will get up to 50 percent more data on plans priced Rs. 149 or above. The changes will come into effect at 12am on January 26, 2018. The company’s 1GB data per day plans are priced at Rs. 149, Rs. 349, Rs. 399 and Rs. 449, with validities of 28 days, 70 days, 84 days and 91 days, respectively. However, with the Jio Republic Day Offer 2018, customers will get 50 percent more data as the daily high-speed data cap will be raised to 1.5GB per day. This means the 1GB data per day plans are effectively phased out, at least till the Republic Day offer continues. Similarly, the 1.5GB data per day pla…