US English (US)
ES Spanish

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

  • Contact Us
English (US)
US English (US)
ES Spanish
  • Home
  • AutoElevate Knowledgebase
  • Integrations
  • RMM Tool Integrations & Automated Deployment

Datto RMM - Deployment Component (Script)

Learn how to deploy Datto RMM with a simple script, and get up and running quickly.

Written by Owen Parry

Updated at December 4th, 2024

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

  • AutoElevate Knowledgebase
    New to AutoElevate? START HERE General & Troubleshooting Managing Rules Integrations Announcements FAQ Sales & Marketing
  • Password Boss Knowledgebase
    Using Password Boss Business Administration Password Boss Partner Documents
  • Changelogs for Autoelevate and Password Boss
  • Current Status
  • Marketing Toolkit
    MSP Marketing & Education Toolkit
+ More

Table of Contents

How it Works Component Installation Additional Considerations

This document explains how AutoElevate's official Datto RMM deployment script works, how to install the component in your component library, and some considerations if you have previously deployed agents.

There is no need to manually create Companies in the AutoElevate Admin Portal.

You run the script on the target device(s), and the latest MSI will download and install, with the License, Companies, and Locations automatically filled. Refresh the data using the "Refresh Data" button in the AutoElevate Admin Portal 'Computers' screen, and you should see the company/location/computer show up.
 

How it Works


The script grabs the company (site) information from the CS_PROFILE_NAME environment variable on the endpoint and updates the MSI installation arguments along with the variables set in the component. This prevents the need to manually input the "Company Name" when deploying.
 

Component Installation


  1. Import the CPT file attached at the bottom of this document (AutoElevate Deployment-2024.cpt) using the Import Component button on the Components screen.
     
  2. Set required variables. Once uploaded, you must change some variables on the component before you Save it to your library. The variables you will need to change are:
     
    1. inputLicenseKey - REQUIRED - Your AutoElevate license key is found on the Settings screen in the AutoElevate Admin Portal. 
       
    2. inputAgentMode - OPTIONAL - The agent mode that the agent will be set to initially. This can be set to Audit (default), Live & Policy. For a detailed explanation of these modes, see this document. 
       
    3. inputDefaultLocationName - OPTIONAL - Enter the Location Name as it appears in the Admin Portal - Default is Main Office. This field cannot be empty but can be set to whatever value you prefer.
       
    4. inputDebugPrintEnabled - OPTIONAL - Set to True to see more detailed output logs.                                                                                                            
    5. InputBlockerMode - OPTIONAL - The blocker mode that the agent will be set to initially. This can be set to Disabled (default), Audit & Live. For a detailed explanation of these modes, see this document. 
       
  3. Save. Click the Save button in the top right corner.
     
  4. Schedule a job. You are now ready to use this component to schedule jobs on devices listed in Datto.
     

Additional Considerations


If you have manually created any Companies in the AutoElevate Admin Portal, you may see duplicates appear after using this script. This is because the Datto Site ID is being used to identify the new Company created by the script (something that you could not supply when creating them manually).

To resolve this issue and ensure that further script jobs for the same Company don't continue to create duplicates, you will need to Merge the Companies. To do this, you will need to:

  1. Navigate to the Companies screen in the AutoElevate Admin Portal.
     
  2. Select both Companies in question.
     
  3. Select the Merge action from the Actions menu.
     
  4. Follow the instructions on the dialog to follow. It's important that you set the Company that was created with the script to be the "Target" Company. This will ensure that the older, manually created Company will be merged into the new one.



 Click here to download the Datto script

deploy script datto rmm

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Deploying using GPO
  • ConnectWise Automate - Overview
  • Generic RMM Deployment using PowerShell commands
  • ConnectWise Automate (Labtech) Setup Files
  • Products
    • Privileged Access Management
    • Password Management
  • Solutions
    • For MSPs
    • For IT Pros
    • By Industry
  • Resources
    • Weekly Demos
    • Events
    • Blog
    • FAQ
  • Company
    • Leadership
    • Culture + Values
    • Careers
    • Awards
    • News & Press
    • Trust Center
    • Distributors
  • Get Pricing
  • Free Trial
  • Request a Demo
  • Support
  • Login
  • Contact
4925 Independence Parkway
Suite 400
Tampa, FL 33634
CALL US (813) 578-8200
  • Link to Facebook
  • Link to Linkedin
  • Link to Twitter
  • Link to Youtube
© 2023 CYBERFOX LLC ALL RIGHTS RESERVED  |  Privacy Policy

Knowledge Base Software powered by Helpjuice

Expand