Share via

How to fix corrupted system file

Anonymous
2024-02-10T06:07:57+00:00

I've tried for two days now to fix my pc. I've troubleshooted pc stuff countless times in the past 10-15 years and this is my most challenging situation to fix.

Let's start from the beginning.

I turn my PC on, try to load up a game, immediately crashes saying it's a game driver issue or something. I go to load up GeForce Experience to see if I can update my driver. While I'm downloading the latest driver, my pc crashes. Can't remember exactly what it said. I start my pc a few more times and watch the task manager for performance issues and processes. After about 3 minutes, each time, the pc crashes. I believe the windows stop code I was receiving was KERNEL_SECURITY_CHECK_FAILURE. Upon researching the stop code, I saw that one of the solutions was to reinstall windows. I've reinstalled windows several times in the past, and I figure my PC was due for a clean slate after +- 1-2 years of stuff. I boot my pc into safe mode in order to transfer important personal files to 2 flash drives and I shut it down. I login normally and go through settings to reinstall windows (wouldn't work via cloud for some reason, so I did it locally). Here's the bane of my problems. While trying to reinstall windows, it crashed and came up with a dialogue box saying "The computer restarted unexpectedly or encountered an unexpected error. Windows installation cannot proceed. To install windows, click "OK" to restart the computer, and then restart the installation." I click OK and it restarts to the same error loop. I got a windows boot able media creation tool iso thing installed on a flash drive and pressed F11 to select the boot destination to it. Windows installation came up. I cleared my partitions and used bios to secure erase my drive several times while troubleshooting. I tried to reinstall windows and I would get some other blue screens and/or error codes. Not sure what came first, but the two BSODs I got were SYSTEM_SERVICE_EXCEPTION and PAGE_FAULT_IN_NONPAGED_AREA. The two error codes I would get consistently are 0xC0000005 and 0x8007025d. At some point, I got another system service exception blue screen with a "What failed: Ntfs.sys" below it. At some point, I got another blue screen with a KERNEL_MODE_HEAP_CORRUPTION. That one I only got once. Same with the ntfs.sys bsod. Again, I don't remember in what order I got all these errors, but the consistent ones are the two 0x error codes provided above whenever I try to install windows on my m.2 ssd. Throughout all of this troubleshooting, I have tried several hardware related fixes. Bring my 4x16 sticks of ram down to 1 stick. I went to best buy to get some different ram and a different m.2 thinking this was the issue. Replaced the ram, didn't work. Went back to original ram and replaced m.2, didn't work. Tried both new m.2 and new ram, didn't work. With that heap corruption stop code, I tried removing my graphics card and running my monitor off of my motherboard and cpu. Everything was the same, no differences. At some point during my troubleshooting, I've also tried cleaning the drive through diskpart in the command prompt, which won't let me do much.

Here we are now. The latest thing I have tried, which actually pointed out my issue. I should have tried this long before now (back when I could still boot windows to my desktop and run safe mode), but I went to the system32 command prompt and tried to do sfc /scannow. After doing a scan, it actually pointed out that it found a corrupt system file (so now I know my issue is the system files within my mobo) and has successfully repaired them. But. It says that the repair will take effect after the next reboot. I've tried shutting down my PC manually and exiting the windows installer to force a restart, but SFC isn't repairing the corrupt system file. I believe it's because SFC is supposed to boot to windows in order to repair it. But I can't install windows on my m.2. I'm stuck, and im not sure what I can do.

Any ideas?

Windows for home | Windows 11 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

5 answers

Sort by: Most helpful
  1. Anonymous
    2024-02-11T17:28:42+00:00

    It sounds like you may have a severely failing hard drive. You should check the drive by running chkdsk /r from a bootable WinRE media, a utility like Sea Tools, or your computers built in diagnostics if available.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-02-14T02:55:03+00:00

    I went to buy a new motherboard, thinking that was the issue since I had some corrupt system files. Not the issue. Since I had replaced every part in my system except for the processor, I tried that next. It was the processor. Not sure how, but my i9-13900k (liquid cooled) kinda just died outta nowhere. Ended up replacing it with the i7-14700k, cause I wasn't about to spend another $500-550 for a new processor when I got the i9 less than a year ago. When Windows 10 installed on my system after the processor replacement, I apparently still had corrupt system files. Windows was running fine when I got it installed, but I still went to the command prompt and did a system file check scan and it found corrupt files on 2 or 3 occasions out of like 7 scans and a few PC restarts. Should be good to go, now, though.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-02-12T01:41:35+00:00

    It sounds like you may have a severely failing hard drive. You should check the drive by running chkdsk /r from a bootable WinRE media, a utility like Sea Tools, or your computers built in diagnostics if available.

    I tried the Windows Recovery drive, didn't work. When I start it, it immediately jumps to "Recovering this PC 95%" then after about 5 minutes it comes up with a BSOD. I tried it twice. The first one came up with the error code "ATTEMPTED_WRITE_TO_READONLY_MEMORY" with a "What failed: FLTMGR.SYS". The second one came up with the error code "KERNEL_SECURITY_CHECK_FAILURE".

    I tried once more, trying the just remove my files instead of the fully clean the drive. This time, it started at 1% and slowly went up one percent at a time until it reached 5% and then I got a BSOD error of "PAGE_FAULT_IN_NONPAGED_AREA" with a "What failed: Wof.sys".

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2024-02-11T22:01:39+00:00

    It sounds like you may have a severely failing hard drive. You should check the drive by running chkdsk /r from a bootable WinRE media, a utility like Sea Tools, or your computers built in diagnostics if available.

    I attempted to run chkdsk from the system32 command prompt and it wouldn't let me (I assume that would be the built in diagnostics, but I may be wrong). I have already swapped out the m.2 with another m.2 that was just freshly bought, and I was receiving the same error codes, mainly the 0xc0000005 one, so I wouldn't think it's the drive that is the issue.

    I also got a new windows stop code. DRIVER_OVERRAN_STACK_BUFFER.

    I am currently attempting to create a windows recovery drive with that being said to see if that'll work.

    Was this answer helpful?

    0 comments No comments
  5. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more