• Hi there and welcome to PC Help Forum (PCHF), a more effective way to get the Tech Support you need!
    We have Experts in all areas of Tech, including Malware Removal, Crash Fixing and BSOD's , Microsoft Windows, Computer DIY and PC Hardware, Networking, Gaming, Tablets and iPads, General and Specific Software Support and so much more.

    Why not Click Here To Sign Up and start enjoying great FREE Tech Support.

    This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Corrupt/damaged Files For Windows 10.

Status
Not open for further replies.

Soldier

PCHF Member
Jun 16, 2020
22
3
22
Processor: AMD Ryzen 5 2600
Motherboard: Gigabyte B450M DS3H
Memory / RAM: Corsair Vengeance LPX, 3200mhz 16GB
Graphics Card / GPU: Power Color RX580
Hard Drive: ADATA SU800 SSD 512GB, and Seagate barracuda 1 TB HDD
Power Supply: Cooler Master MWE 600W v2 230v

Hello, so on the 10th of June I was trying to clean install GPU drivers and I ran into an issue when I had to restart my PC and after DDU had finished and restarted my PC it was stuck on the restart Windows screen and would not actually restart. So I held the power button to turn my PC off. When I turned it back on I was put onto a screen that said something along the lines of my PC needing to be repaired with specific tools. From here I believe I clicked on an option that automatically 'repaired' something and my PC then booted up seemingly normally, (I don't remember this part exactly but it went something like that).
Some point after this I checked if I had a windows update and there was one however it said "There were problems downloading some updates, but we’ll try again later. If you keep seeing this, try searching the web or contacting support for help. This error code might help: (0x80070002)". When I go to the update setting it says this even now. I've seen a few times Windows error pop ups saying that some windows files have been corrupted. This is seemingly the issue and is, what I assume, to be the reason as to why my games have been crashing so much the past few days. Games of all sorts have the issue and I have even got BSOD a couple of times.
I tried to do a system restore but the earliest one that was saved was from the 10th of June after the issue had occurred, and even when I try to do this, I get another error saying the system restore could not go through due to corrupted files.
I searched online to see what some solutions could be and I ended up typing in 'sfc /scannow' into command prompt and it confirmed that there were in fact damaged files. I then typed in 'chkdsk C: /F /R' to try and repair then and this did go through however I still cant download the Windows update.
I'm kind of stuck and not sure how to go about this, I would appreciate any help as to how I can repair the files or find out what the corrupted files are. Thanks
 
Chkdsk wouldn’t repair the files only move files from a corrupted part of the drive to a non corrupted place on the drive iirc.
To repair corrupted Windows files run these within powershell/cmd prompt with admin:
DISM /Online /Cleanup-Image /StartComponentCleanup
DISM /Online /Cleanup-Image /RestoreHealth

Once complete then run sfc again.
 
Thanks for the reply, I just finished up the scan and it said there were no 'integrity violations', however, after restarting my PC I still cannot download the Windows update. I get the same error message as before, could this potentially be caused by something else? Thanks
 
Have you tried resetting the update components?
Open cmd prompt/powershell with admin & enter:
Net Stop bits
Net Stop wuauserv
Net Stop appidsvc
Net Stop cryptsvc
Ren %Systemroot%\SoftwareDistribution\DataStore DataStore.bak
Ren %Systemroot%\SoftwareDistribution\Download Download.bak
Ren %Systemroot%\System32\catroot2 catroot2.bak
Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
Net Start bits
Net Start wuauserv
Net Start appidsvc
Net Start cryptsvc
Restart the PC & try updating again.

And/or:
Search for services.msc & find Windows Update & ensure it is set to Automatic.
 
  • Like
Reactions: veeg
Status
Not open for further replies.