Practice Lab: Deploying Windows 11 using Microsoft Deployment Toolkit
Summary
In this lab, you will use the Microsoft Deployment Toolkit to create and deploy a Windows 11 operating system image.
Scenario
You need to deploy a new Windows 11 virtual machine named SEA-WS4. You decide to use Microsoft Deployment Toolkit to deploy the operating system to a virtual machine created in Hyper-V. You will configure a new Deployment Share in MDT and then configure the task sequence that will perform the steps to deploy SEA-WS4.
Task 1: Create a new Deployment Share
-
On SEA-SVR2, sign in as Contoso\Administrator with the password Pa55w.rd.
-
On the taskbar, select File Explorer and then browse to E:\Labfiles\ISOs.
-
Right-click Win11_21H2_Eval.iso and then select Mount. The ISO mounts as DVD Drive F.
-
Close File Explorer.
-
Select Start, expand Microsoft Deployment Toolkit, and then select Deployment Workbench.
-
In the Deployment Workbench, right-click Deployment Shares and then select New Deployment Share.
The New Deployment Share Wizard opens.
-
On the Path page, under Deployment share path, change the value to E:\DeploymentShare and then select Next.
-
On the Share page, take note of the Share name, but do not change it. Select Next.
-
On the Descriptive Name page, accept the default value and select Next.
-
On the Options page, configure the following, and then select Next:
-
Ask to set the local Administrator password: Enabled
-
All other check boxes: Disabled
-
-
On the Summary page, review the information and then select Next.
-
On the Confirmation page, ensure that the process completed successfully and then select Finish.
-
Under Deployment Shares, expand the MDT Deployment Share folder.
Take note of the various nodes that can be configured for the deployment share.
Task 2: Add Operating System files to the Deployment Share
-
In the Deployment Workbench, expand Deployment Shares, expand MDT Deployment Share, and then select Operating Systems.
-
Right-click Operating Systems and then select Import Operating System. The Import Operating System Wizard opens.
-
In the Import Operating System Wizard, on the OS Type page, select Full set of source files and then select Next.
-
On the Source page, under Source Directory, enter F:\ and then select Next.
-
On the Destination page, change the default destination directory name to Windows 11 Enterprise x64 and then select Next.
-
On the Summary page, review the information and then select Next.
The operating system source files are copied into the deployment share.
-
On the Confirmation page, ensure that the process completed successfully and then select Finish.
-
In the Deployment Workbench, with Operating Systems selected, verify that the operating system displays.
Task 3: Add Applications to the Deployment Share
-
In the Deployment Workbench, expand Deployment Shares, expand MDT Deployment Share, and then select Applications.
-
Right-click Applications and then select New Application. The New Application Wizard opens.
-
In the New Application Wizard, on the Application Type page, select Application with source files and then select Next.
-
On the Details page, configure the following, and then select Next:
- Publisher: Microsoft
- Application Name: XML Notepad
-
On the Source page, under Source directory, enter E:\Labfiles\Apps and then select Next.
-
On the Destination page, accept the default destination directory name and then select Next.
-
On the Command Details page, under Command line enter XmlNotepadSetup.msi /q and then select Next.
-
On the Summary page, review the information and then select Next.
-
On the Confirmation page, ensure that the process completed successfully and then select Finish.
Task 4: Create an MDT Task Sequence
-
In the Deployment Workbench, expand Deployment Shares, expand MDT Deployment Share, and then select Task Sequences.
-
Right-click Task Sequences and then select New Task Sequence. The New Task Sequence Wizard opens.
-
On the General Settings page, configure the following and then select Next:
- Task sequence ID: 001
- Task sequence name: Deploy Windows 11 Enterprise
-
On the Select Template page, select Standard Client Task Sequence, and then select Next.
-
On the Select OS page, select Windows 10 Enterprise Evaluation and then select Next.
-
On the Specify Product Key page, select Do not specify a product key at this time, and then select Next.
-
On the OS Settings page, configure the following and then select Next:
- Full Name: User
- Organization: Contoso Corporation
- Internet Explorer Home Page: about:blank
-
On the Admin Password page, select Use the specified local Administrator password, and then enter Pa55w.rd in both text boxes. Select Next.
-
On the Summary page, review the information and then select Next.
-
On the Confirmation page, ensure that the process completed successfully and then select Finish.
-
In the Deployment Workbench, with Task Sequences selected verify that the Deploy Windows 11 Enterprise task sequence displays.
-
Right-click the Deploy Windows 11 Enterprise task sequence, and then select Properties.
-
Select the Task Sequence tab.
-
Expand the Validation node and then select Validate.
-
On the Properties page, remove the check marks next to Ensure minimum memory and Ensure minimum processor speed.
Do not make any other changes.
-
On the Deploy Windows 11 Enterprise Properties window, select OK.
Task 5: Configure Deployment Share Properties and Windows PE settings
-
In the Deployment Workbench, expand Deployment Shares, and select MDT Deployment Share.
-
Right-click MDT Deployment Share and then select Properties.
-
In the MDT Deployment Share Properties window, on the General tab, take note of the information that was provided when the deployment share was created.
-
Select the Rules tab.
The Rules tab displays the content of the CustomSettings.ini file. These values were also provided during the creation of the deployment share.
-
Select the Windows PE tab.
The Windows PE tab provides options for creating a Windows PE boot disk.
-
On the Windows PE tab, next to Platform, select x64.
-
In the Windows PE Customizations section, next to Scratch space size, select 64.
-
Select the Features tab and then select the check box next to the following Feature Packs:
- DISM Cmdlets
- Windows PowerShell
- Microsoft Data Access Components (MDAC/ADO) support
-
Select the Monitoring tab.
-
On the Monitoring tab, select the check box next to Enable monitoring for this deployment share.
-
In the MDT Deployment Share Properties window, select OK.
-
Right-click MDT Deployment Share and then select Update Deployment Share. The Update Deployment Share Wizard opens.
-
On the Options page, select Optimize the boot image updating process and then select Next.
-
On the Summary page, select Next.
The Deployment Share starts to update and create the Windows PE files. This will take a few minutes to complete.
-
On the Confirmation page, ensure that the process completed successfully and then select Finish.
Task 6: Deploy Windows 11 Using MDT
-
On SEA-SVR2, on the taskbar, select Hyper-V Manager.
-
In Hyper-V Manager, select Virtual Switch Manager.
-
Select New virtual network switch and then in the details pane, select External. Select Create Virtual Switch.
-
In the Virtual Switch Properties page, under Name, enter External network, select OK, and then select Yes.
-
In Hyper-V Manager, select SEA-SVR2 and then in the Actions pane, select New and then select Virtual Machine.
-
On the Before you Begin page, select Next.
-
On the Specify Name and Location page, in the Name box type SEA-WS4.
-
Select the check box next to Store the virtual machine in a different location and then next to Location type E:\Labfiles\VirtualMachines. Select Next.
-
On the Specify Generation page, ensure that Generation 2 is selected and then select Next.
-
On the Assign Memory page, next to Startup memory type 8192 and then select Next.
-
On the Configure Networking page, next to Connection, select External Network and then select Next.
-
On the Connect Virtual Hard Disk page, select Create a virtual hard disk and enter the following and then click Next:
- Name: SEA-WS4.vhdx
- Location: E:\Labfiles\VirtualMachines
- Size: 60 GB
-
On the Installation Options page, select Install an operating system from a bootable image file and configure the following:
- Image file (.iso): E:\DeploymentShare\Boot\LiteTouchPE_x64.iso
-
Select Next and then Finish.
-
In Hyper-V Manager, right-click SEA-WS4, and then select Settings.
-
Select Security, and then select the check box next to Enable Trusted Platform Module.
-
Select Processor, and then change the number of virtual processors to 2.
-
Select OK to close the Settings dialog box.
-
In Hyper-V Manager, select SEA-WS4, select Connect, and then select Start.
-
As the computer starts press any key on the keyboard to invoke the MDT Deployment Wizard. Maximize the window as needed.
-
On the Welcome page, select Run the Deployment Wizard to install a new Operating System.
-
On the Specify credentials for connecting to network shares window, enter the following and then select OK:
- User Name: Administrator
- Password: Pa55w.rd
- Domain: Contoso
-
On the Task Sequence page, select Deploy Windows 11 Enterprise and then select Next.
-
On the Computer Details page, next to Computer name enter SEA-WS4 and then select Next.
-
On the Move Data and Settings page, select Next.
-
On the User Data (Restore) page, select Next.
-
On the Locale and Time page, select Next.
-
On the Applications page, select Next.
-
On the Administrator Password page, enter Pa55w.rd in both text boxes and then select Next.
-
On the Ready page, select Begin.
The installation begins. It will take 15-20 minutes to complete and will reboot SEA-WS4 during the installation as needed.
-
Switch to the Deployment Workbench.
-
In the Deployment Workbench, expand Deployment Shares, and expand MDT Deployment Share.
-
Select Monitoring and then in the details pane, double-click SEA-WS4.
Review the monitoring status during the deployment.
-
Switch to SEA-WS4.
-
After the installation is complete, the desktop will open and finalize the deployment. At the deployment summary, select Finish.
-
Shut down SEA-WS4 and close the Virtual Machine Connection window.
-
In Hyper-V Manager, right-click SEA-WS4 and then select Settings.
-
In the Settings for SEA-WS4, expand SCSI Controller and then select DVD Drive.
-
In the details pane, under Media, select None, and then select OK.
-
Right-click SEA-WS4 and then select Checkpoint to create a checkpoint of the current state of SEA-WS4.
-
On SEA-SVR2, close Hyper-V Manager and close the Deployment Workbench.
-
Open File Explorer, right-click DVD Drive F and then select Eject.
-
Close File Explorer and sign out of SEA-SVR2.
Results: After completing this exercise, you will have successfully used the Microsoft Deployment Toolkit to create and deploy a Windows 11 workstation.
END OF LAB