-
SQL Audit
Question How to determine your SQL Server Version, Service Pack, and Edition using Power shell? Answer: 1) Create new custom field in Audit tab called “ SQL version “ 2) Make Sure Power Execution Policy Unrestricted in end point if you can add below commands in attached PS file) Set-ExecutionPolicy Unrestricted…
-
Why am I Unable to set or access registry values from Kaseya scripts on 64-bit systems?
Question Why am I Unable to set or access registry values from Kaseya scripts on 64-bit systems? Answer 64-bit Windows isolates registry usage by 32-bit applications by providing a separate logical view of the registry. Since the Kaseya agent is a 32-bit application, it is not able to directly access the registry. New…
-
How can I download files from remote sources using the Get URL agent procedure command?
QUESTION How can I download files from remote sources using the Get URL agent procedure command? ANSWER This sample demonstrates how to download files from remote sources using the Get URL agent procedure command. Simply specify the URL to download and the target location. In this sample we are downloading directly from…
-
How do I add Trusted Sites to the Internet Explorer configuration on a machine?
QUESTION How do I add Trusted Sites to the Internet Explorer configuration on a machine via an Agent Procedure? ANSWER The following procedure will add www.kaseya.com as a trusted site. Agent Procedure Name: Add Trusted Sites archersolutions.com Agent Procedure Description: This procedure checks to see if your company has…
-
How do I send attachments using the SEND EMAIL function?
QUESTIONHow do I send email attachments using scripting? There doesn't appear to be any way of attaching files using the Send Email script command. ANSWER Either: a) Use the Execute Shell Command or Execute File command to run a command line email utility such as blat.exe (http://www.blat.net/) to send the email. If you…
-
Why when using Distribute File Script to several machines causes VSA Server to lockup for a length of time?
QUESTION Using the Distribute File function from the Scripts Tab to several machines causes the VSA Server to lockup for a length of time. The Distribute File function takes effect and checks the list of files during a full checkin. The transfers will therefore depend on whether the Agents need to checkin (e.g. if a script…
-
I have changed my agent check-in port to port 80 while IIS is set to port 80 as well. Now the Kserver service will not start. What do I do?
Question I have changed my agent check-in port to port 80 while IIS is set to port 80 as well. Now the Kserver service will not start. What do I do? Answer Because of the port being set at 80 in the System > Server Management > Configure page as well as the IIS Default being set to use TCP Port 80, the Kaseya Service will…
-
New "Execute Deploy Live Connect" Agent Procedure added to ITSDK
Question: Can I deploy Live Connect using a Agent Procedure? Answer: The sample procedure now includes a new agent procedure called "Execute Deploy Live Connect". This procedure will deploy or update the Live Connect agent-side files so the admin or technician doesn't not have to wait for the deployment during a connection…
-
How do I run an Agent Procedure that could take longer than 2 hours?
QUESTIONKaseya currently has a time limit of 2 hours on Agent Procedures because procedures run synchronously on each machine, and a running procedures will block the execution of subsequent procedures until it finishes. If a procedures takes longer than 2 hours, Kaseya will force the procedures to time out. How do I…
-
Why are Agent Procedures failing with errors?
PROBLEMAgent Procedures fail with the error below in the Agent Procedure History: ERROR: execFile() timed out waiting for C:\windows\system32\cmd.exe to complete. The procedure is taking longer than the default timeout of two hours to complete. This could be one of two possible issues: a) The procedure is waiting on user…