Prepare for Zero Touch Installation of Windows 8.1 with Configuration Manager
Applies To: Windows 8.1
This topic will walk you through the process of integrating Microsoft System Center 2012 R2 Configuration Manager with Microsoft Deployment Toolkit (MDT) 2013, as well as the other preparations needed to deploying Windows 8.1 via Zero Touch Installation.
In this topic
Create the Configuration Manager service accounts
Configure Active Directory permissions
Review the Sources folder structure
Integrate Configuration Manager with MDT 2013
Create a new Configuration Manager client package (optional)
Configure the client settings
Configure the Network Access account
Enable PXE on the CM01 distribution point
Additional preparations include the installation of hotfixes as well as activities that speed up the Pre-Boot Execution Environment (PXE).
See also
Create a Custom Windows PE 5.0 Boot Image with Configuration Manager
Add a Windows 8.1 Operating System Image Using Configuration Manager
Create an Application to Deploy with Windows 8.1 Using Configuration Manager
Add Drivers to a Windows 8.1 Deployment with Windows PE Using Configuration Manager
Finalize the Operating System Configuration for Windows 8.1 Deployment with Configuration Manager
Monitor the Windows 8.1 Deployment with Configuration Manager
Refresh a Windows 7 SP1 Client with Windows 8.1 Using Configuration Manager
Replace a Windows 7 SP1 Client with Windows 8.1 Using Configuration Manager
Prerequisites
In this topic, you will use an existing Configuration Manager server structure to prepare for operating system deployment. In addition to the base setup, the following configurations should be made in the Configuration Manager environment:
Active Directory Schema has been extended and System Management container created.
Active Directory Forest Discovery and Active Directory System Discovery have been enabled.
IP range boundaries and a boundary group for content and site assignment have been created.
The Configuration Manager reporting services point role has been added and configured
A file system folder structure for packages has been created.
A Configuration Manager console folder structure for packages has been created.
The KB2910552 hotfix has been installed.
For the purposes of this topic, we will use two machines: DC01 and CM01. DC01 is a domain controller and CM01 is a machine running Windows Server 2012 R2 Standard. DC01 and CM01 are both members of the domain contoso.com for the fictitious Contoso Corporation. For more details on the setup for this topic, please see Proof-Of-Concept Environment.
Create the Configuration Manager service accounts
To configure permissions for the various service accounts needed for operating system deployment in Configuration Manager, you use a role-based model. To create the Configuration Manager Join Domain account as well as the Configuration Manager Network Access account, follow these steps:
On DC01, using Active Directory User and Computers, browse to contoso.com / Contoso / Service Accounts.
Select the Service Accounts OU and create the CM_JD account using the following settings:
Name: CM_JD
User logon name: CM_JD
Password: P@ssw0rd
User must change password at next logon: Clear
User cannot change password: Select
Password never expires: Select
Repeat the step, but for the CM_NAA account.
After creating the accounts, assign the following descriptions:
CM_JD: Configuration Manager Join Domain Account
CM_NAA: Configuration Manager Network Access Account
Figure 6. The Configuration Manager service accounts used for operating system deployment.
Configure Active Directory permissions
In order for the Configuration Manager Join Domain Account (CM_JD) to join machines into the contoso.com domain you need to configure permissions in Active Directory. These steps assume you have downloaded the sample Set-OUPermissions.ps1 script and copied it to C:\Setup\Scripts on DC01.
On DC01, log on as Administrator in the CONTOSO domain using the password P@ssw0rd.
In an elevated Windows PowerShell prompt (run as Administrator), run the following commands, pressing Enter after each command:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned –Force Set-Location C:\Setup\Scripts .\Set-OUPermissions.ps1 -Account CM_JD -TargetOU "OU=Workstations,OU=Computers,OU=Contoso"
The Set-OUPermissions.ps1 script allows the CM_JD user account permissions to manage computer accounts in the Contoso / Computers / Workstations OU. The following is a list of the permissions being granted:
Scope: This object and all descendant objects
Create Computer objects
Delete Computer objects
Scope: Descendant Computer objects
Read All Properties
Write All Properties
Read Permissions
Modify Permissions
Change Password
Reset Password
Validated write to DNS host name
Validated write to service principal name
Review the Sources folder structure
To support the packages you create in this section, the following folder structure should be created on the Configuration Manager primary site server (CM01):
Note
In most production environments, the packages are stored on a Distributed File System (DFS) share or a “normal” server share, but in a lab environment you can store them on the site server.
E:\Sources
E:\Sources\OSD
E:\Sources\OSD\Boot
E:\Sources\OSD\DriverPackages
E:\Sources\OSD\DriverSources
E:\Sources\OSD\MDT
E:\Sources\OSD\OS
E:\Sources\OSD\Settings
E:\Sources\Software
E:\Sources\Software\Adobe
E:\Sources\Software\Microsoft
Figure 7. The E:\Sources\OSD folder structure.
Integrate Configuration Manager with MDT 2013
To extend the Configuration Manager console with MDT 2013 wizards and templates, you install MDT 2013 in the default location and run the integration setup. In these steps, we assume you have downloaded MDT 2013 to the C:\Setup\MDT2013 folder on CM01.
On CM01, log on as Administrator in the CONTOSO domain using the password P@ssw0rd.
Make sure the Configuration Manager Console is closed before continuing.
Using File Explorer, navigate to the C:\Setup\MDT 2013 folder.
Run the MDT 2013 setup (MicrosoftDeploymentToolkit2013_x64.msi), and use the default options in the setup wizard.
From the Start screen, run Configure ConfigManager Integration with the following settings:
Site Server Name: CM01.contoso.com
Site code: PS1
Figure 8. Set up the MDT 2013 integration with Configuration Manager.
Create a new Configuration Manager client package (optional)
Creating a new client package is not required for operating system deployment with Configuration Manager, but it can be useful, for example, when testing new client updates without changing existing packages. In this section, you create a new Configuration Manager client package that includes the client hotfixes from KB2910552.
On CM01, in the E:\Sources folder, create a subfolder named ConfigMgr Client with Hotfixes.
Using File Explorer, copy the contents of E:\Program Files\Microsoft Configuration Manager\Client to the newly created folder (E:\Sources\ConfigMgr Client with Hotfixes).
In E:\Sources\ConfigMgr Client with Hotfixes, create a folder named Hotfix.
Figure 9. The folder for the Configuration Manager client with hotfixes package.
Using File Explorer, navigate to the E:\Program Files\Microsoft Configuration Manager\hotfix\KB2910552\Client folder and copy the i386 and x64 subfolders to E:\Sources\ConfigMgr Client with Hotfixes\Hotfix.
Using the Configuration Manager Console in the Software Library workspace in the Application Management / Packages node, create a new package with the following settings:
Name: Configuration Manager Client with Hotfixes
Source folder: \\CM01\Sources$\Configuration Manager Client with Hotfixes
Select Do not create a program
Make a note of the new package ID. In this example, it is PS10000A.
Distribute the new ConfigMgr Client with Hotfixes package to the CM01 distribution point.
Move the ConfigMgr Client with Hotfixes package to the OSD folder in the console.
Configure the client settings
Most organizations want to display their name during deployment. In this section, you configure the default Configuration Manager client settings with the Contoso organization name.
On CM01, using the Configuration Manager Console, in the Administration workspace, select Client Settings.
In the right pane, right-click Default Client Settings, and select Properties.
In the Computer Agent node, in the Organization name displayed in Software Center text box, type in Contoso and click OK.
Figure 10. Configuring the organization name in client settings.
Figure 11. The Contoso organization name being displayed during deployment.
Configure the Network Access account
Configuration Manager uses the Network Access account during the Windows 8.1 deployment process to access content on the distribution point(s). In this section, you configure the Network Access account.
Using the Configuration Manager Console, in the Administration workspace, expand Site Configuration and select Sites.
Right-click PS1 – Primary Site 1, select Configure Site Components, and then select Software Distribution.
In the Network Access Account tab, configure the CONTOSO\CM_NAA user account (select New Account) as the Network Access account. Use the new Verify option to verify that the account can connect to the \\DC01\sysvol network share.
Figure 12. Testing the connection for the Network Access account.
Enable PXE on the CM01 distribution point
Configuration Manager has many options for starting a deployment, but starting via PXE is certainly the most flexible in a large environment. In this section, you enable PXE on the CM01 distribution point.
- Using File Explorer, verify that the KB2910552 hotfix is installed by navigating to the E:\Program Files\Microsoft Configuration Manager\Hotfix folder and looking for a folder named KB2910552.
Note
The KB 2910552 hotfix is required to enable PXE on distribution points that are running on the Configuration Manager primary site server.
In the Configuration Manager Console, in the Administration workspace, select Distribution Points.
Right-click the \\CM01.CONTOSO.COM distribution point and select Properties.
In the PXE tab, select the following settings:
Enable PXE support for clients
Allow this distribution point to respond to incoming PXE requests
Enable unknown computer support
Require a password when computers use PXE
Password and Confirm password: Passw0rd!
Figure 13. Configuring the CM01 distribution point for PXE.
Using the Configuration Manager Trace Log Tool, review the E:\Program Files\Microsoft Configuration Manager\Logs\distmgr.log file. Look for ConfigurePXE and CcmInstallPXE lines.
Figure 14. The distmgr.log showing a success configuration of PXE on the distribution point.
Verify that you have seven files in each of the folders E:\RemoteInstall\SMSBoot\x86 and E:\RemoteInstall\SMSBoot\x64.
Figure 15. The content of the E:\RemoteInstall\SMSBoot\x64 folder after enabling PXE.