Type the following command, and then press Enter. (If you are running Windows 7 or Windows Vista, skip to Step 3.) If you are running Windows 10, Windows 8.1 or Windows 8, first run the inbox Deployment Image Servicing and Management (DISM) tool prior to running the System File Checker. To do this, do the following as your appropriate:
Run the System File Checker tool (SFC.exe) Though the steps below might look complicated at first glance, just follow them in order, step-by-step, and we’ll try to get you back on track. If some Windows functions aren't working or Windows crashes, use the System File Checker to scan Windows and restore your files. Windows 8.1 Windows 8.1 Enterprise Windows 8.1 Pro Windows 8 Windows 8 Enterprise Windows 8 Pro Windows 7 Enterprise Windows 7 Home Basic Windows 7 Home Premium Windows 7 Professional Windows 7 Starter Windows 7 Ultimate Windows Vista Enterprise 64-bit Edition Windows Vista Ultimate 64-bit Edition Windows Vista Business Windows Vista Business 64-bit Edition Windows Vista Enterprise Windows Vista Ultimate Windows 10 More.