Skip to main content
Cisco Meraki Documentation

Systems Manager Installation using Active Directory GPO

In large environments, it isn't time efficient to install software on individual PCs one at a time. In order to perform tasks like deploying the Systems Manager agent in bulk, administrators of Windows environments with Active Directory can make use of Active Directory Group Policy Objects to administratively push software out to a large number of devices.

 

For more information on GPOs, requirements, and any Microsoft or Active Directory questions, please consult Microsoft's documentation for software installation using Active Directory GPO.

 

This article will cover the steps required in a typical Active Directory environment to push out the System Manager client for Windows to devices across an AD domain.

 

  1. Choose your Systems Manager network from the Network drop-down, then go to Systems Manager > Add devices > Windows.
     
  2. Download the Windows installer image by clicking on the Download link and saving the .msi file
     
  3. Move the .msi file to a shared location that is accessible by all target devices; in this example, it's a "Software" folder on a file server.
    20845443-0887-4dde-9283-ab8a9ccc2a14

Agent version 1.0 - 3.0.3

  1. On a domain controller, start the Group Policy Management tool.
    d1bf09d0-5ac7-4a73-b51a-480e953298a5
     
  2. Navigate to [your_company_name]-Computers, right-click, and choose "Create a GPO in this domain and link it here..."9acf8fc1-8396-44ba-8bef-4307d9be927f
     
  3. Give the GPO a name, for example "Systems Manager" or "Meraki Systems Manager"
    450a8e06-6977-4e06-b5d9-54fee44f8a48
     
  4. Under "Group Policy Objects", find the GPO you created in step 3, right-click on it, and choose "Edit..."
    d5af37a2-9c16-424e-804a-3bd7e79fd190
     
  5. In the window that pops up, navigate to "Computer Configuration" to "Policies" to "Software Installation"; right-click it and choose "New" and "Package..."
    8cc69d09-02bc-4b6b-aaed-eb9fd073ef0e
     
  6. Browse to- or type the full path of the .msi package on the share.
    30f68244-b64b-4b15-9c33-ebddb27e777c
  7. In the "Deploy Software" window that pops up, leave the setting option to "Assigned" and click OK
    ae62734c-2ef6-43a4-96be-5e212f6df076

Agent version 3.1.0+

To deploy Agent v3.1.0+ via GPO, administrators will need to create and distribute a transform file (.mst) with the Agent package.  The transform file defines the SM network environment the Agent will connect to after installation.

Transform files can be created in a variety of different msi editing tools. Steps to create a transform file in Microsoft Orca are outlined below.

Create transform file in Orca

  1. Open Orca.  Click File > Open  in the main toolbar, and open the Agent installer .msi  (SMAgent-x.x.x)
  2. In the main toolbar, click Transform > New Transform
  3. Select the Property table from the list on the left, then click Tables > Add Row in the main toolbar
  4. In the Property field enter ENROLLMENT_CODE (case sensitive). In the Value field, enter your network enrollment ID or network enrollment string
  5.  In the main toolbar, click Transform > Generate Transform. Name the transform file and save it to a network share folder that is accessible by all target devices

Deploy transform file with GPO

  1. On a domain controller, start the Group Policy Management tool.
    d1bf09d0-5ac7-4a73-b51a-480e953298a5
     
  2. Navigate to [your_company_name]-Computers, right-click, and choose "Create a GPO in this domain and link it here..."9acf8fc1-8396-44ba-8bef-4307d9be927f
     
  3. Give the GPO a name, for example "Systems Manager" or "Meraki Systems Manager"
    450a8e06-6977-4e06-b5d9-54fee44f8a48
     
  4. Under "Group Policy Objects", find the GPO you created in step 3, right-click on it, and choose "Edit..."
    d5af37a2-9c16-424e-804a-3bd7e79fd190
     
  5. In the window that pops up, navigate to "Computer Configuration" to "Policies" to "Software Installation"; right-click it and choose "New" and "Package..."
    8cc69d09-02bc-4b6b-aaed-eb9fd073ef0e
     
  6. Browse to or type the full path of the .msi package on the network share
    30f68244-b64b-4b15-9c33-ebddb27e777c
     
  7. In the Deploy Software window, change the setting option to Advanced
    sm-cp-2016_-_23_96_1_114_3389.jpg
     
  8. In the Properties window, click the Modifications tab, then click Add
    sm-cp-2016_-_23_96_1_114_3389-3.jpg
     
  9. Select the Transforms (*.mst) file from the network share location, and click Ok
    sm-cp-2016_-_23_96_1_114_3389.png

Initiate Deployment

  1. Right-click the entry you created and enable "Enforced"
    c836e5b4-b04b-4d7a-84b7-e2838b70322d
     
  2. Start a shell by clicking on the Start button (then "Run..." on some versions of Windows") and typing "cmd"
    5f50dc9e-8dea-40e9-83f5-b3c4a8747108
     
  3. In the cmd shell that pops up, type "gpupdate /force"
    160b8ed8-8340-4ff4-a508-d1a708d7682c
     
  4. Wait until gpupdate completes.  You are done.d215d43f-d2cd-4696-9783-973540018392
  • Was this article helpful?