Jump to content


anyweb

How can I deploy Windows 8 in UEFI mode using Configuration Manager 2012 ?

Recommended Posts

Introduction To UEFI

The Legacy BIOS that we are all accustomed to has been around for a long time and is showing it’s age, for example it cannot handle discs larger than 2TB in size. Realizing the need for change, Intel originally created the Intel Boot Initiative back in 1998. Within a few years a bunch of well known companies (including Microsoft, HP, Dell, AMD and others) got together and formed the UEFI specfication which was the next logical step in its evolution.

Unified Extensible Firmware Interface (UEFI) is meant as a replacement for the legacy BIOS present in all IBM PC-compatible personal computers.As a result, most modern computers today will have a bios that is both Legacy (bios) and UEFI capable, for example on a Dell Latitude E6320 you have both options available in the BIOS screen under the General, boot Sequence, Boot List Options menu. More than likely it’s already set to Legacy, but we will be changing that later in this post.

bios-screen-1024x579.png

Microsoft introduced UEFI for x86-64 Windows operating systems with Windows Server 2008 and Windows Vista Service Pack 1, so the 64-bit versions of Windows 7 are compatible with EFI. 32-bit UEFI is not supported since vendors did not have any interest in producing native 32-bit UEFI firmware because of the mainstream status of 64-bit computing. Windows 8 includes further optimizations for UEFI systems, including a faster startup and secure boot support.

With the recent release Windows 8 RTM and updates released for Configuration Manager 2012 to support Windows 8 (amongst other things via the CTP release of SP1) we now have the ability to create task sequences with UEFI abilities built in. But first before you try using UEFI please understand one thing, it’s very different to what you are used to with the traditional bios so there is a learning curve. Don’t expect PXE boot (via UEFI) to work currently as network drivers for it are not readily available (you might see them on certain servers, contact your hardware manufacturer for details).

Step 1. Verify your client computer supports UEFI

Most OEM manufacturers are releasing UEFI capable computers nowadays but check the actual bios/computer specifications online first (or verify with the manufacturer) before attempting this. In my BIOS screenshots in this post I’m using a Dell Latitude E6320 with Bios version A05. This laptop is both Legacy Bios and UEFI capable. If your computer is not UEFI capable then you’ll have to get one that is (if you are lucky, a bios upgrade on your computer to the latest version may enable this functionality).

Step 2. Upgrade ConfigMgr to SP1

To deploy Windows 8 in Configuration Manager 2012, you’ll need to install the Windows Assessment and Deployment Kit and to upgrade ConfigMgr to Service Pack 1 which is currently in Community Technology Preview phase (CTP 1). See here for a link describing how to install both.Note: As a result this means you have to do this in your LAB as the CTP release is not supported in production.

Step 3. Add Operating System Image.

In your newly updated ConfigMgr console, click on the Software Library workspace, Operating System Deployment and select Operating System Images, right click and choose Add Operating System Image

Add-Operating-System-Image.png

When the wizard appears, browse to the path of the Windows 8 installation media, and select the Install.WIM file contained in the Sources folder of that media.


(This is ok, Windows will not get installed on D: like it used to)

install-WIM-file.png


continue through that wizard until completion.

image-added.png

Step 4. Distribute Content to your DP’s

Right-click your newly added Windows 8 WIM image and choose Distribute Content, select your dp’s and you are good to go

distribute-Windows-8-install-wim-image.p

complete the wizard.

dp-content-done.png

You can review content status to verify that your WIM image has reached your distribution points.

Step 5. Create a Deploy Task Sequence

In this post we will create a Deploy task sequence, in a future post I will explain how to do a Build and Capture task sequence and link it here.Right click on Task Sequences, and choose Create Task
Sequence,

Create-Task-Sequence.png

choose Install an existing image package

Install-an-existing-image-package.png

fill in some details about the task sequence including a descriptive name, make sure to select a X64 boot image (64 bit boot image).

new-task-sequence-name-and-64-bit-boot-i

Select our previously added Windows 8 RTM install.wim file and make sure that the format and partition step is selected, also type in your Windows Product Key (blanked below) and enter an administrator password.

 

Note: if you are using a previously captured Windows 8 WIM file which has more than one image index, make sure to select the image index that contains the Operating System otherwise you will not be given any UEFI options in the task sequence.

select-windows-image-and-partition-and-f

continue through the wizard until completion

.task-sequence-completed.png

Right click on your new task sequence, choose Edit, take note of the Partition Disk 0 – UEFI step, if it is not present, please review my Note above.

Partition-Disk-0-UEFI.png

Step 6. Deploy the Task Sequence

Right click our task sequence, select Deploy, choose a suitable collection, and make the task sequence available (optional). Note the new options on the Deployment Settings screen, select only media and PXE.

