How To Use Chocolatey with MDT 2013

In my blog post Virtual Router for Multiple Hypervisors I’m using Powershell to setup an isolated environment with internet access.

When I was creating a Task Sequence for an Virtual Router in my Automation Framework I also wanted Devolutions Remote Desktop Manager and Microsoft Remote Desktop Manager to get installed as well.

To be able to do this in MDT you need the unattended install string, but my research only lead my to Chocolatey. Say what!

RDM Chocolatey

So to get started you first need to install Chocolatey – Run cmd.exe as an Administrator and paste in the following command:

Install Chocolatey

Now let’s try that strange command:

Choco Install Devolution RDM

Wow, did you see that? That command line automatically downloads the latest version and installs it unattended, how cool is that?

Setup Commander can do the same and also automatically integrates with MDT / SCCM, but that’s the Enterprise Version and this Chocolatey tool is free.

You know, software is like rotten tomatoes. Flash, Java, Chrome etc gets updated at least every 2nd week.

Okay so now that Chocolatey has my complete attention. How can I get this to work with my Automation Framework? After doing some research I found a Chocolatey Wrapper for MDT, grab it here Chocolatey Application Wrapper for MDT.

Create a Task with Powershell and use the following parameters:

Chocolatey and MDT 2013

Applications deployed with Chocolatey

So every time I create a new Master Image machine it will always have the latest and greatest software version installed.

What about security? Would you use this in Production or is it just awesome for lab and PoC? Please leave a comment and let’s discuss.

6 Responses to How To Use Chocolatey with MDT 2013

  1. Hey Trond

    The choco packages in the example above, are those sources/binaries hosted in the cloud on the Chocolatey servers or within the MDTProduction\Applications folders?

Leave a reply