-
SendEmail() with apostrophes does not work as expected
PROBLEM You are running Kaseya R8 or above You have an agent procedure that uses the SendEmail() step. You would like to use an apostrophe in the subject line. When attempting to do this, you find that the subject of the email that you receive has two apostrophes instead of the single one that you expected. For example,…
-
Agent procedure to Collect Windows Event Logs - Application and System Logs
PROBLEM: If asked to collect Windows Event logs to further investigate an issue. This procedure can be used to facilitate this process. This procedure saves system and application event logs to .evt files using shell commands, zips them using 7-zip command line version, and uploads to the Get File area on the kserver.…
-
How To: Load Kaseya Sample Scripts Into VSA
Question: How to Load Kaseya Sample Scripts Into VSA? Answer: The Kaseya Sample Scripts are a set of agent procedures that show the capabiliies of the Agent Procedure Module. However, a lot of these sample scripts are used by customers for things such as disk clean up, temp log deletion, etc. These scripts are located…
-
How Do I Import An Agent Procedure?
NOTE: Please refer to this KB if the XML/Agent Procedure was exported pre-VSA9.5.7e Question Agent procedures are custom XML files that perform a variety of automated tasks. While Agent Procedures are normally written within the agent procedure module, it is possible to import an agent procedure into your VSA. Resolution…
-
Agent Procedures taking longer to execute
PROBLEM My procedures take a long time to execute and don't complete till a few hours later. Kaseya UI regularly hangs and I am unable to perform any tasks. CAUSE There are 3rd party applications that are backing up the Kaseya database and the database IO is regularly getting frozen. When the database IO is frozen, no SQL…
-
Execute Multiple Lines of Shell Commands In One Line in Agent Procedures
Question: How to execute multiple lines of Shell Commands In One Line in Agent Procedures Answer: Sometimes, certain windows shell commands won't run if you are not in the proper directory. The reasons for this can include but are not limited to: * If you need to echo the directory you are in * If you are trying to run a…
-
Why can't I edit any of the Agent Procedures within the "System" Cabinet?
PROBLEM I cannot seem to edit any of the Agent Procedures within the "System" Cabinet. How can I edit these Agent Procedures? SOLUTION Agent Procedures within the "System" Cabinet are not editable. However, customers can make a copy of the Agent Procedures by simply selecting a procedure within the "System" Cabinet,…
-
Agent Procedures are not approved even though they were created by a "Master" user.
PROBLEM As a "Master" User when a procedure is created you’re not required to approve it. However in some situations when creating procedures it’s considered to be unapproved. The procedure is also not displayed under "Pending Approvals" so it’s unable to be approved. RESOLUTION When creating or editing procedures, ensure…
-
Send message does not display on windows 8 machines.
Symptom The “SendMessage” Step is a very valuable tool in notifying user of pending changes. However This doesn't seem to work on windows 8 machines. Cause For the messages to be displayed “KaUsrTsk.exe” must be running. However this process does not run when windows 8 is running in the “Metro” interface. Resolution For…
-
Executing an Agent procedure as “User” executes it at “System”
PROBLEM There are many situations where you may wish to execute an Agent Procedure step as the "User" account instead of the default option of the "System" account. In some of the Agent Procedure steps, you have the option to execute the step using the "User" account instead of the "System" account. However, despite making…