Only-media-and-PXE.png

complete the wizard.

deploy-software-wizard-completed.png

Note: Don’t deploy task sequence to All Systems in production, otherwise bad things can happen. Instead, use specifically created OSD collections and add resources that you want to Deploy to those collections.

 

This is a LAB so for the purposes of this post it’s ok.Step 7. Create Task Sequence Media (USB Flash Drive)In the ribbon select Create Task Sequence Media, select the first option (Standalone) and click next.

create-task-sequence-media.png

Note: If you select Allow unattended operating system deployment and do not set a password on your media you risk the chance of getting a system wiped and having it’s OS replaced if you leave the USB
flash drive plugged in.Select USB Flash Drive and point to your inserted USB key.


specify-media-type.png

Enter a security password if required then at the next screen select our Deploy Windows 8 X64 RTM – UEFI task sequence, wait until the referenced packages are listed in the box below.

stand-alone-cd-dvd-options.png

Add your distribution points and click through to completion

distribution-points-add.png

and now you can take a break while the USB Flash Drive get’s created..

Step 8. Change the bios to UEFI mode

On your UEFI capable computer, boot into the BIOS Setup screen and enable UEFI as the boot type. The screenshot below is from a Dell E6320 (the UEFI bios options look different on Lenovo but can enable the same functionality), select boot sequence, and then Boot List Option in the bios screen, by default Legacy is selected, choose UEFI from the list.

select-UEFI-1024x351.png

Save your settings and exit from the Bios. Now you are ready to boot to UEFI.

Step 9. Start the deployment

Boot the computer and press F12 to get a one-time-boot menu, notice the UEFI device is listed as UEFI: INT13(USB,0×80)

select-UEFI-boot.png

Select the UEFI device and press enter to start deploying, you’ll notice once the partitioning step starts that it is partitioning the disk for UEFI.

 

Note: if it states that it’s partitioning the disk for BIOS instead then you are not getting a UEFI deployment and you’ll need to press F8 and start reading the SMSTS.log file to find out why.

partition-disk-0-UEFI.png

During our UEFI deployment, if you examine the SMSTS.log file you should see a line that reads:-

 

The condition for the action (Partition Disk 0 – UEFI) is evaluated to be true

and that the read only variable _SMSTSBootUEFI is set to True.Once Windows has finished deploying you run can diskpart you’ll see it has created the UEFI partitions also.

partitions-1024x575.png

Step 10. Verification

In addition to checking your partition layout, you can open an administrative command prompt and type bcdedit /v to list the Windows Boot Manager (should be listed as EFI) and Windows boot Loader

should reference winload.efi.

bcdedit.png

And you can run msinfo32 to see BIOS Mode listed as UEFI (thanks Mattias)

msinfo.png

That’s it, job done, you are deploying Windows 8 systems with UEFI using Configuration Manager 2012. (you can deploy Windows 7 with UEFI in the same way with this guide)

Step 11. Further reading about UEFI.

The following links will give you some good information about UEFI.


Troubleshooting UEFI

  • if your USB key just flashes the LED when trying to boot to UEFI mode and your screen remains blank then verify that the Operating System you are trying to deploy matches the architecture of the boot image attached to that task sequence, for example, if you are Deploying Windows 7X64 in UEFI mode, the boot image must be X64 also
  • If you create task sequence media using the ISO option (CD/DVD) and then extract/copy that content to your USB flash memory then it will be missing certain required EFI files. Note that doing it this way is unsupported !.

cheers

niall

Share this post


Link to post
Share on other sites

from what i've heard most new devices that ship around the time of Windows 8 General Availability will have UEFI capability in the bios included, whether that includes UEFI network boot I'm not sure, but i've heard that at least some Dell models will have it, we just have to wait and see

Share this post


Link to post
Share on other sites

very cool indeed, once you get the hang of UEFI it's very straightforward, next you need to try UEFI and pre-provisioning of bitlocker together !

 

by the way the Dell E6430 has Network UEFI boot capability

Share this post


Link to post
Share on other sites

That´s really cool with the Dell ! I actually have that modell at my customer right now and they want to me to setup a POC for Windows 8, to bad SP1 is not out yeet. Im also going to try pre-provisioning next week when im back at the office. Exciting stuff indeed!

Share this post


Link to post
Share on other sites

Hello!

 

Having some trouble now when im trying to do this in the labb env at work.

 

This is how the smstslog looks like. (attached) , the problem is that the USB i boot from reserves the driver letter C?

 

It fails when i reach the "apply operating system image"

log.log

Share this post


Link to post
Share on other sites

I got it to work now, the only thing i changed was that i used my Windows 8 wim image from my build and capture,. When i tryed again i used the one from the org media and now it works...

 

Strange, any idea what could have caused this? :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...



×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.