Follow this , system filecheckerror - First option did the trick for me , hp pavillion windows 7 is what I was using.
Step 1) System File Checker
From the start menu, type cmd, then right-click on it and choose Run As Administrator.
In the command window, type sfc /SCANNOW, press enter and let that run. It could take 10-30 minutes. For me, it gave me an error saying it found corrupt files but they couldn?t be fixed.
If you get errors about corrupt files, move to step 1a or try saving this file to your desktop and run it as administrator. Once completed, you?ll have a sfcdetails.txt file on your desktop with details of the corrupt files.
Step 1a) DISM Command
If you get the error above when trying to run SFC, then in the same command window, try running:
DISM /online /cleanup-image /checkhealth
then
DISM /online /cleanup-image /scanhealth
then
DISM /online /cleanup-image /restorehealth
Step 2) Windows Updates
In PC Settings, go under Updates and install all available updates to your system.
Step 3) Updates In Windows Store
Go into the Windows Store, open the Charms Bar, and go into App Updates. Click the Check For Updates button and install all available updates.
Step 4) Run Disk Cleanup
In the Start Menu, type in Disk Cleanup and select ?Free up disk space by deleting unnecessary files?.
Click the button to clean up System Files.
Check all of the boxes and run the cleanup utility.
Step 5) Uninstall Antivirus Apps
If you have any other antivirus programs installed besides the built-in Microsoft one, uninstall them now. Avast and some others have been known to cause issues with the updates.
Step 6) Delete Temp Files
You can run the Disk Cleanup utility again or use a program like CCleaner.
Step 7) Delete Prefetch Files
Browse to the folder C:\Windows\Prefetch. You?ll have to give yourself permissions to access it. Once you have it open, select all of the files and delete them all.
Step 8) Reboot & Try Updating Again
After you?ve completed the steps above, reboot your computer one last time then try your upgrade again.