-
Unable to delete procedure as it is in use by other procedures
PROBLEM When trying to delete an agent procedure, you receive a message that the procedure cannot be deleted as it is used by another procedure (the procedure is named in the message). CAUSE Kaseya allows a procedure to call other procedures. If the parent procedure is still on the system, then child procedures (those…
-
Agent Procedures appear to be scheduled by a user that is no longer with the company
PROBLEM Someone who is no longer with the company or involved in running Kaseya procedures still appears to be running procedures on machines - their user name appears under the "Admin name" column on the Agent tab -> Schedule/Create page. CAUSE When a procedure is scheduled, the Kaseya user that did this is recorded…
-
Cannot edit sample procedures
PROBLEM Under Agent Procedures Tab -> Schedule/Create page, there are a couple of cabinets - Private, Shared and System. You have found a procedure that you want to use in the "System" cabinet. The problem is that you cannot modify this procedure. CAUSE The System procedures are really samples or templates. They are…
-
How do I check the machine's "Agent Procedure Log" when a procedure fails?
PROBLEM You have scheduled a procedure to run on a machine, and it has completed. The procedure completed with a FAIL and you see a message similar to: ScriptName failed in THEN step 5 Check the Agent Procedure Log for additional details CAUSE There are many reasons that a procedure can fail, from a simple typo or file not…
-
What Protocols does Kaseya use for Agent Procedures?
QUESTION What protocols are used by Kaseya for operations such as GetFile(), WriteFile(), CopyFile() and the file transfer options in Live Connect? ANSWER All of the above options use the Agent-Server communication channel. Data is encrypted Agent or Server side and then sent over the connection that the Agent has to the…
-
Agent Procedures show as Pending Approval
Problem You have written an Agent Procedure but when you try to run it, you receive a message "Agent procedure could not be run because it is either not signed or not approved, or both." Cause In version 7 and above, Agent Procedures must be approved by a Master admin before they can be executed - this is a security…
-
Agent Procedures - WriteFile() fails to write files to C:\Windows\system32
PROBLEM You have an Agent Procedure that tries to write a file to the C:\Windows\system32\ directory. The procedure executes without failure, but the file does not appear to be written to the specified directory CAUSE The Agent service Agentmon.exe is a 32bit Application. 32bit Applications are not able to access the 64bit…
-
I need to create an Agent Procedure - What are the next steps?
QUESTION What resources are available to assist in creating Agent Procedures? ANSWER Kaseya University https://kuniversity.litmos.com This site has a lot of training material with videos that explain how Kaseya works and is a great starting point for learning to get the most out of kaseya. Rather than someone just writing…
-
SQLWrite() statement shows no queries
Problem: You are trying to use the Agent Procedure function "SQLWrite()" in an agent procedure. You have copied the XML to \Kaseya\xml\Procedures\AgentProcSQL\0\SQLWrite, but the Agent Procedure interface does not allow you to select the XML file from the list Cause: The XML file is parsed by the system in the background…
-
How do I Export or Import more than one Agent Procedure at a time?
QUESTION How do I export or import more than one Agent Procedure at a time? ANSWER You can use the Export Folder and Import Folder/Procedure options in the Agent Procedures > Manage Procedures > Schedule / Create tab. Click on the Shared cabinet on the left hand pane and right click on a sub-folder and select Export Folder…