How to Repair a Corrupt Windows 10 Installation

How to Repair a Corrupt Windows 10 Installation

►►►SUBSCRIBE for more:

Every now and then Windows 10 can become unstable and corrupted. When system files become corrupt, windows may now work properly and you will need to repair windows installation files.

If you are a beginner user of windows 7, windows 8/8.1 or windows 10 and have backed up all your data, you may want to reinstall windows to save time. You can use Reset this PC or do a fresh install of Windows 10.

On the other hand, if you want to repair windows 7, windows 8/8.1 or windows 10 and have loads of programs and stuff on your computer that you don’t want to reinstall, then repairing windows operating system files is the only way to solve your computer problem.

Windows Resource Protection found corrupt files but was unable to fix some of them.

Step 1. Backup all your computer data.

Step 2. Troubleshoot your computer error or problem and determine whether its a hardware or software problem.

Attempt to Fix Corrupted system files in Windows 10

Step 3. How do I check Windows 10 system files? Run the System File Checker in Windows 10/8/7 type sfc /scannow in command prompt to fix/repair windows files.

Step 4. If you having trouble running SFC at the desktop try and eliminate any possible interference from third-party apps and try to run SFC scan from Safe Mode.

Hold the Shift key and choose the Restart the computer, now Select Troubleshoot / Advanced options / Startup Settings. choose 4 to Restart to safemode

Step 5. Sometimes you need to scan and repair protected system files, outside of Windows 10. To do this Hold the Shift key and choose the Restart the computer. navigate to Troubleshoot /
Advanced options / Command Prompt

Type: wmic logicaldisk get deviceid, volumename, description

Look for Volume Name which is normally D: and now type:
sfc /scannow /offbootdir=C: /offwindir=D:Windows

Step 7. Open command prompt and type:
Dism /Online /Cleanup-Image /RestoreHealth

Step 8. Open the CBS.log file to view details of sfc scannow log and look for the corrupted files and replace the corrupted file with a known good copy manually. Navigate to C:WindowsLogsCBS

Step 9. Now we know what file is corrupted, we can replace than corrupt windows file with a known good one from a Windows 7/8/8.1/10 iso.

Open command prompt and type
takeown /f Path_And_File_Name (example)
takeown /f C:windowssystem32jscript.dll.

Now type: icacls Path_And_File_Name /GRANT ADMINISTRATORS:F (example)
icacls C:windowssystem32jscript.dll /grant administrators:F.

Now copy new file, type: copy C:tempjscript.dll C:windowssystem32jscript.dll.

the C:temp is where I stored my files, replace with your path to file.

registry files can be found here

How to Restore Windows Registry to A Previous State

( Note: Change the drive letter D to your windows drive letter)
Type: D:
Type: dir
Type: cd windowssystem32config
Type: md Backup
Type copy *.* Backup
Type: cd RegBack

Important: if listed files have 0 (zero) bytes then you won’t be able to use this method

Now copy the registry files from the WindowsSystem32ConfigRegBack to WindowsSystem32Config folder.
Type: copy *.* ..
Press A (This will overwrite all files)
Type exit
Restart your computer

——————— My Social Links:
🔵 View My Channel –
🔵 View My Playlists –
🔵 Follow on Twitter –
🔵 Follow on Facebook:
🔵 View my Website:
🔵 My Official Email:


