Wednesday, November 23, 2011

Deploying K-Lite Codec pack with Group Policy

I was asked to deploy the K-Lite codec pack recently. Deciding that it probably wasn't the best idea to go round and install it on each computer individually I decided on using Group Policy.

Now K-lite doesn't come as a MSI file, so that route was out but luckly the makers have set up a way to run an unattended install. Here's how you can do it too!

1) Download the K-lite pack from Here

2) Once downloaded Run the downloaded exe-file with the -Makeunattended switch and follow the on-screen instructions exactly

3)You will see that the once you have followed the instructions you will have 2 new files in the same directory as the exe-file. It should be a .Bat file and a .ini file.

4)Now logging in to your AD server, create a new Group Policy and call it something obvious. Now open up the GPO go to Computer Configuration/Policies/Windows Settings/Scripts/Startup

5)Click add, and then browse. Now you need to copy the three files from earlier (the installer, the bat file and the ini file) to the folder that has just opened up. Then select the .Bat file and click open, ok and ok again.

6) Apply the GPO to the container with the computers in that you want it install on.

7) Go for a well deserved drink!

No comments: