Troubleshooting Operating System File Errors: Tips & Guidance

The operating system files are crucial when it comes to your system’s health.
However, some errors can occur with the operating system files, and that’s when you need to troubleshoot them.

  • OS file errors are annoying, but don’t worry.

PC problems? Solve them in minutes.

  • 1. Download and install ASR Pro
  • 2. Run a scan to find and fix errors
  • 3. Reboot your computer for the changes to take effect
  • Get better performance from your computer with this software - download it to fix your PC today.

    Run SFC and DISM

    1. If you’re experiencing file system errors, the first troubleshooting step that you should take is to run SFC and DISM scans.
    2. Run SFC scan from the Command prompt.
      Run SFC scan from the Command prompt.
    3. To do that, type cmd in the Windows search box, right-click on the Command prompt option and select Run as administrator.
    4. Type the following command and press Enter: sfc /scannow
    5. Wait for the scan to complete.
      Wait for the scan to complete.
    6. (Optional) Run DISM scan from the Command prompt.
    7. Type Dism /Online /Cleanup-Image /RestoreHealth and press Enter.
    8. If the scan finishes, close the Command prompt.
    9. Run Memory Diagnostics
    10. Memory errors are usually the main cause of File system errors.
    11. To run memory diagnostics, type memory in the Windows search box, right-click on the suggestion and select Run as administrator.
    12. If the memory test shows any errors, make sure you clear the errors and restart your system.
      If the memory test shows any errors, make sure you clear the errors and restart your system.
    13. Use third-party software to Scan for corrupted system files
    14. You can run a Scan for corrupted system files using a third-party software.
      You can run a Scan for corrupted system files using a third-party software.
    15. To do that, open the Windows search box, type system restore and select Create a System Restore Point.
    16. Click on Create a Restore Point.
    17. Follow the instructions on the screen to create a System Restore Point.
      Follow the instructions on the screen to create a System Restore Point.

    Run the System File Checker

    1. Try running the system file checker (SFC). To do that, open Run by pressing the Windows key + R hotkey.
      Try running the system file checker (SFC). To do that, open Run by pressing the Windows key + R hotkey.
    2. Input the sfc/scannow command in Run’s text box.
    3. Press the OK button to run the SFC scan.

    PC problems? Solve them in minutes.

    Is your computer running slow, crashing, or giving you the dreaded Blue Screen of Death? Well, don't worry - there's a solution! ASR Pro is the ultimate software for repairing Windows errors and optimizing your PC for maximum performance. With ASR Pro, you can fix a wide range of common issues in just a few clicks. The application will detect and resolve errors, protect you from data loss and hardware failure, and optimize your system for optimal performance. So don't suffer with a slow or crashed computer any longer - download ASR Pro today!

  • 1. Download and install ASR Pro
  • 2. Run a scan to find and fix errors
  • 3. Reboot your computer for the changes to take effect

  • Run the DISM

    1. Right-click the Start button and select Command prompt (Admin).
      Right-click the Start button and select Command prompt (Admin).
    2. Enter the DISM, and press Enter.
    3. When DISM opens, choose the Repair Windows option.
    4. DISM will now attempt to repair the system files.
    5. Shut down your PC and restart it.

    Change permissions

    1. Locate the file that’s giving you trouble, right-click it and choose Properties from the menu.
    2. When Properties window opens, go to the Security tab.
    3. Locate the Owner of the file and change it to your account.
    4. Click OK to save the changes.

    Copy the replacement system files

    1. 1. Go to the Windows 10 installation media
    2. 2. Click Command prompt
    3. 3. Type cd x:\windows
      3. Type cd x:\windows
    4. 4. Type ren /f C:Windows\System32\DriverStore\FileRepository.edb C:Windows\System32\DriverStore\FileRepository.edb –s/Y
    5. 5. Type ren /f C:Windows\System32\DriverStore\FileRepository.inf C:Windows\System32\DriverStore\FileRepository.inf –s/Y
    6. 6. Type ren /f C:Windows\System32\DriverStore\FileRepository.cat C:Windows\System32\DriverStore\FileRepository.cat –s/Y
      6. Type ren /f C:Windows\System32\DriverStore\FileRepository.cat C:Windows\System32\DriverStore\FileRepository.cat –s/Y
    7. 7. Type ren /f C:Windows\System32\DriverStore\FileRepository.cat C:Windows\System32\DriverStore\FileRepository.cat –s/Y
    8. 8. Type ren /f C:Windows\System32\DriverStore\FileRepository.cat C:Windows\System32\DriverStore\FileRepository.cat –s/Y
    9. 9. Type ren /f C:Windows\System32\DriverStore\FileRepository.cat C:Windows\System32\DriverStore\FileRepository.cat –s/Y
    10. 10. Type ren /f C:Windows\System32\DriverStore\FileRepository.cat C:Windows\System32\DriverStore\FileRepository.cat –s/Y
    11. 11. Type ren /f C:Windows\System32\DriverStore\FileRepository.cat C:Windows\System32\DriverStore\FileRepository.cat –s/Y
    12. 12. Type ren /f C:Windows\System32\DriverStore\FileRepository.cat C:Windows\System32\DriverStore\FileRepository.cat –s/Y
    13. 13. Type ren /f C:Windows\System32\DriverStore\FileRepository.cat C:Windows\System32\DriverStore\FileRepository.cat –s/Y
      13. Type ren /f C:Windows\System32\DriverStore\FileRepository.cat C:Windows\System32\DriverStore\FileRepository.cat –s/Y
    14. 14. Type ren /f C:Windows\System32\DriverStore\FileRepository
      14. Type ren /f C:Windows\System32\DriverStore\FileRepository
    Get better performance from your computer with this software - download it to fix your PC today.

    Use the System File Checker replace tool

    1. Copy the Windows SFC.exe tool
      Copy the Windows SFC.exe tool
    2. Rename or edit the ping.exe file
    3. Rename or edit the hosts file
    4. Rename or edit the msconfig.exe file
    5. Rename or edit the ntdll.dll file
      Rename or edit the ntdll.dll file
    Scroll to Top