web analytics

How to deploy Windows 8 in your business

| October 29, 2012 | 0 Comments

How to deploy Windows 8 in your business

If you skipped Windows Vista and 7 and you’re moving straight to Windows 8 from XP, the options for deployment are very different – and much easier to use. If you’re used to the latest Microsoft deployment tools, then there are still some new wrinkles with Windows 8, including the option to deploy onto a USB 3 memory stick as Windows To Go.

The biggest change since XP is that you no longer need separate, customised images for different PC hardware.

Because Windows 8 (like Vista and 7) is architected as a set of components, and uses a file rather than sector-based image, you can have a single image that you can add components like drivers to after you create it – and without booting the image, installing the driver, powering down the image and recapturing the image.

Instead you can service the image offline to add drivers, hotfixes, language packs or entire Windows components (like .NET 3.0, the XPS viewer or a telnet client). You can even service an image once it’s been deployed.

This works because instead of an image being a sector-by-sector copy of the machine you captured it on, a Windows IMage (WIM) is an indexed list of files. The core Windows files are only stored once, but you can have multiple references to them, so a single image can comprise multiple images – each a list of the files that need to be in that image – without multiple copies of the files making it too large to deal with.

The XML Answer file for an image lets you specify what you want to do in each of the seven phases of setup, so you can automate deployment in detail.

Choosing the right Windows 8 deployment tools

There are a confusing number of tools from Microsoft to help you deploy Windows and there are Windows 8 versions of all of them already (although if you use full System Center, SP1 of Configuration Manager 2012 adds extra support for Windows 8 and Server 2012). Which ones you pick depends on how complex your deployment is going to be and how much you want to automate.

The highest level tool is this Microsoft Deployment Toolkit (MDT), which is actually a framework of tools that works with the Windows Automated Installation Kit (WAIK).

Pick and choose the tools you need from the Windows Assessment and Deployment Kit

MDT includes the Microsoft Assessment and Deployment Kit (ADK) – which itself is a framework of tools including the Windows System Image Manager (Windows SIM), the Deployment Imaging Servicing and Management tool (DISM), and Windows Preinstallation Environment (WinPE), plus the Application Compatibility Toolkit, the User State Migration tool (which you’ll use when planning for your deployment) and the Volume Activation Management Tool for activating desktops.

Be warned: the MDT is a large tool that takes a long time to download and set up, and for a smaller business, the ADK may be all you need.

The DISM command line tool is used for capturing and mounting WIM images and VHDs and replaces the ImageX Vista command line tool.

The DISM servicing commands let you install, uninstall, configure and update Windows features, packages and drivers inside an offline WIM or VHD (and some of them even work with a running OS).

If you don’t need to check compatibility (if you’ve already used the tools in MAP for example) or manage activation, WAIK includes WinPE, DISM, the System Image Tool and USMT and you could do many of the deployment steps manually with these (using the ADK or WAIK).

What MDT lets you do is automate WAIK as a way of capturing and deploying images to PCs, along with applications and drivers and pre-configured settings. At its most basic, MDT is a file share on a server (the distribution point) that client PCs connect to get installation images and Answer files, plus task sequences that actually automate the deployment. If you use System Center Configuration Manager 2012, there’s a version of MDT integrated into it that you can use instead.

If you’ve used Windows Deployment Services (WDS) on Windows Servers, MDT is similar but more specialised; WDS allows you to deploy a basic image and you can then use tools like System Center Configuration Manager to add packages to an image and push them to a subset of PCs and deploy applications, as long as they’re packaged as MSI files.

Step by step: getting ready for Windows 8 deployment

Although MDT and the ADK automate the actual deployment, you’ll need to create the image first. MDT has tools and scripts to help you with this; if you’re making an image to use with the ADK you’re following similar steps but in a more manual fashion.

To use MDT, you need to capture your images and then populate the distribution point with images, drivers, applications, scripts and packages using the Deployment Workbench and creating tasks sequences; after that MDT will create and configure WinPE for you.

