Using the Deployment Workbench to install Vista

Daily Newsletters

Sign up to ZDNet UK's daily newsletter.

TUTORIAL

One of the most common ways of deploying Windows to networked workstations involves disk imaging. The idea behind imaging is that you can configure a PC to match your standard desktop deployment, and then create an image of the PC. That image can then be copied to any additional desktops that you need to deploy.

There are dozens of disk-imaging solutions on the market, and each of them has their own advantages and disadvantages. The disk-imaging solution currently recommended by Microsoft is the Deployment Workbench. Deployment Workbench is a free application included in Microsoft's Business Desktop Deployment 2007 (BDD 2007) which you can download directly from Microsoft's website. In this article, we'll show you how to make it work.

Before we begin

Before I get started, I want to quickly point out that there are countless methods for creating distribution images using the Deployment Workbench. Since it is impossible for me to talk about all of these methods within the confines of an article (or even several articles), I am going to limit my discussion to one particular technique. If my technique does not meet your needs, then another technique will probably work for you. You can find instructions for other imaging techniques in the Deployment Workbench instructions.

Why use the Deployment Workbench?

As I mentioned earlier, there are dozens of tools capable of imaging a Windows workstation, so you might be wondering why you should use the Deployment Workbench rather than another solution? There are lots of good reasons: it is available for free, and it is a Microsoft solution for distributing Microsoft operating systems.

I tend to think the best reason for using the Deployment Workbench for imaging workstations, however, is that it gives you flexibility. In many of the competing solutions, building an image involves setting up a workstation with an OS, a set of drivers, and your standard set of applications. You would then create an image file and deploy that image to any new workstations that you need to set up.

That sounds simple enough, but what happens when your company adopts a new application or a new version of an existing application? If you are using this type of imaging solution, you would have to create a brand new image from scratch. The Deployment Workbench is different; rather than requiring you to create a static image, it allows you to add and remove applications and other components to and from the image on an as-needed basis. This will be covered in the section on adding applications to an image.

Installing the Windows Automated Installation Kit

Before you can get started, ensure that the necessary Deployment Workbench components have been downloaded. To do so, open the Deployment Workbench and navigate to information centre/components. Upon selecting the components container, you will see a list of the components available for download. Select each available component — one at a time — and press the download button. When you do, Windows will queue each component for download, as shown in Figure A.

Figure A: You must download the various Deployment Workbench components before you can begin work on creating an OS image.

After a component has been downloaded, the status column shown in Figure A will switch from "downloading" to "copying". Due to a glitch in the software, the copying status is displayed indefinitely (on my system). If the copying status doesn't go away after a reasonable amount of time, press the install button, found in the lower right portion of the screen, to begin the installation process.

Creating a Windows image

There are countless deployment scenarios that you could work through using the Deployment Workbench. For the purposes of this article, the only component that we will concern ourselves with installing is the Windows Automated Installation Kit.

When you press the install button, Windows will launch the Windows Automated Installation Kit setup wizard. Press next to bypass the wizard's welcome screen and the wizard will display the end-user licence agreement. Accept the licence agreement and press next. The wizard will now prompt you for an installation path. Just accept the defaults and press next. The wizard is now ready to install the Windows Automated Installation Kit. Press next to begin the file-copy process. When the file-copy process completes, press the close button to close the wizard. The Deployment Workbench should now list the Windows Automated Installation Kit among the installed components, as shown in Figure B.

Figure B: The Deployment Workbench will list the Windows Automated Installation Kit among the installed components.

.

Since the necessary components have been downloaded and installed, it's time to begin building an image file. To do so, navigate to distribution share/operating systems. Now, right-click on the operating systems container and select the "new" command from the resulting shortcut menu. You will now see the dialogue box shown in Figure C, which asks for the type of OS you want to add.

Figure C: You must choose the type of OS you want to add to the distribution share.

As you can see in the figure, the new OS wizard gives you three different choices: you can create an image based on a set of source files, supply a pre-existing image in the form of a WIM file, or specify an image located on a Windows Deployment Services server. Since we are starting from scratch, choose the "full set of source files" option and press next. The wizard will now prompt you for the OS's installation files. Insert your Windows Vista installation disk, and provide the path to the installation media.

