I would be inclined to make the script "Execute shell command" to run the netsh line. I'm no expert on Kaseya scripting but I suspect that would be easier than writing several lines to stop and then disable the service.

Legacy Forum Name: Server, Legacy Posted By Username: plenfestey

You have posted to a forum that requires a moderator to approve posts before they are publicly available.