If you just want to capture a consistent image to use with your choice of deployment tools (including setting up PCs individually), you need a PC with the ADK installed and a reference PC for deployment – which you can also use as a test PC to try the image on – plus a 4GB or larger USB stick with WinPE loaded for capturing images and storing Answer files, another USB drive with at least 8GB of space (or a network drive) to store the images, and the Windows 8 DVD or ISO and product key.

Set up WinPE using the Deployment and Imaging Tools Environment from the ADK. If you need to add custom drivers to WinPE to boot your PCs you can do that by mounting the WinPE image using the DISM command with the new /mount-image flag, but the generic drivers will work for the vast majority of PC hardware.

Next, use DISM to add the drivers and packages you need with the /Add-Driver and /Add-Package commands, then unmount the image you’ve made.

Install Windows PE onto the 4GB USB stick using the MakeWinPEMedia command, test to make sure you can boot the reference PC into WinPE and then capture your setup choices you make as an Answer file for unattended installation.

The easiest way is using the Windows System Image Manager to customise the sample Answer file – for example setting the IE home page, configuring the Windows firewall, joining a domain or running a logon script. If you want to customise the default user profile, you can make a second Answer file to do that.

Now use the Answer file and the Windows 8 DVD to install Windows 8 on your reference PC; if the PC doesn’t have a DVD drive, boot it from the WinPE USB stick and install Windows 8 from the ISO file (or use ROBOCOPY to put the Windows DVD onto a USB stick can run setup from there, referencing the Answer file with the /Unattend flag if you’re using it).

A clean setup like this takes only a few minutes and you have another opportunity to customise the default user profile by adding shortcuts on the desktop, changing the desktop background or adding scripts and applications – you can’t pin applications to the toolbar.

Finally, use SYSPREP to remove the information about the specific PC you’re working with and create a generalised image you can use, then boot into WinPE and use DISM to capture the image.

To test the deployment image you need DISKPART and deployment scripts and these are different depending on whether your target PCs use BIOS or UEFI. Boot your test PC into WinPE and run both scripts to install Windows 8 with all your customisations.

Deploying VHDs and Windows To Go

Like Windows 7, Windows 8 can boot a VHD natively and run that as the operating system, without running a parent OS or a hypervisor (including the improved VHDx format, which has performance improvements, better protection against metadata corruption and a file size up to 16TB).

You could speed up deployment by creating VHD images of Windows 8 with the IMAGEX utility and copying them to your PCs, but this isn’t designed to replace standard client deployment. It’s ideal for testing or rolling out a pilot but unless you already have an infrastructure for managing and using VHD files for deploying virtual machines, you’ll have to deal with management and support issues manually.

If you do want to deploy virtual machines to clients, perhaps for developers who need to work with multiple different operating systems, it makes sense to do that on top of Windows 8, which now has the Hyper-V hypervisor built in.

Take your Windows with you with Windows To Go

If you want to give users USB sticks that will boot their own installation of Windows 8 on any PC they use, you can treat deploying Windows To Go much like deploying laptops and use the same Windows 8 Enterprise WIM that you’ve generalised with SYSPREP but there are some differences.

Use the wizard in Windows 8 Enterprise to make Windows To Go USB sticks

The easiest way to create a Windows To Go workspace is using the Windows To Go Creator Wizard in Windows 8 Enterprise with your WIM. If you’re creating all the workspaces by hand you can encrypt them with BitLocker, but if you’re going to copy one workspace onto multiple USB sticks with a USB duplicator you don’t want to set up BitLocker now because all the workspaces would have the same password – use Group Policy to make sure users enable BitLocker the first time they use Windows To Go.

You can also create the workspaces with PowerShell; if you want to use System Center, you’ll need System Center 2012 Configuration Manager, which is currently a Community Technology Preview you can download (it’s due to be released in Q1 2013).

View full post on Techradar – All the latest technology news

Filed Under: Tech News

Leave a Reply

Get Adobe Flash player