Changing version check and Health checks options programmatically on Windows

Is there a way to change these settings programmatically?

Tagged: