anyweb 478 Posted August 24, 2012 Report post Posted August 24, 2012 Introduction To UEFIThe 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.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 UEFIMost 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 SP1To 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 ImageWhen 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) continue through that wizard until completion.Step 4. Distribute Content to your DP’sRight-click your newly added Windows 8 WIM image and choose Distribute Content, select your dp’s and you are good to gocomplete the wizard.You can review content status to verify that your WIM image has reached your distribution points.Step 5. Create a Deploy Task SequenceIn 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,choose Install an existing image packagefill in some details about the task sequence including a descriptive name, make sure to select a X64 boot image (64 bit boot image).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.continue through the wizard until completion.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.Step 6. Deploy the Task SequenceRight 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.complete the wizard.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.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 USBflash drive plugged in.Select USB Flash Drive and point to your inserted USB key.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.Add your distribution points and click through to completionand now you can take a break while the USB Flash Drive get’s created.. Step 8. Change the bios to UEFI modeOn 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.Save your settings and exit from the Bios. Now you are ready to boot to UEFI. Step 9. Start the deploymentBoot 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 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.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. Step 10. VerificationIn 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.And you can run msinfo32 to see BIOS Mode listed as UEFI (thanks Mattias)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. Introduction to UEFI Extensible Firmware Interface (EFI) and Unified EFI (UEFI) Windows and GPT FAQ Sample: Configure UEFI/GPT-Based Hard Drive Partitions by Using Windows Setup 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 !. cheersniall Quote Share this post Link to post Share on other sites
Oneone 12 Posted September 7, 2012 Report post Posted September 7, 2012 Good info indeed! Is there any talk about when we will be able to network boot UEFI devices? Quote Share this post Link to post Share on other sites
anyweb 478 Posted September 10, 2012 Report post Posted September 10, 2012 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 Quote Share this post Link to post Share on other sites
Oneone 12 Posted September 29, 2012 Report post Posted September 29, 2012 First UEFI deployment , looking good Uploaded with ImageShack.us Just to demostrate how good UEFI really is, i posted this clip when i boot my laptop and the boot times are amazing! Quote Share this post Link to post Share on other sites
anyweb 478 Posted September 30, 2012 Report post Posted September 30, 2012 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 Quote Share this post Link to post Share on other sites
Oneone 12 Posted October 1, 2012 Report post Posted October 1, 2012 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! Quote Share this post Link to post Share on other sites
Oneone 12 Posted October 11, 2012 Report post Posted October 11, 2012 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 Quote Share this post Link to post Share on other sites
anyweb 478 Posted October 12, 2012 Report post Posted October 12, 2012 hmm have you done anything different when creating this key ? this is also in SP1 beta ? Quote Share this post Link to post Share on other sites
Oneone 12 Posted October 16, 2012 Report post Posted October 16, 2012 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? Quote Share this post Link to post Share on other sites
anyweb 478 Posted October 16, 2012 Report post Posted October 16, 2012 check the image index, was it different between the two ? Quote Share this post Link to post Share on other sites
Oneone 12 Posted October 17, 2012 Report post Posted October 17, 2012 Yes the first two pictures is the wim from the build and capture. The second one is from the Windows 8 org media. Org media i only have 1 index. Quote Share this post Link to post Share on other sites
anyweb 478 Posted October 17, 2012 Report post Posted October 17, 2012 told ya ;-) to resolve you'll probably have to point out which one contains the WIM file, probably index 2. Quote Share this post Link to post Share on other sites
Oneone 12 Posted October 17, 2012 Report post Posted October 17, 2012 told ya ;-) to resolve you'll probably have to point out which one contains the WIM file, probably index 2. haha , but i did point to the 2nd img index in the step "apply operating system" during deployment of that wim... Well now im gonna try win 7 se if i can get that to work Edit, Windows 7 UEFI = Success! Quote Share this post Link to post Share on other sites
anyweb 478 Posted October 17, 2012 Report post Posted October 17, 2012 cool it's easy when you know how isn't it Quote Share this post Link to post Share on other sites
Oneone 12 Posted October 17, 2012 Report post Posted October 17, 2012 It sure is! going to try Server 2012 nex, i wish i had a newer modell to test with so i could boot from network and still use UEFI. Getting a mac client next week that is going to be intresting to se how easy (or hard) it will be to get the client on there Quote Share this post Link to post Share on other sites
Kingen 6 Posted October 17, 2012 Report post Posted October 17, 2012 It sure is! going to try Server 2012 nex, i wish i had a newer modell to test with so i could boot from network and still use UEFI. Getting a mac client next week that is going to be intresting to se how easy (or hard) it will be to get the client on there Hehe how do you bear with it, is it really that "fun", am i missing something, it goes a little bit faster to boot a computer with UEFI, and that's it? Are there any other benefits that i have missed? Quote Share this post Link to post Share on other sites
Oneone 12 Posted October 17, 2012 Report post Posted October 17, 2012 Hehe how do you bear with it, is it really that "fun", am i missing something, it goes a little bit faster to boot a computer with UEFI, and that's it? Are there any other benefits that i have missed? hehe there sure is, check out this link by MS http://assets.msleap365.com/content/lpguid/htmh/250ED933C4A146A4BC59BA835603DBEF.htm Check out the movie under Hardware "Delivering a secure and fast boot experience with UEFI" well the coolest thing atm i think if you have a SSD and running Windows 8 you can boot and be on the desktop in like 5 secs. Thats quite impressive Quote Share this post Link to post Share on other sites
o0JeZ0o 0 Posted January 31, 2013 Report post Posted January 31, 2013 This is all great info, but what if I need to deploy to a UEFI tablet with no legacy bios option, and my task sequence media to copy to USB stick is greater than 4gb? I can't seem to figure this out. I can create stand alone media >4GB and copy it to a bootable USB stick and get it to work fine for standard bios, but when it comes to a UEFI device i'm struggling to get it to recognise the USB stick. Can anyone point me in the right direction? Quote Share this post Link to post Share on other sites
anyweb 478 Posted January 31, 2013 Report post Posted January 31, 2013 it should work with greater than 4gb, the keys i used in the above were 8gb in size Quote Share this post Link to post Share on other sites
o0JeZ0o 0 Posted January 31, 2013 Report post Posted January 31, 2013 hmmm ok thanks for replying. Maybe it is just this one device that is the problem and not necessarily the usb stick, unfortunately I don't have another UEFI device to test with at this time... Quote Share this post Link to post Share on other sites
anyweb 478 Posted January 31, 2013 Report post Posted January 31, 2013 well what errors are you seeing ? is the device X86 or X64 ? Quote Share this post Link to post Share on other sites
Oneone 12 Posted January 31, 2013 Report post Posted January 31, 2013 This is all great info, but what if I need to deploy to a UEFI tablet with no legacy bios option, and my task sequence media to copy to USB stick is greater than 4gb? I can't seem to figure this out. I can create stand alone media >4GB and copy it to a bootable USB stick and get it to work fine for standard bios, but when it comes to a UEFI device i'm struggling to get it to recognise the USB stick. Can anyone point me in the right direction? Yes sir, the problem is that you cant boot UEFI unless you are using FAT32 on the USB stick, that is indeed a problem. But what you could do is to create a BOOT USB stick , just for booting and then connect to your CM server and install everything that works fine! So Format usb->FAT32 put the boot files on there and go! good luck. Quote Share this post Link to post Share on other sites
Peter33 47 Posted February 1, 2013 Report post Posted February 1, 2013 Yes sir, the problem is that you cant boot UEFI unless you are using FAT32 on the USB stick, that is indeed a problem. But what you could do is to create a BOOT USB stick , just for booting and then connect to your CM server and install everything that works fine! So Format usb->FAT32 put the boot files on there and go! good luck. Nice info, thank you very much. I hope the product team is aware of this problem and will add a new dialog option for UEFI boot sticks. Quote Share this post Link to post Share on other sites
Jonney 3 Posted March 8, 2013 Report post Posted March 8, 2013 I followed the steps in this guide and everything worked great. Has anybody tried to use the offline servicing feature with the Windows 8 wim file? When I attempt to image a workstation with the patched wim file I get an error message in the task sequence when windows attempts to start the first time. The message says the windows is unable to configure one of it's components. Has anybody been able to use scheduled updates with Windows 8? Quote Share this post Link to post Share on other sites
iconiu 0 Posted April 9, 2013 Report post Posted April 9, 2013 (edited) Disregard this post... I reverted to an older Hyper-V snapshot and accidentally installed the RTM version of System Center. I need details on how you are partitioning the hard drive. You have a note that says "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.". I have combed over this article at least three times looking for your note and I must have a visual block cause I don't see it. This is easy to do with diskpart but how do you make it do an EFI and MSR partition. Normally I'd expect them to be in the drop down list with Primary and Hidden. I've just done a fresh install of System Center 2012 with SP1 on a 2012 server using SQL 2012 with SP1. Edited April 9, 2013 by iconiu Quote Share this post Link to post Share on other sites