BDD 2007 - Tips and Tricks - Tuning SMS WIM compression

When testing BDD in a Lab environment or even some customer sites I find that when I update an OSD package it takes a long time for the package to be distributed to the distribution points. This delay is usually due to the time it takes to compress the WIM image (or the network speed). Compressing the WIM strikes me as pointless as the WIM format is already compressed.

Did you know that you can exclude certain file extension types from being compressed by SMS?

You simply need to update the following registry key:

       HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Compression\DontCompressExts

By default it contains the following extensions:

      ".cab;.zip;.arj;.rar;.jpg;.jpeg;.wma;.wmv;.mpg;.mpeg;.mov"

So just add the WIM extension:

      “cab;.zip;.arj;.rar;.jpg;.jpeg;.wma;.wmv;.mpg;.mpeg;.mov;.wim"

I have found this can make a big difference in lab environments and in those customer sites with overworked SMS servers.

This an extremely simple tip (my favourite type) but hopefully it will save you lots of time.

Disclaimer: The information on this site is provided "AS IS" with no warranties, confers no rights, and is not supported by the authors or Microsoft Corporation. Use of included script samples are subject to the terms specified in the Terms of Use .