Windows File Checker prevents bad applications from changing system files. You can set the Windows File Protection scan from the registry.
For this, go to Start > Run menu, enter “regedit” and navigate to the registry path listed below. Here, create the Dword value “SFCScan” in the right panel, if this value does not exist.
Now, set the value as you want Windows File Protection to function from the below given table. Also. note that the registry key gets changed when scanning options like Scanonce, Scanboot and Revert are used.
Scan_type | Description |
| 0 | Protected files must never be scanned at bootup time. The command is Sfc /Revert. |
| 1 | Protected files should be scanned on every boot. The command is Sfc /Scanboot. |
| 2 | Protected files on the next boot but not on subsequent boots. The command is Sfc /Scanonce. |
NOTE:If the Set Windows File Protection scanning policy is enabled from Group Policy Editor, the system ignores the changes made by this registry setting.