Skip to content Skip to footer

Want To Automate Program Installations Look at Chocolatey

One of the biggest challenges most administrators face is automating their tasks. The more administrators can automate the more productive they are. Installing and updating programs is always a challenge when you are dealing with hundreds or thousands of computers at once. That is where Chocolatey steps in.

Homepage of Chocolatey

Chocolatey is a package manager for windows that will let you automatically install many pieces of software with little effort. You can even script the installation so you can deploy with GPO or your RMM platform.

Setup

Installing Chocolatey is super easy. First, you will need to change your PowerShell signing. You can do this by running PowerShell as administrator and executing the following command

Set-ExecutionPolicy RemoteSigned

Now you are able to run the script to install Chocolatey. You can read about their install process here or use the code below.

iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex

After you have installed Chocolatey you can start having it install programs for you. Below is an example of installing Adobe Reader and Herdprotect. I use the switch to automatically accept the terms and proceed with the installation without prompting me.

choco install adobereader herdprotect -y

 

2 Comments

  • Oscar
    Posted February 13, 2017 at 10:32 am

    Great post!

    Check out Deployify. It’s built on top of Chocolatey and makes it easy to manage applications on multiple computers through a single website, without using the CLI. It’s a free!

    Take a look at https://deployify.io

    • Post Author
      Jgiesing
      Posted February 26, 2017 at 1:29 am

      Looks cool. I will have to give it a try

Leave a comment