Creating a Multi-OS Installation USB Key

Back when I was a computer support technician I used to carry a binder of CDs and DVDs, including (but certainly not limited to!) every version and edition of Windows client and server.  This came in handy every time I replaced a hard drive because I could reinstall the OS without having to take it in to the lab.

Fast forward to 2009.

Earlier this year I wrote in an article that Tim Mintner and I created a USB key from which we could install several different versions of the Windows operating system.  I know a lot of techs who liked the idea, so in this article I will explain how to do it.

My Tools

For the purpose of this article I will use my Windows 7 laptop, the Microsoft Deployment Toolkit 2010, and a SanDisk Cruzer Micro 16GB USB key that I borrowed brom Bradley Bird at TechEd and never returned (thanks Brad!).

Microsoft Deployment Toolkit 2010

Although I usually install the MDT on a server I installed it on my laptop to demonstrate that a server is supported but is not required.  My laptop is running the 64-bit edition of Windows 7 Ultimate so I downloaded the x64 version of MDT 2010… but there is a 32-bit version as well which works the same way.

MDT is one of those tools that is relatively small (9.76MB) and can be downloaded in seconds.  One of the requirements for the MDT however is the Windows Automated Installation Kit (Windows AIK) which in its current iteration weighs in at 1.7GB.  Make sure you have it ready when you want to start!

Once you have installed the MDT 2010 and the Windows AIK you have to create a Deployment Share.  Being the imaginative guy that I am I called mine MDT Deployment Share.  I linked it to the local directory D:Deployment, and assigned it the UNC path of MDG-E6500Deployment$.  Even though it will never be a network deployment server it is necessary to assign a share, which by default and best practice should be an administrative share.

image 

Now that my deployment share has been created I need to import my Operating System files. 

  1. Click on Operating Systems in the navigation bar.
  2. In the Actions pane click Import Operating System.  The Import Operating System Wizard will launch.
  3. In the OS Type window ensure that Full set of source files is selected and click Next.
  4. In the Source window click Browse and navigate to the directory where your OS is located.  Normally this will be the root of your DVD drive; if you use .ISO files like me then mount the file (I use MagicISO) and then navigate to the root of the virtual DVD, and click OK.  Back in the Source window click Next.
  5. The wizard should automatically identify the OS version and edition; in the Destination window ensure the Destination directory name is appropriate (i.e.: Windows 7 x64) and click Next.
  6. In the Summary window make sure that the details are correct, and click Next.

Once the import process is complete you should have a number of different OS editions in your MDT.  That is because the .WIM file contains multiple editions.  Although you can delete some of them for the sake of organization (I generally delete all of the Home editions for business deployment points) it is not necessary.

image

You have to repeat the above steps for all of the operating systems that you want to deploy.  In the end you might have a list that looks like this:

image

Next you should import any applications that you install often:

  1. right-click Applications under the deployment share in the navigation bar and click New Application.  The New Application Wizard will open.
  2. In the Application Type window select Application with source files and click Next.
  3. In the Details window enter the appropriate information and click Next.
  4. In the Sources window click Browse and navigate to the directory where your OS is located.  Normally this will be the root of your DVD drive but it can also be the directory where the installation files are stored, and click OK.  Back in the Source window click Next.
  5. In the Destination window ensure that the name is correct (it is based on the information you specified in the Details window) and click Next.
  6. In the Command Details window the Working directory should already be populated; for the Command line you should enter the command that you would use to install the application, including command-line switches.  So you could either type setup.exe, or get fancier and enter setup.exe /adminfile Custom2.msp.  When you are satisfied click Next.
  7. On the Summary page ensure the details are correct and click Next to import the files.

When you are done importing your applications they will all be listed in the Applications list.

Now you might want to import Packages and Out-of-Box drivers, but that I will save for another time.  Let’s move forward and create our task sequences.

A Task Sequence is a list of commands that must be performed by the deployment point.  These are the instruction sets that make our deployment work.

  1. In the navigation pane click on Task Sequences.
  2. In the Actions pane click New Task Sequence.  This will launch the New Task Sequence Wizard.
  3. In the General Settings window enter a Task Sequence ID(3 unique characters) and a Task Sequence Name that you will recognize and understand.  You can also enter comments if you wish.  Click Next.
  4. In the Select Template window select Standard Client Task Sequence from the drop-down list and click Next.
  5. In the Select
    OS
    window choose the OS that you would like this TS to deploy.  Only one OS version and edition can be installed by a single task sequence.  Click Next.
  6. In the Specify Product Key window ensure that Do not specify a product key at this time is selected and click Next.  This will ensure that you are prompted for a unique key every time you deploy.
  7. In the OS Settings window you must enter a name and organization name; if all of your deployment will be for you then use your own name, but some people may want to use more generic names like ‘IT Department’.  Click Next.
  8. In the Admin Password screen you should specify the local administrator password, although you have the option of selecting Do not specify an Administrator password at this time.  Click Next.
  9. On the Summary screen ensure the information is correct and click Next to create it.

