OVERVIEW: Group Policy Deployment (Assign Software – Automated Installs via Group Policy – Best for Active Directory Domain Environments)
Estimated time to complete: 5 minutes
- Begin by downloading the custom agent (Agent_Install.msi)
- Create a distribution point
- Create GPO
- Assign Package
- Confirm Deployment
You can assign a program distribution to users or computers. If you assign the program to a user, it’s installed when the user logs on to the computer. When the user first runs the program, the installation is completed. If you assign the program to a computer, it’s installed when the computer starts, and it’s available to all users who log on to the computer. When a user first runs the program, the installation is completed.
Pro Tip: You may need to run “gpupdate” or “gpupdate /force” to update the local group policy. As this is a startup script, you may need to reboot the device to complete installation.
Step 1: Download the install file #
- You will receive an email with the downloadable link for your company’s assessment. If you do not see it in your normal inbox please make sure to check your junk mail!
- Click the link provided in the email. If you get a warning, you will need to keep it or mark it as safe to proceed.
- Save as Agent_Install.msi.
Step 2: Create a distribution point #
To assign a computer program, create a distribution point on the publishing server by following these steps:
- Log on to the server as an administrator.
- Create a shared network folder (or use an existing share) where you’ll put the Windows Installer package (.msi file) that you want to distribute.
- Set permissions on the share to allow access to the distribution package.
- Copy the msi package to the distribution point (shared UNC path).
Step 3: Create a Group Policy Object #
To create a Group Policy Object (GPO) to use to distribute the software package, follow these steps:
- Start the group policy management snap-in by clicking Start, pointing to Administrative Tools, and then clicking Group Policy Management.
- Select the Group Policy Objects folder, right click and choose New
- Type a name for this new policy (example RMM Agent Installer), and then click OK.
Step 4: Assign a package #
To assign a program, follow these steps:
- Start the Active Directory Users and Computers snap-in by clicking Start, pointing to Administrative Tools, and then clicking Group Policy Management.
- Select the policy that you want (RMM Agent Install) and click Edit.
- Under Computer Configuration, expand Software Settings.
- Right-click Software installation, point to New, and then click Package.
- In the Open dialog box, type the full Universal Naming Convention (UNC) path of the shared installer package that you want. For example,
\\<file server>\<share>\<file name>.msi
.Important: Don’t use the Browse button to access the location. Make sure that you use the UNC path of the shared installer package.
- Click Open.
- Click Assigned, and then click OK. The package is listed in the right-pane of the Group Policy window.
- Close the Group Policy snap-in, click OK, and then close the Active Directory Users and Computers snap-in.
- Link this Policy to the OU or at the root domain level that will apply to all computers. Rick click and select Link an Existing GPO.
- Select the GPO that you want to link and click OK.
- Close the Group Policy Management snap-in.
- When the client computer starts, the managed software package is automatically installed.
Step 5: Confirm Deployment #
When successful completed, you will see these two new icons in your taskbar! CONGRATULATIONS!