Deploying Alchemy Compatibility Packages using an Active Directory Group Policy Object (GPO)

Save to PDF

Applies to: Alchemy

30/09/2022 Cliff Hobbs   ID: 266766

If you are an Administrator, you can deploy your Cloudhouse Alchemy Compatibility Packages to servers and desktops using Active Directory (AD) membership and Group Policy Objects (GPOs).

Delete

Important

This deployment method is only available for machine deployments, i.e. making an application available to all users on the same computer.

Assumptions

The following example assumes the Compatibility Package is:

  • Called AppContainer
  • Stored on the UNC share \\share\data\packages
  • To be deployed to the C:\programdata\cloudhouse folder on the target server, or desktop.

Process to Deploy Alchemy Compatibility Packages using an AD GPO

  1. Create a batch script containing the following command:

" \\unc\path\package-folder\Cloudhouse.Container.Deployment.exe" /deploydir "C:\programdata\cloudhouse" /acceptEULA

  1. Test the script executes correctly when run as the Administrator user.
  2. Open the Group Policy Management Console.
  3. Create a new GPO on the organisational unit (OU) in which your computer accounts reside.

Process to Create a New GPO

  1. Open the Group Policy Management Console
  2. In the console tree, right-click Group Policy Objects in the forest and domain in which you want to create the GPO.
  3. Click New.
  4. In the New GPO dialog box, specify a name for the new GPO and click OK
  5. Open Computer Configuration\Policies\Windows Settings\Scripts (Startup/Shutdown)
  6. In the details pane, double-click Startup
  7. In the Startup Properties dialog box, click Add
  8. In the Add a Script dialog box, under Script Name, type the full network path to the script batch file and the script batch file name created in Step 1. Or you can click Browse to search for the script file in the Netlogon shared folder on the Domain Controller.
  9. Close the Group Policy Management Console
  10. Test the GPO, open Command Prompt and run it as an Administrator.
  11. Run the gpupdate /force command at the command prompt to refresh the group policy.
  12. If the GPO is working, the application in the Container will be installed when the server starts up.
Source:
Was this article helpful?

Table of Contents

    Can't find what you're looking for?

    Contact Support