You will have to repeat these steps for each OS that you would want to deploy from your USB key.  In the end it might look like this:

image

Next you have to update your deployment share.  In the navigation pane right-click on your deployment share and click Update Deployment Share.  In the Options window for a first-time share you would leave the default; click Next.  The Deployment Share will populate and you are in business!  (This is actually a very time consuming step… expect to wait!)

Once your Deployment Share is updated all that is left is to create the media files.  The wizard will create two sets of files (the files themselves and an ISO of the files), each one roughly equivalent to the total size of everything you have created – i.e.: really big.  My first attempt exceeded not only my 16GB USB key, but also the free space on my hard drive!  Remember that if your files come to 9GB then you need at least 18GB free on the Media Path drive.

  1. Under your Deployment Share in the navigation pane expand Advanced Configuration and click Media.
  2. In the Actions pane click New Media to launch the New Media Wizard.
  3. In the General Settings window enter a Media path.  The path must be an empty directory.  Click Next.
  4. In the Summary window make sure that all of your details are correct and then click Next to create the files.

Once the files have been created on your hard disk you can copy them to a bootable USB key.  To create a bootable key follow the instructions I wrote in the article Bootable USB Media for Windows 7.

Conclusion

The Microsoft Deployment Toolkit 2010 makes deployment simple.  In this article I have essentially held your hand through the process of creating a USB deployment point… but that is only part of the magic of the MDT.  Now that you have worked with it through this article you can expand on that and create network deployment points, capture existing images using MDT, and much more.  Take what I have given you and run with it, and you too can be a deployment guru!

14 responses to “Creating a Multi-OS Installation USB Key”

  1. Hi Mitch,
    I attended the MS Tech Days in Ottawa a few days ago and decided to check out your info on how to create my own USB drive which would hold all my Windows images. The site seems to have great info, but unfortunatly none of the pictures are showing up. Would you be able to put them back up?
    Thanks for your help and I really enjoyed your sessions this year.

    –Paul

    1. Hi Paul,
      As I probably mentioned this week my blog was migrated from one platform to another last week-end, and although most of the content came through unscathed there were some casualties. I will have to recreate those images, but I WILL do it… just give me a few days? You’ll have it this week, I promise!

      Again, thanks for coming to TechDays! I’m glad you enjoyed it! -M

      1. I would love to see those pictures … i am just heading down this path myself, and your site seams to be exactly what i needed.

        Think it has been a bit more than a week 🙂

  2. Hi Mitch.
    I’m intrigued. Wanted to try this out.
    Any chance the pictures will be up any time soon 🙂

    //UggaBugga

    1. I am mystified… I just logged into the old garvis.ca server and realized the pictures are not there either. Drat. Ok, I will recreate them all tonight or tomorrow. Wondering where they went… and what else is missing!

  3. […] Zobacz resztÄ™ artykuÅ‚u: Creating a Multi-OS Installation USB Key « The World According to … […]

  4. Hi Mitch,

    This would be greatly helpful for my work, I just was wondering what I now do with the “Content” file, I noticed that your page link doesn’t seem to work.

    Thanks
    Adam 🙂

    1. Hey Adam! I know a lot of the original post got horked when I migrated off of my old blog platform. I wrote a newer article complete with a video to help you out. If you still have questions drop me a line and we’ll figure it out together 😉

      Creating a Multi-OS Deployment Point with MDT!


      -MDG

  5. This may be drudging up and old article but i found this very useful. there are not alot of posts of this quality out there for creating a multi-boot usb with win7

  6. unable to update deplyment.
    Any idee?

    1. Hi Evis,
      I do not know why you cannot update your Deployment Point. Please provide me with more information and I will try to help you through it! -M

  7. Have a look at Sardu. With this tool, you can create a multi-OS bootable USB key with Windows, Linux and other tools.

  8. Hi Mitch,

    Just popped by your blog to see if you’ve revived those pictures (yet). As someone said some time ago, it’s been at least a week :-). I know you’re a busy guy, so I’ll cut you some slack, but puhleeeeze get the pictures back sometime soon!

    Cheers,
    Dave2U

    1. Dave I did better than that… I posted another article on the subject and included videos on how to do it. Do a quick search on the blog and you should find it! -M

Leave a comment