The Microsoft Deployment Toolkit (MDT) has long been a popular free deployment solution that allows companies to deploy image-based installations of Windows. After Windows 11 is released, many companies may want to update their images to provide the latest version of the operating system.
Contents
- Steps to deploy Windows 11 with MDT
- Import Windows 11 operating system
- Create a new task sequence to deploy Windows 11
- Build and capture the image using the task sequence
- Deploy the Windows 11 image to a target computer
- Closing remarks
- Author
- recent posts
Brandon Lee
Brandon Lee has been in the IT industry for over 15 years with a focus on networking and virtualization. He contributes to the community through various blog posts and technical documentation, mainly atVirtualisierunghowto.com.
Latest posts by Brandon Lee(See everything)
- Install K3s, a lightweight, production-ready Kubernetes distribution- Mon, March 20, 2023
- VMware NSX Advanced Load Balancer: Installation and Configuration- Fri, March 10, 2023
- NetCrunch 13: Real-time network monitoring, traffic analysis, alerts and performance reports- Tue, March 7, 2023
Deploying Windows 11 with MDT is pretty easy. However, to ensure that your Microsoft Deployment Toolkit (MDT) is compatible with Windows 11 deployment, you must ensure that your MDT installation is the latest available. You can find and download itlast versionfrom MDT here.
An important update fixes a boot loop issue that you should definitely download and apply to your Microsoft Deployment Toolkit server. The update is availableHere. The patch lets you replace the bootable media folders and regenerate the bootable media. Below is an image showing how to regenerate the bootable media in MDT.
Updating the bootable media in MDT when installing the patch
Steps to deploy Windows 11 with MDT
The overall process of deploying Windows 11 with MDT workflow includes the following:
- In the Deployment Workbench, create a Windows 11 operating system folder.
- Import the Windows 11 operating system files.
- Create a new Windows 11 task sequence.
- Create and capture using Windows 11 task sequence.
- Deploy the Windows 11 image captured with MDT.
Import Windows 11 operating system
The first task is to create the folder that will contain the Windows 11 operating system files. Right click on theoperating systemsFolder and create a new folder for Windows 11.
In MDT, create the Windows 11 operating system folder
Now we can import the operating system files for Windows 11. To do this, right-click on the newly created oneWindows11folder and selectImport operating system.
Import the Windows 11 operating system files
Choose as operating system typeComplete set of source files.
Add the complete set of source files for Windows 11
Mount your downloaded Windows 11 ISO as virtual media and select the virtual DVD drive.
Choose the letter of the source drive where the Windows 11 ISO is mounted
You may find that theImport operating systemThe wizard will skip the setup and WDS screens if you chooseFull operating systemfiles.
Choose the directory name for the Windows 11 import
The summary screen shows the configured OSType, OSDestination, OSSource and MoveOS options. ClickNext.
The Windows 11 operating system has been imported successfully, as shown on theConfirmationScreen.
The Windows 11 import will complete successfully
You should now see several images listed under the new Windows 11 folder created in MDT.
Create a new task sequence to deploy Windows 11
The Microsoft Deployment Toolkit task sequence consists of a series of steps that automate image deployment. It represents an essential capability of MDT as it allows almost any adjustment of the image. For example, you can use it to configure all the settings available in Windows SIM, add drivers or language packs and start your own PowerShell scripts at any time.
Let's create the task sequence for a Windows 11 deployment.
Create a new Windows 11 deployment task sequence
When you initiateNew task sequence, a new wizard for creating the new task sequence will start.
Name the new Windows 11 task sequence
ImSelect templateDialogue, let's just choose theStandard-Client-Tasksequenzin our simple example. MDT offers a wide range of templates, including one for Windows Server installation or a custom template that you can design from scratch.
Select the task sequence template
Next, select the specific Windows 11 image you want to use for deployment.
Select the Windows 11 operating system to be deployed in the task sequence
Choose your product key installation options. Here I choose not to provide a product key.
Select the Deployment Product Key option
Now enter the details of the operating system settings, including the full name, the organization and the optional Internet Explorer homepage (no longer relevant).
Configure operating system settings for Windows 11 deployment
The next step allows you to choose your admin password settings. Finally, look at the summary screen to ensure that the options selected are the intended ones.
On the confirmation screen that appears at the end of theNew Task Sequence Wizard,Click Finish to create the task sequence.
View the task sequence confirmation screen
Build and capture the image using the task sequence
In the first part of the process, we boot the VM from PXE over the network instead of from ISO. So there is no need for an ISO image or burning physical media to boot, such as. B. a DVD. However, you can also use an ISO "burned" to USB or create physical media as it works the same way.
If you are wondering where the images come from, they are created when you create a new deployment share in MDT in the <Deployment Share>\Boot folder.
View the home folder of the MDT deployment share
Right-click to add the boot image to Windows Deployment Services (WDS) for PXE bootBoot-Imagesin your Windows Deployment Services console and selectAdd boot image. This is where you upload the LiteTouch images created by MDT or other custom boot images.
Adding boot images in Windows Deployment Services
To allow your Windows Deployment Services (WDS) server to respond to PXE requests from clients, right-click the server in your Windows Deployment Services console and selectCharacteristics. Under thePXE responseOn the tab, select the setting for how the WDS server should respond and to which clients.
Configure WDS to respond to PXE clients
After configuring WDS with the MDT images, you should be able to PXE boot a client and choose from the available boot images.
Boot from PXE and choose your MDT Lite touch boot image
Select the Windows 11 task sequence created earlier.
Select the Windows 11 task sequence for deployment
Select the computer details here. I'll leave this at the automatically generated oneComputernameAndjoin a working group.
Enter the computer details for the Windows 11 task sequence
Select the storage location of the image capture and the file name.
Choose to capture an image of the Windows 11 reference computer
The task sequence builds and captures the Windows 11 reference image.
Windows 11 image capture will begin
Deploy the Windows 11 image to a target computer
The final step along the way is testing the Windows 11 deployment on a target workstation. Boot PXE from the MDT media and select the Windows 11 task sequence again as shown above.
Set your computer details, including the computer name and workgroup or domain details.
Select the computer details for Windows 11 deployment
Next, select from the image capture screenDo not take an image of this computer. Instead, deploy the captured Windows 11 image to a target workstation.
Do not capture an image of this computer on a target computer
Windows 11 image deployment will start and Windows 11 will eventually boot on the target workstation.
The MDT automation works in our favor here as the installation progresses through the mini-setup wizard and checks for updates.
Deploying Windows 11 using MDT completes successfully on the target computer
Deploying Windows 11 using MDT completes successfully on the target computer
Closing remarks
Even though the Microsoft Deployment Toolkit is "aging," it's still a viable way to capture and deploy Windows 11 images.
Subscribe to the 4sysops newsletter!
Many organizations are investing heavily in the tools provided by MDT, so it's great to see that we can still capture and deploy Windows 11 images using the MDT solution.
Do you want to write for 4sysops? We are looking for new authors.
4sysops members can earn and read without ads!