I am looking for a kaseya procedure to disable macros in ms office for windows machines.
The registry key to change this is per application (not for all of office). Here's an example of how to disable Macros for WORD.
Here's a link explaining more about the values for this key: https://blogs.technet.microsoft.com/diana_tudor/2014/12/02/microsoft-project-how-to-control-macro-settings-using-registry-keys/
The best way to do this is via domain group policy if available (see the above link).
If not, the challenge is that this is a per-user setting so I would imagine the best way to do this is a RunOnce registry key. Check this thread out for someone that did something similar for EXISTING and NEW users: https://social.technet.microsoft.com/Forums/windows/en-US/7fa50621-10ee-4334-a8bf-f04600577d19/runonce-for-all-existing-and-new-user?forum=itproxpsp
For that you would create an agent procedure to add/modify that registry key on the machine. Then schedule and run the procedure on the machines.