Open window for applying patches. Patching will be terminated a specified number of minutes before the patch window closes, to allow for reboots and configuration changes. This will also run a batch script at %programdata%1eclientprepatch.bat before opening the patch window. This instruction set also requires a file called checks.bat in the same location. These scripts must return 0 if successful, and a non-zero exit code if unsuccessful. If prepatch checks fail, PDS will be set to closed.
Patch Automation: Set patch window to open for %patchWindowLengthMinutes% minutes, allowing %patchWindowRebootGracePeriodMinutes% minutes for reboots before the patch window ends. This will also run a batch script from a set location before opening the patch window