Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: High
  • Security: Public
  • Views: 129
  • Last Modified:

Steps to schedule Win 10 computers to run SFC & DISM commands

What are the steps necessary to schedule all Windows 10 computers to run the SFC & DISM commands within a Server 2016 domain? I would like to have these commands run once a week.

Can this be done using a group policy or task scheduler command?

The commands that I would like to run are:

DISM.exe /Online /Cleanup-Image /Scanhealth
DISM.exe /Online /Cleanup-Image /Restorehealth
sfc /scannow
0
IT Guy
Asked:
IT Guy
4 Solutions
 
JohnBusiness Consultant (Owner)Commented:
You can put the commands (no need for ScanHealth here) in a batch file and run with Task Scheduler Set the Schedule for weekly and be sure to use elevated authority so the commands will run.

I might also suggest Monthly to be adequate.

These commands are corrective and if nothing is wrong there is no need to even run them.
0
 
McKnifeCommented:
I can only say "wow". Why on earth would you want that?
I support windows networks for 17 years now. In these 17 years, sfc / dism helped me maybe twice. It is no real cure and most problems are not rooted in file corruption.

I am tempted to say that this measure will cause a lot more pain than cure.
0
 
nobusCommented:
i 'm totally with McKnife here  - there's no need, and will cause a lot of unneeded pc activity
and i'm not even talking about the problems you can encounter, like when the program does not run till the end, etc..
0
 
William MillerInventory/IT ConsultantCommented:
You won't see any benefit from running these on a weakly basis. These are diagnostic tools more than they are remedies for issues.
0
 
JohnBusiness Consultant (Owner)Commented:
Thank you and good luck with this.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now