Deploy Windows 8.1 with ConfigMgr 2012 R2
Now that Microsoft has released Windows 8.1 and ConfigMgr 2012 R2, lets look at how we can deploy Windows 8.1. In this post we’ll not be integrating with MDT, instead it will be a native ConfigMgr OSD scenario. Keep in mind though that integrating MDT with ConfigMgr gives you lots of great functionality, so I highly recommend it if you havn’t done so already. In this post we’ll more specifically concentrate on Windows 8.1 Enterprise x64.
- Create a Reference image
- Import the Reference image
- Create a Task Sequence
- Deploy Windows 8.1
In order to deploy Windows 8.1 with ConfigMgr you need to have upgraded your hierarchy (or stand alone Primary Site) to ConfigMgr 2012 R2. If you havn’t upgraded your ConfigMgr hierarchy to R2 yet, take a look at this upgrade guide. If you’re not able for some reason to upgrade just yet, install the Cumulative Update 3 for ConfigMgr 2012 SP1. You can then deploy Windows 8.1 but that’s about it. You’ll also need to import a WinPE 5.0 boot image. Take a look at MVP Niall Brady’s excellent blog post about creating a WinPE 5.0 boot image for ConfigMgr 2012 SP1 CU3.
Create a Reference image
I’ve previously create a post on how you can use MDT 2013 to create a Windows 8.1 Reference image. The process of creating the Reference image can be found here:
Import the Reference image
When you have created the Reference image, we need to import into ConfigMgr 2012 R2. First off we need to copy the WIM file to our Content Library. I’ve created the following folder structure in my Content Library for storing Reference images: \\CM01\ContentLibrary$\OSD\ReferenceImages
1. Copy the Reference image to your Content Library.
2. Open the ConfigMgr console and go to Software Library -> Operating Systems.
3. Right click on Operating System Images and choose Add Operating System Image.
4. Enter the path to the WIM file you copied to the Content Library. Click Next.
5. Enter the following in the specified fields and click Next afterwards:
- Name: Windows 8.1 Enterprise x64
- Version: 1.0
- Comment: Windows 8.1 Enterprise x64 reference image created with MDT 2013
6. On the Summary page, click Next.
7. On the Completion page, click Close.
8. Right click on the newly imported image and select Distribute Content.
9. Complete the Distribution Content wizard.
Create a Task Sequence
1. In the ConfigMgr console, go to Software Library -> Operating Systems.
2. Right click on Task Sequences and select Create Task Sequence.
3. Select Install an existing image package and click Next.
4. In the Task sequence name field, enter Windows 8.1 Enterprise x64 – Install. Click on the Browse button and select the boot image called Boot image (x64) 6.3.9600.16384 (that’s the default name when running ConfigMgr 2012 R2). At this point if you havn’t upgraded to R2 yet, select your custom WinPE 5.0 boot image created by following the guide mentioned above in the prerequisite step. If you’re deploying Windows 8.1 Enterprise x64 to an UEFI enabled system, remember that the boot image you select needs to be of the same architecture as the Reference image and the CPU. Basically you can only use the x64 boot image to deploy Windows 8.1 Enterprise x64 to a x64 UEFI enabled system. Click Next when you’ve selected the appropriate boot image.
5. Click Browse next to the Image package field, and select the Windows 8.1 Enterprise x64 1.0 en-US image package. Determine if you’d like to configure the task sequence for use with BitLocker. It’s recommended that you do. Do not specify any Product key and let ConfigMgr Randomly generate the local administrator password. Click Next.
6. On the Configure Network page, select Join a domain and specify the domain settings. Click on Browse next to the Domain field to specify your domain. Click on the Browse button for specifying the Domain OU (this is where the computer object in Active Directory will be created, once the system that is being deployed with Windows 8.1 is joined to the domain). Specify an account for joining the system to the domain. It’s recommended to use a service account for this action. The service account should only have permissions to Read and Create Computer Objects in the OU you specified earlier. In this post I’ll be using the CONTOSO\administrator just for demoing purposes. Click Next.
7. On the Install Configuration Manager page, make sure that the Package field is propagated with Configuration Manager Client Package. In the Installation properties field, you can configure the ConfigMgr client installation properties. You can find all the properties available here (scroll down to Client.msi Properties). I’d recommend to change the SMSCACHESIZE from its default of 5120 MB to 10240 MB. Enter SMSCACHESIZE=10240 in the Installation properties field and click Next.
8. On the State Migration page, remove the check mark from Capture user settings and files, Capture network settings and Capture Microsoft Windows settings. Click Next.
9. On the Include Updates page, select All software updates and click Next.
10. On the Install Applications page, select the applications you wish to add to your deployment of Windows 8.1 Enterprise. In this post I’ll not be adding any applications. Click Next when you’ve added the applications.
11. Click Next on the Summary page.
12. Click Close on the Completion page.
If you now edit the task sequence, it should look like this:
Since we choose to enable BitLocker, it’s necessary to configure the Enable BitLocker step in the task sequence. Right click on the newly created Windows 8.1 Enterprise x64 – Install task sequence and choose Edit. Select the Enable BitLocker step and configure it for your environment. If you wish to store the BitLocker recovery keys in Active Directory, it’s necessary to configure ADDS prior to that. See this article on how to accomplish that.
Deploy Windows 8.1
In this part of the post, we’ll deploy the Windows 8.1 task sequence so that you can execute it when booting a system from PXE. This requires that your Distribution Point(s) has been configured for PXE.
1. Right click on the Windows 8.1 Enterprise x64 – Install task sequence and choose Deploy.
2. In the Collection field, browse for the All Unknown Computers selection and click Next.
3. Make sure that the Purpose selection is Available and that the Make available to the following selection is Only media and PXE. Click Next.
4. Leave the defaults on the Scheduling page and click Next.
5. Leave the defaults on the User Experience page and click Next.
6. Click Next on the Alerts page.
7. Click Next on the Distribution Points page.
8. Click Next on the Summary page.
9. Click Close on the Completion page.
We’re now ready to start a up a system and boot from PXE. When WinPE has loaded and the Task Sequence Wizard has opened, click Next. Select the Windows 8.1 Enterprise x64 – Install task sequence and click Next.
The task sequence will now start to deploy Windows 8.1 Enterprise x64 to your system.
Once the deployment is complete, users can now log on to the system. And you’re done!
Optional related articles
Prompt for Computer Name during OSD – This post describes how you can leverage the PowerShell feature of Windows PE 4.0 to prompt for Computer Name during OSD.
Automate Computer Name during OSD – If you’re looking for automating the Computer Name during OSD, check out this post.
Modify the Windows 8.1 Start screen during OSD – This post covers the steps needed in order to modify the Start screen and apply it to the default user profile.
Principal Consultant and Enterprise Mobility MVP since 2016. Nickolaj has been in the IT industry for the past 10 years specializing in Enterprise Mobility and Security, Windows devices and deployments including automation. Currently working for TrueSec as a Principal Consultant. Awarded as PowerShell Hero in 2015 by the community for his script and tools contributions. Creator of ConfigMgr Prerequisites Tool, ConfigMgr OSD FrontEnd, ConfigMgr WebService to name a few. Frequent speaker at conferences and user groups.