How to Automate Windows Repair using SFC and DISM - NeweggTechie/Windows-Troubleshooting-Utilities GitHub Wiki
-
Put sfc_dism.bat in any folder, download here
-
Open up Task Scheduler in Windows, on the Right side, click "Create Task"
-
In the General Tab
- Choose a name like "SFC DSIM" or "windows repair"
- Press "Run with highest Privileges" - this is to stop it asking for admin permissions with the pop up prompt.
- Click Hidden so there is no bat window that launches (would cause an alt tab if in fullscreen)
- In the Triggers Tab, press new
- Begin Task - On Schedule
- In settings - Check Daily. "Set to Recur every: 1 day(s)" if you want it to run daily, but I would reccomend to use the "At Log on" trigger 2a. In Advanced settings - Repeat task every: x Hours - dropdown max's at 1 but you can type in longer durations.
- Set For a duration of: to Indefinitely, Press OK
- In the Actions Tab, press new
- Set Action: Start a program
- In settings - Press Browse beside Program/Script, find your sfc_dism.bat file and select it, Press OK
- Leave the Conditions & Settings tabs on default, Press OK