Press next and the wizard will prompt you to enter a name for the destination directory. Accept the default directory name of Windows Vista and press the copy button to begin the file-copy process. When the copy process completes, the details pane will be updated to list the various editions of Windows Vista that were included on your installation media, as shown in Figure D.

Figure D: The operating systems container now contains images of various editions of Windows Vista.

Adding applications to the image

In most companies, a standard set of applications gets loaded onto each desktop machine. Some users with specialised jobs might receive additional applications, but there are usually some applications, such as Microsoft Office, that everybody uses. Therefore, it makes sense to include these standard applications in your deployment image.

Looking at the previous screen capture, you will notice that there is an applications container just below the operating systems container. If you want to include an application in the image you're creating, you can do so by placing the application into the applications container.

The technique for associating applications with an image is similar to the technique that you used to create the image of the OS. Simply right-click on the applications folder and select the "new" command from the resulting shortcut menu. When you do, Windows will launch the new application wizard, shown in Figure E.

Figure E: The new application wizard allows you to include applications in your deployment image.

As shown in Figure E, Windows gives you the choice of including applications with or without source files. The "applications with source files" option is fairly self-explanatory. You would use this option if you had an installation CD for a particular application that you wanted to include in the image that you are creating.

The "applications without source files" option is used primarily for less sophisticated applications. For example, I use a desktop search tool that is composed of a single executable file. The tool doesn't have to be installed in the traditional sense, since there is no setup file. If I wanted to include this tool in my distribution image, I would use the "applications without source files" option.

The "application without source files" option is also appropriate for use in situations in which the source files change frequently. If you choose the "application with source files" option, the Deployment Workbench will ask you for the source file location, and will then copy those source files to your distribution share on the machine running the Deployment Workbench.

If you choose the "application without source files" option, you will still be prompted to enter the location of the source files, but the source files will not actually be copied to the distribution share. This means you can update the source files as often as necessary; as long as the location remains the same, the Deployment Workbench will always include the most up-to-date version of the source files in the image.

To see how application distribution works, let's add Microsoft Office 2007 to the distribution point. To do so, select the "application with source files" option and press next. At this point, you will see the screen shown in Figure F. As you can see in that figure, you are required to enter some basic information about the application that you are including in the image.

Figure F: You must enter some details regarding the application that you are including in the image.

Press next and you'll be prompted to supply the source directory for the application you want to include in the image. Press next and enter the name of the directory that should be created. The default directory name will be based on the information that you entered about the application earlier; so as long as you entered good information, you probably won't have to change the directory name.

Press next and enter the command line used to install the application, as shown in Figure G. Typically, the command will be setup.exe, but it may vary from application to application.

Figure G: You must enter the command that launches the application's setup program.

Press the add button and the Deployment Workbench will begin copying the application's source files to the distribution point. When the file-copy process completes, the new application will be listed in the details pane when the applications container is selected, as shown in Figure H.

Figure H: The new application is listed in the details pane.

As you have probably already figured out, the Deployment Workbench will deploy Office by running setup.exe. As you are no doubt aware though, setup requires you to enter a product key. Other applications may ask for similar types of information or require a reboot after installation. These types of issues can be addressed by right clicking on the application and selecting the properties command from the resulting shortcut menu. Upon doing so, you will see the application's properties sheet, as shown in Figure I.

Figure I: The properties sheet's general tab allows you to force a reboot after installation.

The properties sheet's various tabs provide some handy tools for automating the installation process. For example, the general tab allows you to force a reboot after the application is installed. The dependencies tab, shown in Figure J, allows you to require applications to be installed in a specific order.

Figure J: The dependencies tab allows you to install applications in a specific order.

The Office products tab, shown in Figure K, is unique to Microsoft Office; other applications sometimes have similar tabs. This tab allows you to select a language, specify a product key, and automatically enter a user name and automatically accept the end-user licence agreement (EULA).

Figure K: The Office products tab allows you to enter a product key and automatically accept the end-user licence agreement.

A good beginning

In this article, we have shown you how to add an OS and a set of applications to a distribution image. In upcoming articles, we'll continue the discussion by showing you how to add OS packages and drivers to the image.

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

Jason Burchell

seriously now. I've only bothered to read a small bit of the comments. do me and the rest of the world a favour. stop saying it does not work or...

2 hours ago by Jason Burchell via Facebook on Music industry negotiating over 24-bit downloads
Philip Charles Cohen

