Chkdsk as remote job
- FOG Version: 1.3.3
- OS: Linux Ubuntu
- Service Version:
- OS: Windows 10
Is there any way to automatically schedule a remote job to run chkdsk to eliminate to do it manually to some pc’s?
@Albertus Virus scan will depend on your anti virus. I don’t think Windows Defender has an option for boot scan. You can schedule an advanced task to run ClamAV on any host with FOG though.
Builtin defrag does not work on boot afaik.
Thank you for your reply. Works great!!
Any other bit flags that can be set like to defrag disk / scan for viruses on windows boot?
.bat script, barebones just pure functionality:
fsutil dirty set c: shutdown /r
This sets the dirty bit flag, so that windows will run a chkdsk /f on next reboot, which is triggered immediately after.
This assumes windows is installed on c:
You can make it more advanced if necessary of course, but this is the core of what you want.