[SOLVED] Set sfc /scannow to autorun on a schedule?

David_652

Distinguished
Mar 14, 2017
122
2
18,585
I am usually pretty adept at Google searches. I found one article with guidance on using the Task Scheduler to autorun SFC /scannow on a schedule. But it didn't work, and the task never ran. So, I wonder whether you can recommend an approach that works. I am on a Windows 10 Pro 64-bit system.
 
Solution
I optimized the system. Since then, I ran SFC half a dozen times to ensure that I didn't introduce any issues. It found and fixed errors a couple of times. I ran the DSIM health check, and it found nothing. I just don't want to run SFC manually when I can automate it and maybe stay ahead of things. I'd actually automate the DSIM health check and fixes if I could.

I sourced refreshes using links and instructions from this guy https://answers.microsoft.com/en-us/profile/f809b40e-6005-48ef-981e-0280ae3f1c38. The system has been fine since then for some time now.

I am on 21H2, 11/21/21, build 19044.1645, Windows Feature Experience Pack 120.2212.4170.0.

I locked it at 21H2 in group policies to avoid nuisances as I know MSFT...
Is there any other (inherent)problem with your OS/your platform that's necessitating you to run SFC? That command often times doesn't work on a corrupt OS or a system that's lacking proper drivers for the platform. Side question, where did you source the installer for your OS? What version of the OS are you currently on?
 
I optimized the system. Since then, I ran SFC half a dozen times to ensure that I didn't introduce any issues. It found and fixed errors a couple of times. I ran the DSIM health check, and it found nothing. I just don't want to run SFC manually when I can automate it and maybe stay ahead of things. I'd actually automate the DSIM health check and fixes if I could.

I sourced refreshes using links and instructions from this guy https://answers.microsoft.com/en-us/profile/f809b40e-6005-48ef-981e-0280ae3f1c38. The system has been fine since then for some time now.

I am on 21H2, 11/21/21, build 19044.1645, Windows Feature Experience Pack 120.2212.4170.0.

I locked it at 21H2 in group policies to avoid nuisances as I know MSFT likes to sneak in updates to your current system that are really attempts at transitioning you to their next OS. That's what they did with Windows 10 when it first came out. I never move to the next OS until it has been through three major update cycles.

So, do you know how to autorun things like SFC and DSIM?
 
I optimized the system. Since then, I ran SFC half a dozen times to ensure that I didn't introduce any issues. It found and fixed errors a couple of times. I ran the DSIM health check, and it found nothing. I just don't want to run SFC manually when I can automate it and maybe stay ahead of things. I'd actually automate the DSIM health check and fixes if I could.

I sourced refreshes using links and instructions from this guy https://answers.microsoft.com/en-us/profile/f809b40e-6005-48ef-981e-0280ae3f1c38. The system has been fine since then for some time now.

I am on 21H2, 11/21/21, build 19044.1645, Windows Feature Experience Pack 120.2212.4170.0.

I locked it at 21H2 in group policies to avoid nuisances as I know MSFT likes to sneak in updates to your current system that are really attempts at transitioning you to their next OS. That's what they did with Windows 10 when it first came out. I never move to the next OS until it has been through three major update cycles.

So, do you know how to autorun things like SFC and DSIM?
Make a batch file, include in maintenance schedule and/or a link to it on the desktop or Taskbar.
BTW "I never move to the next OS until it has been through three major update cycles.", you are going to wait 3 years as MS is switching to once a year.
 
Solution
Thank you both. I understand what you're saying. BTW, the instructions I have already tried suggested the same thing, though they went into much more detail about exactly what to do. Those instructions failed. Perhaps you have the full details about how to do it properly? Or perhaps you have another way to accomplish the same thing?