Windows 10 Deployment Task Sequence
Install Updates during (Windows 10) SCCM OSD Task Sequence System Center Configuration Manager (Current Branch) Configuration Manager (Current Branch) – Operating System Deployment. We have an existing task sequence to deploy 1803 and we would like to duplicate it and start testing deployment of 1903 to new systems. Once we have created a duplicate task sequence, what else do we need to do besides import a copy of 1903 wim file and point the new task sequence to the new operating system wim file in the 'Install Operating System' step of the deployment task? Deploy Windows 10 Using MDT and WDS, Part 2: Create an MDT Task Sequence and Configure WDS Create an MDT Task Sequence. A task sequence specifies a list of jobs are required to install. Configure WDS. Before completing the steps below, the WDS server must be configured. Add a Boot Image. Mar 24, 2016 In the third post of this blog series about Windows 10 Deployment using SCCM, we will show you how to create a SCCM Windows 10 Build and Capture Task Sequence and deploy it. Complete the preparation of your environment before reading this post. You will be able to edit this task sequence later to customize it to your environment. Windows 10 Deployment Create SCCM Windows 10 Build and Capture Task Sequence Benoit Lecours March 24, 2016 SCCM, WINDOWS 10 28 Comments In the third post of this blog series about Windows 10 Deployment using SCCM, we will show you how to create a SCCM Windows 10 Build and Capture Task Sequence and deploy it. On MDT01, using the Deployment Workbench, in the MDT Build Lab deployment share, select the Task Sequences node, and create a folder named Windows 10. Expand the Task Sequences node, right-click on the Windows 10 node, and select New Task Sequence. Upgrading Windows 10 (e.g. V1511 to v1607) is easy using the upgrade task sequence in SCCM. Unfortunately it is not as user friendly as we would like, most notably there is no warning to the user that an upgrade is about to take place (when you set the upgrade task sequence to required).
-->Applies to
- Windows 10
This topic will show you how to take your reference image for Windows 10, and deploy that image to your environment using the Microsoft Deployment Toolkit (MDT). You will prepare for this by creating a MDT deployment share that is used solely for image deployment. Separating the processes of creating reference images from the processes used to deploy them in production allows greater control of on both processes. You will then configure the deployment share, create a new task sequence, add applications, add drivers, add rules, and configure Active Directory permissions for deployment.
For the purposes of this topic, we will use three machines: DC01, MDT01, and PC0005. DC01 is a domain controller, MDT01 is a Windows Server 2012 R2 standard server, and PC0005 is a blank machine to which you deploy Windows 10. MDT01 and PC0005 are members of the domain contoso.com for the fictitious Contoso Corporation.
Figure 1. The machines used in this topic.
Note
For important details about the setup for the steps outlined in this article, please see Deploy Windows 10 with the Microsoft Deployment Toolkit.
Step 1: Configure Active Directory permissions
These steps will show you how to configure an Active Directory account with the permissions required to deploy a Windows 10 machine to the domain using MDT. These steps assume you have downloaded the sample Set-OUPermissions.ps1 script and copied it to C:SetupScripts on DC01. The account is used for Windows Preinstallation Environment (Windows PE) to connect to MDT01. In order for MDT to join machines into the contoso.com domain you need to create an account and configure permissions in Active Directory.
- On DC01, using Active Directory User and Computers, browse to contoso.com / Contoso / Service Accounts.
- Select the Service Accounts organizational unit (OU) and create the MDT_JD account using the following settings:
- Name: MDT_JD
- User logon name: MDT_JD
- Password: P@ssw0rd
- User must change password at next logon: Clear
- User cannot change password: Select
- Password never expires: Select
- In an elevated Windows PowerShell prompt (run as Administrator), run the following commands and press Enter after each command:
- The Set-OUPermissions.ps1 script allows the MDT_JD user account permissions to manage computer accounts in the Contoso / Computers OU. Below you find 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
- Scope: This object and all descendant objects
Step 2: Set up the MDT production deployment share
When you are ready to deploy Windows 10 in a production environment, you will first create a new MDT deployment share. You should not use the same deployment share that you used to create the reference image for a production deployment. For guidance on creating a custom Windows 10 image, seeCreate a Windows 10 reference image.
Create the MDT production deployment share
The steps for creating the deployment share for production are the same as when you created the deployment share for creating the custom reference image:
- On MDT01, log on as Administrator in the CONTOSO domain using a password of P@ssw0rd.
- Using the Deployment Workbench, right-click Deployment Shares and select New Deployment Share.
- On the Path page, in the Deployment share path text box, type E:MDTProduction and click Next.
- On the Share page, in the Share name text box, type MDTProduction$ and click Next.
- On the Descriptive Name page, in the Deployment share description text box, type MDT Production and click Next.
- On the Options page, accept the default settings and click Next twice, and then click Finish.
- Using File Explorer, verify that you can access the MDT01MDTProduction$ share.
Step 3: Add a custom image
The next step is to add a reference image into the deployment share with the setup files required to successfully deploy Windows 10. When adding a custom image, you still need to copy setup files (an option in the wizard) because Windows 10 stores additional components in the SourcesSxS folder which is outside the image and may be required when installing components.
Add the Windows 10 Enterprise x64 RTM custom image
In these steps, we assume that you have completed the steps in the Create a Windows 10 reference image topic, so you have a Windows 10 reference image in the E:MDTBuildLabCaptures folder on MDT01.
- Using the Deployment Workbench, expand the Deployment Shares node, and then expand MDT Production; select the Operating Systems node, and create a folder named Windows 10.
- Right-click the Windows 10 folder and select Import Operating System.
- On the OS Type page, select Custom image file and click Next.
- On the Image page, in the Source file text box, browse to E:MDTBuildLabCapturesREFW10X64-001.wim and click Next.
- On the Setup page, select the Copy Windows 7, Windows Server 2008 R2, or later setup files from the specified path option; in the Setup source directory text box, browse to E:MDTBuildLabOperating SystemsW10EX64RTM and click Next.
- On the Destination page, in the Destination directory name text box, type W10EX64RTM, click Next twice, and then click Finish.
- After adding the operating system, double-click the added operating system name in the Operating Systems / Windows 10 node and change the name to match the following: Windows 10 Enterprise x64 RTM Custom Image.
Note
The reason for adding the setup files has changed since earlier versions of MDT. MDT 2010 used the setup files to install Windows. MDT uses DISM to apply the image; however, you still need the setup files because some components in roles and features are stored outside the main image.
Figure 2. The imported operating system after renaming it.
Step 4: Add an application
When you configure your MDT Build Lab deployment share, you will also add any applications to the new deployment share before creating your task sequence. This section walks you through the process of adding an application to the MDT Production deployment share using Adobe Reader as an example.
Create the install: Adobe Reader XI x86
In this example, we assume that you have downloaded the Adobe Reader XI installation file (AdbeRdr11000_eu_ES.msi) to E:SetupAdobe Reader on MDT01.
- Using the Deployment Workbench, expand the MDT Production node and navigate to the Applications node.
- Right-click the Applications node, and create a new folder named Adobe.
- In the Applications node, right-click the Adobe folder and select New Application.
- On the Application Type page, select the Application with source files option and click Next.
- On the Details page, in the Application name text box, type Install - Adobe Reader XI - x86 and click Next.
- On the Source page, in the Source Directory text box, browse to E:SetupAdobe Reader XI and click Next.
- On the Destination page, in the Specify the name of the directory that should be created text box, type Install - Adobe Reader XI - x86 and click Next.
- On the Command Details page, in the Command Line text box, type msiexec /i AdbeRdr11000_eu_ES.msi /q, click Next twice, and then click Finish.
Figure 3. The Adobe Reader application added to the Deployment Workbench.
Step 5: Prepare the drivers repository
In order to deploy Windows 10 with MDT successfully, you need drivers for the boot images and for the actual operating system. This section will show you how to add drivers for the boot image and operating system, using the following hardware models as examples:
- Lenovo ThinkPad T420
- Dell Latitude E6440
- HP EliteBook 8560w
- Microsoft Surface ProFor boot images, you need to have storage and network drivers; for the operating system, you need to have the full suite of drivers.
Note
You should only add drivers to the Windows PE images if the default drivers don't work. Adding drivers that are not necessary will only make the boot image larger and potentially delay the download time.
Create the driver source structure in the file system
The key to successful management of drivers for MDT, as well as for any other deployment solution, is to have a really good driver repository. From this repository, you import drivers into MDT for deployment, but you should always maintain the repository for future use.
- On MDT01, using File Explorer, create the E:Drivers folder.
- In the E:Drivers folder, create the following folder structure:
- WinPE x86
- WinPE x64
- Windows 10 x64
- In the new Windows 10 x64 folder, create the following folder structure:
- Dell
- Latitude E6440
- HP
- HP EliteBook 8560w
- Lenovo
- ThinkPad T420 (4178)
- Microsoft Corporation
- Surface Pro 3
- Dell
Note
Even if you are not going to use both x86 and x64 boot images, we still recommend that you add the support structure for future use.
Create the logical driver structure in MDT
When you import drivers to the MDT driver repository, MDT creates a single instance folder structure based on driver class names. However, you can, and should, mimic the driver structure of your driver source repository in the Deployment Workbench. This is done by creating logical folders in the Deployment Workbench.
- On MDT01, using Deployment Workbench, select the Out-of-Box Drivers node.
- In the Out-Of-Box Drivers node, create the following folder structure:
- WinPE x86
- WinPE x64
- Windows 10 x64
- In the Windows 10 x64 folder, create the following folder structure:
- Dell Inc.
- Latitude E6440
- Hewlett-Packard
- HP EliteBook 8560w
- Lenovo
- 4178
- Microsoft Corporation
- Surface Pro 3
- Dell Inc.
The preceding folder names are selected because they match the actual make and model values that MDT reads from the machines during deployment. You can find out the model values for your machines via the following command in Windows PowerShell:
Or, you can use this command in a normal command prompt:
If you want a more standardized naming convention, try the ModelAliasExit.vbs script from the Deployment Guys blog post entitled Using and Extending Model Aliases for Hardware Specific Application Installation.
Figure 4. The Out-of-Box Drivers structure in Deployment Workbench.
Create the selection profiles for boot image drivers
By default, MDT adds any storage and network drivers that you import to the boot images. However, you should add only the drivers that are necessary to the boot image. You can control which drivers are added by using selection profiles.The drivers that are used for the boot images (Windows PE) are Windows 10 drivers. If you can’t locate Windows 10 drivers for your device, a Windows 7 or Windows 8.1 driver will most likely work, but Windows 10 drivers should be your first choice.
- On MDT01, using the Deployment Workbench, in the MDT Production node, expand the Advanced Configuration node, right-click the Selection Profiles node, and select New Selection Profile.
- In the New Selection Profile Wizard, create a selection profile with the following settings:
- Selection Profile name: WinPE x86
- Folders: Select the WinPE x86 folder in Out-of-Box Drivers.
- Again, right-click the Selection Profiles node, and select New Selection Profile.
- In the New Selection Profile Wizard, create a selection profile with the following settings:
- Selection Profile name: WinPE x64
- Folders: Select the WinPE x64 folder in Out-of-Box Drivers.
Figure 5. Creating the WinPE x64 selection profile.
Extract and import drivers for the x64 boot image
Deployment Workbench Windows 10 Task Sequence
Windows PE supports all the hardware models that we have, but here you learn to add boot image drivers to accommodate any new hardware that might require additional drivers. In this example, you add the latest Intel network drivers to the x64 boot image.In these steps, we assume you have downloaded PROWinx64.exe from Intel.com and saved it to a temporary folder.
- Extract PROWinx64.exe to a temporary folder - in this example to the C:TmpProWinx64 folder.
- Using File Explorer, create the E:DriversWinPE x64Intel PRO1000 folder.
- Copy the content of the C:TmpPROWinx64PRO1000Winx64NDIS64 folder to the E:DriversWinPE x64Intel PRO1000 folder.
- Using Deployment Workbench, expand the Out-of-Box Drivers node, right-click the WinPE x64 node, and select Import Drivers. Use the following setting for the Import Drivers Wizard:
- Driver source directory: E:DriversWinPE x64Intel PRO1000
Download, extract, and import drivers
For the ThinkPad T420
For the Lenovo T420 model, you use the Lenovo ThinkVantage Update Retriever software to download the drivers. With Update Retriever, you need to specify the correct Lenovo Machine Type for the actual hardware (the first four characters of the model name). As an example, the Lenovo T420 model has the 4178B9G model name, meaning the Machine Type is 4178.
To get the updates, you download the drivers from the Lenovo ThinkVantage Update Retriever using its export function. You can download the drivers from the Lenovo website.
In these steps, we assume you have downloaded and extracted the drivers using ThinkVantage Update Retriever v5.0 to the E:DriversLenovoThinkPad T420 (4178) folder.
- On MDT01, using the Deployment Workbench, in the MDT Production node, expand the Out-Of-Box Drivers node, and expand the Lenovo node.
- Right-click the 4178 folder and select Import Drivers; use the following setting for the Import Drivers Wizard:
- Driver source directory: E:DriversWindows 10 x64LenovoThinkPad T420 (4178)
For the Latitude E6440
For the Dell Latitude E6440 model, you use the Dell Driver CAB file, which is accessible via the Dell TechCenter website.
In these steps, we assume you have downloaded and extracted the CAB file for the Latitude E6440 model to the E:DriversDellLatitude E6440 folder.
- On MDT01, using the Deployment Workbench, in the MDT Production node, expand the Out-Of-Box Drivers node, and expand the Dell node.
- Right-click the Latitude E6440 folder and select Import Drivers; use the following setting for the Import Drivers Wizard:
- Driver source directory: E:DriversWindows 10 x64DellLatitude E6440
For the HP EliteBook 8560w
For the HP EliteBook 8560w, you use HP SoftPaq Download Manager to get the drivers. The HP SoftPaq Download Manager can be accessed on the HP Support site.
In these steps, we assume you have downloaded and extracted the drivers for the HP EliteBook 8650w model to the E:DriversWindows 10 x64HPHP EliteBook 8560w folder.
- On MDT01, using the Deployment Workbench, in the MDT Production node, expand the Out-Of-Box Drivers node, and expand the Hewlett-Packard node.
- Right-click the HP EliteBook 8560w folder and select Import Drivers; use the following setting for the Import Drivers Wizard:
- Driver source directory: E:DriversWindows 10 x64HPHP EliteBook 8560w
For the Microsoft Surface Pro 3
For the Microsoft Surface Pro model, you find the drivers on the Microsoft website. In these steps we assume you have downloaded and extracted the Surface Pro 3 drivers to the E:DriversWindows 10 x64MicrosoftSurface Pro 3 folder.
- On MDT01, using the Deployment Workbench, in the MDT Production node, expand the Out-Of-Box Drivers node, and expand the Microsoft node.
- Right-click the Surface Pro 3 folder and select Import Drivers; use the following setting for the Import Drivers Wizard:
- Driver source directory: E:DriversWindows 10 x64MicrosoftSurface Pro 3
Step 6: Create the deployment task sequence
This section will show you how to create the task sequence used to deploy your production Windows 10 reference image. You will then configure the tasks sequence to enable patching via a Windows Server Update Services (WSUS) server.
Create a task sequence for Windows 10 Enterprise
Using the Deployment Workbench, select Task Sequences in the MDT Production node, and create a folder named Windows 10.
Right-click the new Windows 10 folder and select New Task Sequence. Use the following settings for the New Task Sequence Wizard:
- Task sequence ID: W10-X64-001
- Task sequence name: Windows 10 Enterprise x64 RTM Custom Image
- Task sequence comments: Production Image
- Template: Standard Client Task Sequence
- Select OS: Windows 10 Enterprise x64 RTM Custom Image
- Specify Product Key: Do not specify a product key at this time
- Full Name: Contoso
- Organization: Contoso
- Internet Explorer home page: about:blank
- Admin Password: Do not specify an Administrator Password at this time
Edit the Windows 10 task sequence
Right-click the Windows 10 Enterprise x64 RTM Custom Image task sequence, and select Properties.
On the Task Sequence tab, configure the Windows 10 Enterprise x64 RTM Custom Image task sequence with the following settings:
Preinstall. After the Enable BitLocker (Offline) action, add a Set Task Sequence Variable action with the following settings:
- Name: Set DriverGroup001
- Task Sequence Variable: DriverGroup001
- Value: Windows 10 x64%Make%%Model%
Configure the Inject Drivers action with the following settings:
Choose a selection profile: Nothing
Install all drivers from the selection profile
Note
The configuration above indicates that MDT should only use drivers from the folder specified by the DriverGroup001 property, which is defined by the 'Choose a selection profile: Nothing' setting, and that MDT should not use plug and play to determine which drivers to copy, which is defined by the 'Install all drivers from the selection profile' setting.
State Restore. Enable the Windows Update (Pre-Application Installation) action.
State Restore. Enable the Windows Update (Post-Application Installation) action.
Click OK.
Figure 6. The task sequence for production deployment.
Step 7: Configure the MDT production deployment share
In this section, you will learn how to configure the MDT Build Lab deployment share with the rules required to create a simple and dynamic deployment process. This includes configuring commonly used rules and an explanation of how these rules work.
Configure the rules
On MDT01, using File Explorer, copy the following files from the D:SetupSample FilesMDT ProductionControl folder to E:MDTProductionControl. Overwrite the existing files.
- Bootstrap.ini
- CustomSettings.ini
Right-click the MDT Production deployment share and select Properties.
Select the Rules tab and modify using the following information:
Click Edit Bootstrap.ini and modify using the following information:
In the Windows PE tab, in the Platform drop-down list, make sure x86 is selected.
In the General sub tab, configure the following settings:
In the Lite Touch Boot Image Settings area:
- Image description: MDT Production x86
- ISO file name: MDT Production x86.iso
Note
Because you are going to use Pre-Boot Execution Environment (PXE) later to deploy the machines, you do not need the ISO file; however, we recommend creating ISO files because they are useful when troubleshooting deployments and for quick tests.
In the Drivers and Patches sub tab, select the WinPE x86 selection profile and select the Include all drivers from the selection profile option.
In the Windows PE tab, in the Platform drop-down list, select x64.
In the General sub tab, configure the following settings:
- In the Lite Touch Boot Image Settings area:
- Image description: MDT Production x64
- ISO file name: MDT Production x64.iso
- In the Lite Touch Boot Image Settings area:
In the Drivers and Patches sub tab, select the WinPE x64 selection profile and select the Include all drivers from the selection profile option.
In the Monitoring tab, select the Enable monitoring for this deployment share check box.
Click OK.
Note
It will take a while for the Deployment Workbench to create the monitoring database and web service.
Figure 7. The Windows PE tab for the x64 boot image.
The rules explained
The rules for the MDT Production deployment share are somewhat different from those for the MDT Build Lab deployment share. The biggest differences are that you deploy the machines into a domain instead of a workgroup and that you do not automate the logon.
Task Sequence Media
The Bootstrap.ini file
This is the MDT Production Bootstrap.ini without the user credentials (except domain information):
The CustomSettings.ini file
This is the CustomSettings.ini file with the new join domain information:
The additional properties to use in the MDT Production rules file are as follows:
- JoinDomain. The domain to join.
- DomainAdmin. The account to use when joining the machine to the domain.
- DomainAdminDomain. The domain for the join domain account.
- DomainAdminPassword. The password for the join domain account.
- MachineObjectOU. The organizational unit (OU) to which to add the computer account.
- ScanStateArgs. Arguments for the User State Migration Tool (USMT) ScanState command.
- USMTMigFiles(*). List of USMT templates (controlling what to backup and restore).
- EventService. Activates logging information to the MDT monitoring web service.
Optional deployment share configuration
If your organization has a Microsoft Software Assurance agreement, you also can subscribe to the additional Microsoft Desktop Optimization Package (MDOP) license (at an additional cost). Included in MDOP is Microsoft Diagnostics and Recovery Toolkit (DaRT), which contains tools that can help youtroubleshoot MDT deployments, as well as troubleshoot Windows itself.
Add DaRT 10 to the boot images
If you have licensing for MDOP and DaRT, you can add DaRT to the boot images using the steps in this section. If you do not have DaRT licensing, or don't want to use it, simply skip to the next section, Update the Deployment Share. To enable the remote connection feature in MDT, you need to do the following:
Install DaRT 10 (part of MDOP 2015 R1).
Copy the two tools CAB files (Toolsx86.cab and Toolsx64.cab) to the deployment share.
Configure the deployment share to add DaRT.In these steps, we assume that you downloaded MDOP 2015 R1 and copied DaRT 10 to the E:SetupDaRT 10 folder on MDT01.
On MDT01, install DaRT 10 (MSDaRT10.msi) using the default settings.
Using File Explorer, navigate to the C:Program FilesMicrosoft DaRTv10 folder.
Copy the Toolsx64.cab file to E:MDTProductionToolsx64.
Copy the Toolsx86.cab file to E:MDTProductionToolsx86.
Using the Deployment Workbench, right-click the MDT Production deployment share and select Properties.
In the Windows PE tab, in the Platform drop-down list, make sure x86 is selected.
In the Features sub tab, select the Microsoft Diagnostics and Recovery Toolkit (DaRT) check box.
Figure 8. Selecting the DaRT 10 feature in the deployment share.
- In the Windows PE tab, in the Platform drop-down list, select x64.
- In the Features sub tab, in addition to the default selected feature pack, select the Microsoft Diagnostics and Recovery Toolkit (DaRT) check box.
- Click OK.
Update the deployment share
Like the MDT Build Lab deployment share, the MDT Production deployment share needs to be updated after it has been configured. This is the process during which the Windows PE boot images are created.
Install intel hd graphics driver ubuntu 16.04. Be subscribe QUEEK SUPGet me on Google plusLike out facebook page:-DONT NEED TO DOWNLOAD THE FILES ALL THE COMMANDS WHICH IS SHOWN IN VIDEO IS GIVEN BELOW:-Command 1: sudo apt-get install xserver-xorg-video-intelCommand 2: sudo apt-get install mesa-utilsCommand 3: sudo apt-get install apt-add-repository ppa:glasen/intel-driverCommand 4: sudo apt-get install -install-recommends linux-generic-lts-quantal xserver-xorg-lts-quantal libgl1-mesa-glx-lts-quantalplease like my video and subscribe me.
- Right-click the MDT Production deployment share and select Update Deployment Share.
- Use the default options for the Update Deployment Share Wizard.
Step 8: Deploy the Windows 10 client image
These steps will walk you through the process of using task sequences to deploy Windows 10 images through a fully automated process. First, you need to add the boot image to Windows Deployment Services (WDS) and then start the deployment. In contrast with deploying images from the MDT Build Lab deployment share, we recommend using the Pre-Installation Execution Environment (PXE) to start the full deployments in the datacenter, even though you technically can use an ISO/CD or USB to start the process.
Configure Windows Deployment Services
You need to add the MDT Production Lite Touch x64 Boot image to WDS in preparation for the deployment. For the following steps, we assume that Windows Deployment Services has already been installed on MDT01.
- Using the WDS console, right-click Boot Images and select Add Boot Image.
- Browse to the E:MDTProductionBootLiteTouchPE_x64.wim file and add the image with the default settings.
Figure 9. The boot image added to the WDS console.
Deploy the Windows 10 client
At this point, you should have a solution ready for deploying the Windows 10 client. We recommend starting by trying a few deployments at a time until you are confident that your configuration works as expected. We find it useful to try some initial tests on virtual machines before testing on physical hardware. This helps rule out hardware issues when testing or troubleshooting. Here are the steps to deploy your Windows 10 image to a virtual machine:
Create a virtual machine with the following settings:
- Name: PC0005
- Location: C:VMs
- Generation: 2
- Memory: 2048 MB
- Hard disk: 60 GB (dynamic disk)
Start the PC0005 virtual machine, and press Enter to start the PXE boot. The machine will now load the Windows PE boot image from the WDS server.
Figure 10. The initial PXE boot process of PC0005.
After Windows PE has booted, complete the Windows Deployment Wizard using the following setting:
- Password: P@ssw0rd
- Select a task sequence to execute on this computer: Windows 10 Enterprise x64 RTM Custom Image
- Computer Name: PC0005
- Applications: Select the Install - Adobe Reader XI - x86 application.
The setup now starts and does the following:
- Installs the Windows 10 Enterprise operating system.
- Installs the added application.
- Updates the operating system via your local Windows Server Update Services (WSUS) server.
Use the MDT monitoring feature
Now that you have enabled the monitoring on the MDT Production deployment share, you can follow your deployment of PC0005 via the monitoring node.
- On MDT01, using Deployment Workbench, expand the MDT Production deployment share folder.
- Select the Monitoring node, and wait until you see PC0005.
- Double-click PC0005, and review the information.
Figure 11. The Monitoring node, showing the deployment progress of PC0005.
Use information in the Event Viewer
When monitoring is enabled, MDT also writes information to the event viewer on MDT01. This information can be used to trigger notifications via scheduled tasks when deployment is completed. For example, you can configure scheduled tasks to send an email when a certain event is created in the event log.
Figure 12. The Event Viewer showing a successful deployment of PC0005.
Multicast deployments
Multicast deployment allows for image deployment with reduced network load during simultaneous deployments. Multicast is a useful operating system deployment feature in MDT deployments, however it is important to ensure that your network supports it and is designed for it.
Requirements
Multicast requires that Windows Deployment Services (WDS) is running on Windows Server 2008 or later. In addition to the core MDT setup for multicast, the network needs to be configured to support multicast. In general, this means involving the organization networking team to make sure thatInternet Group Management Protocol (IGMP) snooping is turned on and that the network is designed for multicast traffic. The multicast solution uses IGMPv3.
Set up MDT for multicast
Setting up MDT for multicast is straightforward. You enable multicast on the deployment share, and MDT takes care of the rest.
- On MDT01, right-click the MDT Production deployment share folder and select Properties.
- In the General tab, select the Enable multicast for this deployment share (requires Windows Server 2008 R2 Windows Deployment Services) check box, and click OK.
- Right-click the MDT Production deployment share folder and select Update Deployment Share.
- After updating the deployment share, use the Windows Deployment Services console to, verify that the multicast namespace was created.
Figure 13. The newly created multicast namespace.
Use offline media to deploy Windows 10
In addition to network-based deployments, MDT supports the use of offline media-based deployments of Windows 10. You can very easily generate an offline version of your deployment share - either the full deployment share or a subset of it - by the use of selection profiles. The generated offline media can be burned to a DVD or copied to a USB stick for deployment.
Offline media are useful not only when you do not have network connectivity to the deployment share, but also when you have limited connection to the deployment share and do not want to copy 5 GB of data over the wire. Offline media can still join the domain, but you save the transfer of operating system images, drivers, and applications over the wire.
Create the offline media selection profile
To filter what is being added to the media, you create a selection profile. When creating selection profiles, you quickly realize the benefits of having created a good logical folder structure in the Deployment Workbench.
- On MDT01, using Deployment Workbench, in the MDT Production / Advanced Configuration node, right-click Selection Profile, and select New Selection Profile.
- Use the following settings for the New Selection Profile Wizard:
- General Settings
- Selection profile name: Windows 10 Offline Media
- Folders
- Applications / Adobe
- Operating Systems / Windows 10
- Out-Of-Box Drivers / WinPE x64
- Out-Of-Box Drivers / Windows 10 x64
- Task Sequences / Windows 10
- General Settings
Create the offline media
In these steps, you generate offline media from the MDT Production deployment share. To filter what is being added to the media, you use the previously created selection profile.
On MDT01, using File Explorer, create the E:MDTOfflineMedia folder.
Note
When creating offline media, you need to create the target folder first. It is crucial that you do not create a subfolder inside the deployment share folder because it will break the offline media.
Using Deployment Workbench, in the MDT Production / Advanced Configuration node, right-click the Media node, and select New Media.
Use the following settings for the New Media Wizard:
- General Settings
- Media path: E:MDTOfflineMedia
- Selection profile: Windows 10 Offline Media
- General Settings
Configure the offline media
Offline media has its own rules, its own Bootstrap.ini and CustomSettings.ini files. These files are stored in the Control folder of the offline media; they also can be accessed via properties of the offline media in the Deployment Workbench.
- On MDT01, using File Explorer, copy the CustomSettings.ini file from the E:MDTProductionControl folder to E:MDTOfflineMediaContentDeployControl. Overwrite the existing files.
- Using Deployment Workbench, in the MDT Production / Advanced Configuration / Media node, right-click the MEDIA001 media, and select Properties.
- In the General tab, configure the following:
- Clear the Generate x86 boot image check box.
- ISO file name: Windows 10 Offline Media.iso
- Still in the Windows PE tab, in the Platform drop-down list, select x64.
- In the General sub tab, configure the following settings:
- In the Lite Touch Boot Image Settings area:
- Image description: MDT Production x64
- In the Windows PE Customizations area, set the Scratch space size to 128.
- In the Lite Touch Boot Image Settings area:
- In the Drivers and Patches sub tab, select the WinPE x64 selection profile and select the Include all drivers from the selection profile option.
- Click OK.
Generate the offline media
You have now configured the offline media deployment share however the share has not yet been populated with the files required for deployment. Now everything is ready you populate the deployment share content folder and generate the offline media ISO.
- On MDT01, using Deployment Workbench, navigate to the MDT Production / Advanced Configuration / Media node.
- Right-click the MEDIA001 media, and select Update Media Content. The Update Media Content process now generates the offline media in the E:MDTOfflineMediaContent folder.
Create a bootable USB stick
The ISO that you got when updating the offline media item can be burned to a DVD and used directly (it will be bootable), but it is often more efficient to use USB sticks instead since they are faster and can hold more data. (A dual-layer DVD is limited to 8.5 GB.)Follow these steps to create a bootable USB stick from the offline media content:
- On a physical machine running Windows 7 or later, insert the USB stick you want to use.
- Copy the content of the MDTOfflineMediaContent folder to the root of the USB stick.
- Start an elevated command prompt (run as Administrator), and start the Diskpart utility by typing Diskpart and pressing Enter.
- In the Diskpart utility, you can type list volume (or the shorter list vol) to list the volumes, but you really only need to remember the drive letter of the USB stick to which you copied the content. In our example, the USB stick had the drive letter F.
- In the Diskpart utility, type select volume F (replace F with your USB stick drive letter).
- In the Diskpart utility, type active, and then type exit.
Unified Extensible Firmware Interface (UEFI)-based deployments
As referenced in Windows 10 deployment tools, Unified Extensible Firmware Interface (UEFI)-based deployments are becoming more common. In fact, when you create a generation 2 virtual machine in Hyper-V, you get a UEFI-based computer. During deployment, MDT automatically detects that you have an UEFI-based machine and creates the partitions UEFI requires. You do not need to update or change your task sequences in any way to accommodate UEFI.
Figure 14. The partitions when deploying an UEFI-based machine.