How to repair Windows System Files if they are corrupted? Windows has provided us a simple tool, SFC, to repair the system files. 1. Enter Command Prompt. (How? Click here. Vista user should enter command prompt as Administrator) 2. type sfc /SCANNOW and press enter to scans integrity of all protected system files and repairs files with problems when possible. 3. type sfc /VERIFYFILE=c:\windows\system32\kernel32.dll and press enter to verify the integrity of the file with full path . No repair operation is performed. Replace the path of the file to verify the file you like. 4. type sfc /VERIFYONLY and press enter to scan integrity of all protected system files. No repair operation is performed.