Introduction:
The QP Agent can be deployed through Kaseya VSA with minimal interaction after the initial setup is completed. The following steps will walk you through how to create and assign variables for a Kaseya Group ID and call for those variables so you can deploy a scripted installation.
Setup
There are two variables that are required for the Quickpass Agent deploy, the Install Token and the AgentID. Kaseya VSA allows you to create variables that contain the string value of the Install Token (applied tenant wide) and the AgentID (unique per QP Customer).
NOTE: To find the AgentID for each QP Customer, run the Customer report from the QP Dashboard and reference the AgentID column for each Customer name in the exported CSV.
KB article - https://support.getquickpass.com/hc/en-us/articles/360061942274-Export-Customers-List-Status-and-Agent-ID-s
Kaseya Configuration
Assigning Script Variables
- Navigate to the Kaseya VSA
- Navigate to Agent Procedures > Manage Procedures > Schedule/Create
- Create folder structure as desired for your Kaseya tenant
- i.e. Shared > New Folder: [QPInst]
- Click Manage Files
- Shared Files > Upload a file
- Download the QPInstall.ps1 script attached to this article and upload here (the script does not require manual modification) > close out the window
- Shared Files > Upload a file
- Click Manage Variables
- Input the Install Token value from your QP tenant to the Set Variable Value field
- Name it installToken
- Set Public
- Select All (or select all of the groups that contain machines you plan to deploy the QP agent to)
- Apply
- To confirm, click the Select Variable dropdown and see the variable value displayed for the selected groups.
- Click the Select Variable dropdown and click <New Variable>
- Name it agentID
- Set Public
- Select a desired group that corresponds to a QP Customer and set the Variable Value to be the AgentID for that QP Customer
- Apply
- Repeat for each desired group that corresponds to a QP Customer, filling in the Variable Value with each Customers's unique AgentID according to the Customer report exported during the setup.
- Confirm by clicking the Select Variable dropdown and click the agentID variable, it should show a different variable value for the groups selected (example below)
Creating Kaseya Agent Procedure (Script)
- Return to Agent Procedures > Manage Procedures > Schedule/Create
- Select the desired folder to store the procedure in, and click New Procedure
- Assign a name and select the save location for the procedure
- In the body, type writeFile and click on the 'writeFile' statement prompt.
- Click into the first quote box and then click the Spyglass icon to select the QPInstall.ps1 file that was uploaded earlier
- In the second quote box, edit the text to "C:\QPInstall.ps1"
- NOTE: When this procedure is ran, the QPInstall.ps1 file that was uploaded to the Kaseya server will be pushed to the target machine at the root of the C$ drive as C:\QPInstall.ps1. You may change the target location that the script is pushed to and ran from if you are comfortable and desire to do so, just make sure to edit line 2 of the Procedure to reflect the new location of the QPInstall.ps1 file
- On a new line in the body, type executePowershell and click on the 'executePowershell' statement prompt
- Leave the first quote box empty
- In the second quote box enter the following code exactly as shown
-
cd C:\ ; .\QPInstall.ps1 '<installToken>' '<agentID>'
FOR EU TENANTS: Add the -EU parameter at the end of the code (example below) -
cd C:\ ; .\QPInstall.ps1 '<installToken>' '<agentID>' -EU
- Click the 'false' and change to 'true'
- If you would like additional logging, you may add the following statement as a new line
- Save the procedure
NOTE: If you would like to understand the theory of this Agent Procedure, please review the attached document QPInstall Agent Procedure Overview.txt
Run the Agent Procedure
- Return to Agent Procedures > Manage Procedures > Schedule/Create
- Select the Procedure on the left side folder structure
- Select the desired target machine(s)
- Click Run Now, then click Submit
- To confirm the procedure ran successfully, go to Agent Procedures > Agent Procedure Status
- Select the desired machine
- Review the logs
- A successful install will look similar to the follow. To confirm further, remote into a target machine and confirm that the Quickpass Agent service is running and/or confirm the Agent has populated in the QP Customers Agent tab
Next Steps
Kaseya VSA v.9 RMM Quickpass monitoring articles
Comments
0 comments
Article is closed for comments.