Have you ever run into a problem where you were missing system files and weren’t sure how to get those system files back? It happens occasionally. Maybe you deleted something on accident or a virus got a hold on something. Many times a “warning” will pop-up with the name of the missing system file and people will scour the Internet to try and find that one specific file. However, you can easily snag it back with a simple command in Command Prompt or PowerShell.

System verification

First, you’ll need to open up Command Prompt or PowerShell as an administrator. You can do this by accessing one of the programs from an administrator account or by right-clicking on the program and selecting “Run as Administrator.” If you’re not an Administrator user, you’ll need to enter the password of the Administrator on the computer once prompted.

Once you have, you’ll want to enter in the following command: sfc /scannow. Once you press “Enter” the command will begin scanning all of your protected system files. If it finds a corrupted file, it’ll replace it with a cached copy, fixing your problem.

Once it’s done scanning the files, you might get a response like this: “Windows Resource Protection did not find any integrity violations.” In other words, your system files didn’t have any issues. If there was a problem, you should get this response: “Windows Resource Protection found corrupt files and successfully repaired them.

If there are problems that Windows isn’t able to fix on its own, you’ll get a similar message, but something along the lines of not being able to fix some of the files, which means you’ll have to replace the corrupted or missing file manually.

Read More:  Introduction To Windows Vista



And that’s all there is to it! By following the steps above, in most cases, Windows will be able to repair its own system file problems by itself.