There are times when we delete a system files without meaning to on your Windows 10 computer. This happens a lot for users sometimes mistake a system file for a malware-laden file or junk file when it’s actually a system file from the System32 or SysWOW64 folder. In such cases, it could affect your computer. For instance, you might not be able to reboot your PC or open Settings.
If you have removed system files from any of these folders by accident and you desperately want to restore them, read on, as this post will guide you in resolving the problem. Restoring them isn’t actually hard, just make sure that you have system admin access.
The good thing is that there exists Windows Resource Protection which protects registry keys and folders and even critical system files. So if there are any detected changes to a protected system file, the modified file is restored from a cached copy located in the Windows folder. However, if the Windows Resource Protection program fails to restore these files, you need to check out the given fixes below.
Option 1 – Run System File Checker scan
To restore the system files you deleted, you can try running System File Checker or SFC scan. System File Checker is a command utility built into your computer that helps restore corrupted files and missing files. Refer to the following steps to run it:
- Boot your PC into Safe Mode.
- Hit the Win + R keys to launch Run.
- Type in cmd in the field and tap Enter.
- After opening Command Prompt, type in sfc /scannow
The command will start a system scan which will take a few while before it finishes. Once it’s done, you could get the following results:
- Windows Resource Protection did not find any integrity violations.
- Windows Resource Protection found corrupt files and successfully repaired them.
- Windows Resource Protection found corrupt files but was unable to fix some of them.
Option 2 – Try to run the DISM tool
Aside from System File Checker, you can also run the DISM or Deployment Imaging and Servicing Management Tool as it could help in restoring the system files on your Windows 10 computer. Using this built-in tool, you have various options such as the “/ScanHealth”, “/CheckHealth”, and “/RestoreHealth” which could help you resolve the problem.
- Open the Command Prompt with admin privileges.
- Then type in the following commands and make sure to hit Enter right after you type each one of them:
- Dism /Online /Cleanup-Image /CheckHealth
- Dism /Online /Cleanup-Image /ScanHealth
- exe /Online /Cleanup-image /Restorehealth
- Do not close the window if the process takes a while as it will probably take a few minutes to finish.
Option 3 – Try performing a System Restore
Running System Restore can also help you bring back the system files. You can do this option either by booting into Safe Mode or in System Restore. If you are already in the Advanced Startup Options, just directly select System Restore and proceed with the next steps. And if you have just booted your PC into Safe Mode, refer to the steps below.
- Tap the Win + R keys to open the Run dialog box.
- After that, type in “sysdm.cpl” in the field and tap Enter.
- Next, go to the System Protection tab then click the System Restore button. This will open a new window where you have to select your preferred System Restore point.
- After that, follow the on-screen instructions to finish the process and then restart your computer and check if the problem is fixed or not.
Option 4 – Try to run Automatic or Startup Repair
Startup Repair, previously known as Automatic Repair, is an advanced tool in Windows that can help you diagnose various system issues, including this one. This tool will scan system files, configuration settings, registry settings, and so on in order to fix the problem on its own. To run Startup Repair, all you have to do is boot into the Advanced Startup Options and then go to Troubleshoot > Advanced option > Startup Repair and then run it. This will resolve the problem if you have deleted any system file that’s essential to your Windows 10 PC.
Option 5 – Reset your computer
- Tap the Win key or click on the Start button located in the Taskbar.
- Then click on the Power button at the bottom right portion of the screen.
- Next, press and hold the Shift key on your keyboard and then click on Restart. This will restart your Pc into the Advanced Startup options.
Once you have access to the Advanced Startup options, you have to go to the setting which allows you to Reset your Windows 10 PC. All you have to do is select Troubleshoot > Reset this PC to reach the following screen
Afterward, select either the “Keep my files” option and then proceed to the next on-screen instructions that follow to reset your Windows 10 computer without losing your files.