Corrupt/damaged Files For Windows 10.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Soldier
    PCHF Member
    • Jun 2020
    • 22

    #1

    Corrupt/damaged Files For Windows 10.

    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
  • Bastet
    PCHF Member
    • Aug 2016
    • 1515

    #2
    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.

    Comment

    • Soldier
      PCHF Member
      • Jun 2020
      • 22

      #3
      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

      Comment

      • Bastet
        PCHF Member
        • Aug 2016
        • 1515

        #4
        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.

        Comment

        • Soldier
          PCHF Member
          • Jun 2020
          • 22

          #5
          This seems to have fixed the issue, Iโ€™ve just updated and restarted and am now up to date.
          Thanks for the help, much appreciated.

          Comment

          • Bastet
            PCHF Member
            • Aug 2016
            • 1515

            #6
            Glad to hear youโ€™re now up to date.
            Youโ€™re welcome.

            Comment

            Working...