Chkdsk as remote job
-
Server
- FOG Version: 1.3.3
- OS: Linux Ubuntu
Client
- Service Version:
- OS: Windows 10
Good Day
Is there any way to automatically schedule a remote job to run chkdsk to eliminate to do it manually to some pcβs?
Thank You
Albertus -
.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
You can make it more advanced if necessary of course, but this is the core of what you want.
-
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?Thank You
Albertus Geyser -
@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.
-