How do I tell Automatic Update to not run if my pre-procedure fails?

PROBLEM:

I have a pre-procedure that I have set to run before every Automatic Update. How can I get Automatic Updates not to run if this pre-procedure fails or if it returns a bad value?

SOLUTION:

Use the 'Skip Auto Update' step within your pre-procedure.

The Auto Pre-Agent Procedure can be used to determine whether the Automatic Update should be executed or not. After executing the Auto Pre-Agent Procedure, a registry value is checked on the machine. If this registry value exists Automatic Update is skipped; otherwise, Automatic Update is executed. To invoke this feature, the Auto Pre-Agent Procedure must include a procedure step to set the registry value below:

     HKEY_LOCAL_MACHINE\SOFTWARE\Kaseya\Agent\SkipAutoUpdate

Note: Any data type and any data value may be set. The test is for existence only.

Have more questions?

Contact us

Was this article helpful?
0 out of 1 found this helpful

Provide feedback for the Documentation team!

Browse this section