Read about it and weep, John Donahoe ... In addition to Visa’s V.me, there is now MasterCard’s PayPass digital wallet soon to arrive; another...

6 hours ago by Philip Charles Cohen via Facebook on PayPal takes phone-based payments to the high street
apexwm

Leslie Satenstein : Where have you ever seen Mozilla even mention this? Firefox is the most popular browser in the GNU/Linux OS, so I don't see...

6 hours ago by apexwm on Firefox rapid release improves Fedora Linux
songmaster

SHleG: Do you remember building a clockwork scorpion kit (I'm pretty sure I have a photo of it somewhere) — I think it was called something like...

8 hours ago by songmaster on Software with everything
Chris Wortman

Good I love Yahoo! Their search engine is getting better than Google as of late. I find more of what I want on the first page, and usually within...

9 hours ago by Chris Wortman via Facebook on Linux Mint 13 ramps up for KDE release
PatrickG

openhgs has made the point for Windows 8 multiple monitors without realising it! With Windows 7 you have to switch the mouse and so your focus...

10 hours ago by PatrickG on Windows 8 could speed multi-monitor uptake
Leslie Satenstein

Mozilla has threatened to stop supporting Linux. I guess that UBUNTU is going with another browser. I indicated that if Mozilla stops supporting...

12 hours ago by Leslie Satenstein via Facebook on Firefox rapid release improves Fedora Linux
Andy Bolstridge

Much as I abhor Microsoft's licensing practices, this is almost certainly down to purchasing IT equipment via 3rd party consultants - you get the...

12 hours ago by Andy Bolstridge via Facebook on 6 million wasted licences and £1,200 PCs: welcome to government IT
Jack Schofield

@openhgs Windows users have had multiple desktops since Linus started writing Linux. They just haven't shipped as standard because not enough...

1 day ago by Jack Schofield on Windows 8 could speed multi-monitor uptake
Jack Schofield

@Phil at Cloud4 What, Microsoft gets £1,200 per PC and £1,622 per server? Gosh, I'm amazed....

1 day ago by Jack Schofield on 6 million wasted licences and £1,200 PCs: welcome to government IT
craigsc

You guys have no idea what is going on at Autonomy. Autonomy could have been a much more profitable organization. The sales operations at Autonomy...

1 day ago by craigsc on HP cuts 27,000 staff as Autonomy chief Lynch leaves
Moley

How does this impact on dual or multi booting? Seems to me to more or less prohibit this, from Windows 8 anyway. Will Grub 2 recognise Windows 8,...

1 day ago by Moley on Windows 8 start-up speed forces USB boot workaround
apexwm

I don't understand why there cannot be a slight pause during the boot process so the user can press a key. Many operating systems do this, even if...

1 day ago by apexwm on Windows 8 start-up speed forces USB boot workaround
Gavin Goodman

You can now buy the Xi3 modular computer in the UK at http://www.ocdistribution.com . This can be bought with the Tand3m software, pricing and...

1 day ago by Gavin Goodman on CES 2012: Xi3 microSERV3R
Phil at Cloud4

I agree: Mike Lynch can clearly build a business and manage strategy. I suspect the exit of Mike is more likely the end of a planned handover...

1 day ago by Phil at Cloud4 on HP cuts 27,000 staff as Autonomy chief Lynch leaves
Phil at Cloud4

This is unbeleivable government wastage with only one winner... Microsoft 1 - Tax payer Nil!

1 day ago by Phil at Cloud4 on 6 million wasted licences and £1,200 PCs: welcome to government IT
Mispam

So what do you do when you can't boot into windows? Why can't I just hold Shift while I power up instead of having to boot into windows and click a...

2 days ago by Mispam on Windows 8 start-up speed forces USB boot workaround
apexwm

I've also seen that Mac OS X for Intel machines is supposed to run in VirtualBox, which would also be a nice solution. I've never tried it though.

2 days ago by apexwm on xTreme Triple Booting: Linux, Mac & Windows
dave heasman

What I wonder is why when companies are caught bang to rights in not providing contracted services, people bend over to smear the customers? Surely...

2 days ago by dave heasman on Virgin throttles broadband for high-speed customers
pjc158

Strange statement from HP regarding Mike Lynch and not capable of scaling a company. Autonomy was a $7bn purchase which started as a small company...

2 days ago by pjc158 on HP cuts 27,000 staff as Autonomy chief Lynch leaves