Skip to main content

ITG - Local Admin Password Management

Overview

This automated script rotates or creates a specified Local Administrator account password on the target Windows endpoint, enforces security compliance, and securely documents the credentials directly into IT Glue.

Implementation

  1. Download the component ITG - Local Admin Password Management from the attachments.

  2. After downloading the attached file, click on the Import button

  3. Select the component just downloaded and add it to the Datto RMM interface.
    Image 1

  4. After Importing the component to the Datto RMM, make sure to add the component to the Proval Group always.

    • Steps to Add the component under Proval Group.
      i. Click on Drop Down Icon.
      ii. Click on Add to Group.
      Image 4
      iii. Select the group as Proval
      Image 5

Sample Run

To execute the component over a specific machine, follow these steps:

  1. Select the machine you want to run the component on from the Datto RMM.

  2. Click on the Quick Job button.
    Image 2

  3. Search the component ITG - Local Admin Password Management and click on Select
    Image 3

  4. Sample Run:
    Image 6
    Image 7
    NOTE - Please add all the respective details from the CW portal.

Datto Variables

Variable NameTypeDefaultDescription
orgIDStringOrganisation ID of client.
NewAdminUsernameStringEnter the new admin name (Used if ChangeAdminUsername is true).
ITGlueAPIKeyStringIT-Glue API key
ITGlueURLStringhttps://api.itglue.comAPI URL IT-Glue
ChangeAdminUsernameBooleanFalseChange the current administrators username(Disable "Administrator" and creates new account)

Output

  • stdOut
  • stdError

Attachments

ITG - Local Admin Password Management

Changelog

2026-07-23

  • Initial version of the document