This Post Has 35 Comments

  1. Peter Sprague

    I can't see the godamm command you're showing on my tiny phone screen

  2. Steven Bowden

    I've got a problem trying to get into the computer something it switch keyboard off I can't even get into it to type I can't get it it to work from a system image I need to get into it and wipe hard drive I can't even do that. Definitely not a hardware problem I've fitted a new keyboard would a new download of Windows on USB get into it to it to run a new Windows I've backed up everything I needed so a clean install isn't a problem

  3. AI1Craft Network

    what do you do when windows 10 is seriously corrupted, like no ui or anything just black no cursor

  4. Lil Salsa

    Thanks for the videos but this is to much

  5. dave28lax

    You Sir are a godsend. I had a corrupt Windows file, and Google found me many solutions, which all failed. They all said sfc, which failed, and dsim, which also failed. I knew there had to be some way to fix this without doing something drastic, and luckily I stumbled upon this video. I downloaded the Windows ISO, extracted the good version of the corrupt file, followed your instructions to replace the old file, and hey presto, all fixed.

    Thank you

  6. Save America

    Thanks. I will try all of this. Do you have any idea what could be wrong with my pc.

    Here’s a description of the problem: I reset my pc and erased everything because of corrupt files. I do sfc /scannow and it still shows this. I run DISM and it fixes it but after I shut down and turn it back on or after a while the files get corrupted again.

    So basically they keep getting corrupted. Do you think this could be a hardware problem and if so would I be correct to assume it’s my ssd or ram? Thanks

  7. Ada John

    Me already stuck on automatic repair 😢

    Can you help I have tried everything 😞

  8. MrScott

    Brian, great video as always. What if I deleted an APP and did not uninstall it like I should have done. Now when I try to install it it says there are corrupt files. I don't get that because the installation files came from a fresh unzip and run of the msi file. How can a program be corrupt when it was freshly downloaded. I can only assume there are fragments of the previous install that is causing conflicts. Attempting to remove the old program via RegEdit is time consuming and risky. Any ideas? thanks.

  9. mcleod55

    I did a Windows 10 repair install and everything is working great now. Is it OK to delete the Windows Old folder?

  10. Vlad Dracul

    My PC is quite literally a brick right now. I cannot get it to load windows at all except the troubleshooter which doesn't work. I've tried the scannow, it responds with Windows Resource Protection did not find any integrity violations. Running the DISM says that the support servicing windows PE with online option is not supported.

    I have even tried just doing a clean install of windows, but it won't show my ssd m.2 despite windows is already there and previously working. The only HDD it recognizes is an external that it won't allow me to install on due to it not allowing USB connected HDD

  11. Wow

    Computer wont let me run cmd as admin lol

  12. chadergeist82

    The DISM does not work. It goes to 87% and gives me an error.

  13. C.J. Perron

    How the hell did you find the corrupt file in the xml file?

  14. Candy

    cmd has been corrupt WHATTTTT

  15. Jeremiah West

    Cyberwizard19 on IG should be the best with this type of problem,he is a professional hacker indeed.👍👍

  16. Gene Edward

    Mine was totally restored through the help on Cyberwizard19 on Instagram he is a pro when it comes to hacking

  17. Ronickon

    I wish you would explain how to run DISM offline ( in winRe environment ).

  18. Jojo Gaming

    It’s a blessing tö work with Sliverhackz on iG dude is a pro and also legit

  19. Althony B


  20. John Plummer

    Cannot get rid of Media library is corrupted after trying most things and wondered if you have any advice?

  21. MrJJuK

    How about if you've just bought a new pc and its fucked and keeps reseting itself then windows no load… what do I do then?

  22. BChenk

    After doing the safe mode scan my problem was fixed. Thanks for this video!

  23. Nicholas German

    I'm reading the CBS log and found the files but I can't figure out that site like they don't have the stuff I have corrupted

  24. Jari

    What is the point on repair on usb when my windows 10 corrupts usb drives by deafult . I thought It (my win 10) could not reach into or write to the official bought usbstick you get when purshing a licence -BUT it can -windows 10 majorly fked up my computer .What a bad operative system – actually all after winxp sp 2 are just bad. -useless


    ????? Having issues with my taskbar not running at start up and my computer keeps closing games on me did fresh windows install no go still having issues

  26. Hey could you help me please
    While I have been puting my pc in factory setings and while it was downloading Windows 10 the pc crashed at 7% and I dont know what to do

  27. dogesquad900

    Mine when I turn it on after the boot logo it say checking media presence then black screens

  28. DizHavoc

    My pc is super broken. I need help. Windows folder is broken and nothing works. I can’t run admin or do most basic stuff

  29. Ian M

    Hi, my windows 10 fresh install cancels without finishing. SFC check reveals corrupt files – how do I find the offending ones? Great channel by the way.

  30. Mona Liza97

    The problem with him is that I can’t even make it to the desktop when I turn on my pc. And the prompt commands I entered respond saying “windows resource protection could not start the repair service” and it says that for every command I try to enter


    This video was sooooo helpful bro thank you so much

  32. RCW

    Good stuff…. making this a favorite video so I can refer to it if needed. 👍

Leave a Reply