Seamlessly Migrate WDS and MDT to a New Windows Server: A Step-by-Step Guide

Organizations frequently find it necessary to migrate server services to new infrastructure for a multitude of compelling reasons. These motivations can range from bolstering security protocols and adhering to compliance mandates to replacing end-of-life hardware, accommodating escalating server loads, or simply optimizing IT infrastructure for greater efficiency. This comprehensive guide will delineate the process of migrating Windows Deployment Services (WDS) and Microsoft Deployment Toolkit (MDT) to a new Windows Server environment. This migration is vital for ensuring the continuity and security of your organization’s deployment capabilities. A meticulously planned and executed migration minimizes disruptions and ensures a smooth transition.

How to Migrate WDS and MDT to a New Windows Server?

The impetus for migrating WDS and MDT often stems from evolving organizational needs, particularly in the realms of security and compliance. Changes in deployment strategies, the adoption of more stringent security measures, or hardware upgrades that necessitate the relocation of WDS roles to a different server are typical catalysts for migration. Integrating WDS migration into comprehensive disaster recovery plans is also a critical aspect of maintaining business resilience. Furthermore, centralizing IT infrastructure can yield enhanced management, improved operational efficiency, and a stronger security posture, making server migration a strategic imperative for many organizations.

To ensure a seamless migration of WDS and MDT, especially when transitioning from older systems such as Windows Server 2016/2019 to a more contemporary platform like Windows Server 2022, adhere to the following systematic steps:

  1. Install Windows Deployment Services
  2. Prepare the Source Server
  3. Download and install ADK and MDT
  4. Import and Configure the Deployment Share Folder
  5. Initiate Deployment
  6. Update Deployment Share
  7. Create WDS Directory

Let’s explore each of these steps in detail to facilitate a successful migration process.

1] Install Windows Deployment Services

Install Windows Deployment Services

Begin by verifying that Windows Deployment Services is installed on both the original source server and the new target server. Given that you are migrating from an existing operational server, it is highly likely that WDS is already actively running on the source machine. Consequently, the primary focus of this step is to install Windows Deployment Services on the designated target server. To accomplish this, follow these instructions:

  1. Initiate Server Manager on the target Windows Server.
  2. Navigate to the Manage menu and select Add Roles and Features.
  3. Choose the Role-based or feature-based installation option and proceed by clicking Next.
  4. Select the option Select a server from the server pool to specify the target server for WDS installation, and then click Next.
  5. Within the Server Roles section, locate and check the box next to Windows Deployment Services. Click Next to continue the process.
  6. Follow the on-screen prompts and instructions to complete the installation procedure.

Upon completion of these steps, Windows Deployment Services will be successfully installed on your target server, setting the stage for subsequent migration tasks.

2] Prepare the Source Server

Prepare the Source Server

Preparing the source server for migration is crucial and necessitates disabling the Windows Deployment Service. This action is essential to prevent any conflicts during the migration process. Stopping the service on the source server ensures that no deployments are inadvertently initiated from the old system while the migration is underway.

  1. Open the Services application on the source Windows Server. This can be done by searching for “Services” in the Windows search bar or through Server Manager.
  2. Locate Windows Deployment Services Server within the list of services. Services are typically listed alphabetically, making it easier to find.
  3. Right-click on Windows Deployment Services Server. A context menu will appear. Select Stop from this menu. This action will halt the WDS service on the source server.

Next, it’s imperative to ensure that the deployment share configurations are accurately replicated on the target server. This involves identifying and carefully documenting the existing deployment share settings on the source server. This step ensures consistency and prevents loss of configurations during migration.

  1. Open Computer Management on the source server. This tool provides access to system administration tools.
  2. Navigate through the console tree to System Tools > Shared Folders > Shares. This section lists all the shared folders on the server.
  3. Identify and make a note of the exact name of the Deployment Share folder. This name is critical as it must be replicated on the target server for proper functionality.
  4. Open File Explorer and navigate to the location of the Deployment Share folder. This is usually a designated directory where deployment resources are stored.
  5. Right-click on the Deployment Share folder. A context menu will appear. Select Properties.
  6. In the Properties window, go to the Sharing tab, and then click on the Advanced Sharing button.
  7. Within Advanced Sharing, click on Permissions. Carefully document all existing permissions, noting down users, groups, and their respective permission levels (e.g., Read, Change, Full Control). These permissions must be meticulously recreated on the new deployment share folder on the target server to maintain the intended access control and security.

3] Download and Install Windows ADK and MDT

Download and Install Windows ADK and MDT

The subsequent essential step involves installing necessary software tools on the target server. Windows Assessment and Deployment Kit (ADK) and Microsoft Deployment Toolkit (MDT) are indispensable for effectively managing and deploying Windows images in an enterprise environment.

  1. Download Windows ADK: Access the official Microsoft documentation website at learn.microsoft.com. This page provides the most current and reliable links for downloading the ADK. Download both components: the ADK setup itself and the ADK preinstallation environment setup. Ensure you download the ADK version that is compatible with the Windows Server version on your target server.
  2. Install Windows ADK: Execute the downloaded ADK setup file. Follow the on-screen installation instructions provided by the ADK installer. During the installation process, you will be prompted to select features to install. Ensure you select the features essential for deployment tasks, particularly Deployment Tools and Windows Preinstallation Environment (Windows PE). These components are crucial for creating and customizing deployment images.
  3. Download Microsoft Deployment Toolkit (MDT): Navigate to the Microsoft Download Center to obtain the Microsoft Deployment Toolkit. A direct link is available at microsoft.com. Verify that you are downloading the latest version of MDT to leverage the most recent features and improvements.
  4. Install Microsoft Deployment Toolkit (MDT): Run the downloaded MDT installer. Follow the step-by-step instructions provided by the installer to install MDT on the target server. The installation process is generally straightforward, requiring you to accept license terms and choose an installation path.

4] Import and Configure the Deployment Share Folder

Import and Configure the Deployment Share Folder

With the target server adequately prepared and all necessary software components installed, the next crucial step is to migrate the Deployment Share folder from the source server to the target server. This folder contains all the essential deployment resources, including operating system images, applications, and configuration files.

  1. Copy Deployment Share Folder: On the target server, open File Explorer and navigate to the shared network location of the Deployment Share folder on the source server. This is typically accessed using the UNC path of the source server and the share name of the Deployment Share (e.g., \\SourceServerName\DeploymentShare$). Copy the entire Deployment Share folder to a local drive on the target server. Choose a location that is easily accessible and has sufficient storage space. The time required for this copying process will vary based on the size of the Deployment Share and the network speed.
  2. Rename Deployment Share Folder: Once the copy process is complete, navigate to the location on the target server where you pasted the Deployment Share folder. Rename the copied folder to precisely match the Deployment Share folder name that you recorded from the source server in step 2. Maintaining the same name is important for configuration consistency.
  3. Configure Sharing Settings: Right-click on the renamed Deployment Share folder on the target server. Select Properties from the context menu.
    • In the Properties window, go to the Sharing tab and click on Advanced Sharing.
    • In the Advanced Sharing dialog, check the box labeled Share this folder.
    • In the Share name field, enter the exact same share name that was used for the Deployment Share on the source server. Replicating the share name is critical for ensuring that client computers and deployment processes can locate the share using the same path.
    • Click on the Permissions button. In the Permissions for Share dialog, review the existing permissions. Remove any default users or groups that are not needed. Add the specific users or groups that had permissions on the source server’s share, as documented in step 2. Ensure you assign the correct permission levels (e.g., Read, Change, Full Control) to each user or group to match the source server’s settings.
    • Click OK to save the share permissions.
  4. Configure Security Permissions: Return to the Properties window of the Deployment Share folder and go to the Security tab.
    • Click on the Advanced button to open the Advanced Security Settings dialog.
    • Click on the Disable Inheritance button, which is usually located at the bottom of the window.
    • A prompt will appear asking how to proceed with inheritance. Choose the option Convert inherited permissions into explicit permissions on this object. This action is crucial because it decouples the folder’s permissions from its parent folder, allowing you to define unique permissions specifically for this Deployment Share.
    • Carefully review the list of users and groups with permissions. Remove any users or groups that were not present in the security settings of the source folder, as documented in step 2.
    • Ensure that the user account that is designated for performing deployments (typically a service account or an administrator account) has Full Control permissions to this folder and all its subfolders and files. This is essential for the deployment process to function correctly.
    • Click OK to save the security settings and close all properties windows.

5] Initiate Deployment

Initiate Deployment

With both MDT and ADK successfully installed, and the Deployment Share folder migrated and meticulously configured on the target server, you are now prepared to initiate the deployment process using the new infrastructure.

  1. Open Deployment Workbench: Launch the Deployment Workbench application on the target server. This is the primary administrative tool for managing MDT deployment shares.
  2. Open Deployment Share: In the Deployment Workbench console, locate the Deployment Shares node in the left-hand pane. Right-click on Deployment Shares. From the context menu, select Open Deployment Share.
  3. Select Deployment Share Path: In the Open Deployment Share dialog box, browse to the location where you copied the Deployment Share folder on the local drive of the target server. Select the root folder of the Deployment Share and click OK.
  4. Accept Default Settings: The Deployment Workbench will guide you through a wizard to open the Deployment Share. Generally, you can accept the default settings proposed by the wizard for options such as the share name, description, and other prompts. Click Next through each step until you reach the Summary page. Review the summary to ensure the settings are correct, and then click Finish to complete the process of opening the Deployment Share in the Workbench.
  5. Correct Network Path: After the Deployment Share is opened in the Deployment Workbench, it’s essential to verify and correct the network path configuration. Right-click on the name of your Deployment Share in the Deployment Workbench console. From the context menu, select Properties.
    • In the Deployment Share Properties window, navigate to the General tab. Locate the Network (UNC) Path field. Update this path to accurately reflect the new UNC path for the Deployment Share on the target server. This path should point to the new server’s name and the share name you configured in step 4 (e.g., \\TargetServerName\DeploymentShare$).
    • Next, go to the Rules tab in the Deployment Share Properties window. Click on the Edit Bootstrap.ini button. This will open the Bootstrap.ini file in a text editor (like Notepad).
    • In the Bootstrap.ini file, find the property named DeployRoot. This property specifies the root network path for deployments. Update the value of DeployRoot to the new server’s UNC path for the Deployment Share, ensuring it matches the updated Network (UNC) Path in the Deployment Share properties.
    • After making these changes, save the Bootstrap.ini file and close the text editor.
    • In the Deployment Share Properties window, click Apply and then OK to save all the changes you have made.

6] Update Deployment Share

Update Deployment Share

After successfully migrating and configuring the Deployment Share, the next critical step is to update the Deployment Share. This process ensures that all configuration changes are properly applied and that the deployment environment is fully prepared and operational on the new server. Updating the Deployment Share regenerates boot images and applies any configuration adjustments.

  1. Initiate Update Process: Within the Deployment Workbench, locate your Deployment Share in the left-hand pane. Right-click on the name of your Deployment Share. From the context menu, select Update Deployment Share.
  2. Choose Update Option: You will be prompted to select an update option. For a migration scenario, it is generally recommended to choose the default option, which is typically Completely regenerate the boot images. This option ensures that all boot images are rebuilt from scratch, incorporating the new server configurations and paths. Select this option and click Next.
  3. Proceed with Update: Continue through any informational screens or prompts that the Update Deployment Share wizard may present. Review the settings if prompted, and then click Next to proceed. Finally, click Finish to initiate the update process. The Deployment Workbench will then begin the process of updating the Deployment Share, which includes regenerating boot images, updating deployment scripts, and applying all configuration changes. This process may take some time depending on the size and complexity of your Deployment Share.

7] Create WDS Directory

Create WDS Directory

Related: loading

The final step in the migration process is to configure the Windows Deployment Services (WDS) directory. This configuration is essential for integrating WDS with the migrated Deployment Share, allowing WDS to utilize the deployment resources located in the share.

  1. Open WDS Management Utility: Open the Windows Deployment Services management utility. You can easily find this by searching for “Windows Deployment Services” in the Windows Start Menu or by accessing it through Server Manager under Tools.
  2. Configure Server: In the WDS management utility, expand the Servers node in the left-hand pane. You will see your server listed, typically by its hostname. Right-click on your server. From the context menu, select Configure Server. This will launch the Windows Deployment Services Configuration Wizard.
  3. Proceed Through Wizard: Click Next through the initial screens of the configuration wizard until you reach the page titled PXE Server Initial Settings. This page is crucial for configuring how WDS responds to network boot requests.
  4. PXE Server Settings: On the PXE Server Initial Settings page, you need to specify how WDS should respond to client computers attempting to boot from the network. For most environments, it is recommended to select the option Respond to all client computers (recommended for most environments). This ensures that WDS will respond to PXE boot requests from any computer on your network. Click Next to continue.
  5. Add Boot Images: On the subsequent page, which is often titled Boot Image Selection or similar, ensure that the checkbox labeled Add images to the server now is checked. This option prompts the wizard to immediately guide you through the process of adding boot images from your Deployment Share to the WDS server. Click Finish to close the configuration wizard and launch the Add Image Wizard.
  6. Browse for Boot Image: The Add Image Wizard will open automatically. On the first page, click Browse. Navigate to your Deployment Share folder on the target server. Within the Deployment Share, boot images are typically located in a subdirectory named \Boot. Select a boot image file. Boot images are usually stored as .wim files (Windows Imaging Format). Choose the appropriate boot image file (e.g., LiteTouchPE_x64.wim for a 64-bit environment). Click Open and then Next in the wizard.
  7. Name the Image: On the Image Metadata page, provide a descriptive name for the boot image as it will appear in the boot menu when clients PXE boot. This name helps administrators and users identify the correct boot image. Click Next.
  8. Complete Image Addition: Review the summary page to confirm your settings. Click Next to begin the process of adding the boot image to the WDS server. Wait for the process to complete. Once the image has been successfully added, click Finish to close the Add Image Wizard.

After completing all these steps, the migration of WDS and MDT to the new Windows Server should be successfully finalized. It is now essential to thoroughly test the deployment process from the new server to confirm that everything is functioning as expected and that client computers can successfully boot and initiate deployments.

How to Migrate a WDS Server?

How to Migrate a WDS Server

Migrating a WDS server specifically involves a focused approach on transferring the core WDS configuration and associated images. In essence, the process is streamlined to include installing the WDS feature on the new server, stopping the WDS service on both the old and new servers to prevent conflicts, copying the WDS image files from the old server to the designated image directory on the new server, and finally, restarting the WDS service on the new server. This method is particularly efficient for quickly relocating the fundamental WDS functionality while minimizing downtime and complexity.

For more detailed guidance on setting up a file server on Windows Server, which is closely related to managing deployment shares and image storage for WDS, you can refer to specialized guides on how to install and configure File Server on Windows Server. Understanding file server configurations can enhance the overall management of your deployment infrastructure.

What is the Difference Between Windows MDT and WDS?

Difference Between Windows MDT and WDS

Understanding the fundamental differences between Windows Deployment Services (WDS) and Microsoft Deployment Toolkit (MDT) is crucial for effectively managing operating system deployments within an organization. While both are indispensable tools in the realm of Windows deployment, they serve distinct primary functions and are designed to work synergistically to create a comprehensive deployment solution.

Windows Deployment Services (WDS) primarily functions as a network-based deployment platform. Its core purpose is to facilitate the deployment of Windows operating systems across a network to client computers that are equipped with PXE (Preboot Execution Environment) boot capability. WDS essentially provides the infrastructure for network booting and the subsequent delivery of operating system images. Its main role is to transmit boot images and installation images to target client computers, handling the crucial delivery mechanism of the OS installation process. WDS, in its basic form, manages the network boot environment and image transfer but offers limited capabilities for advanced customization or task automation beyond basic image deployment.

Microsoft Deployment Toolkit (MDT), conversely, is a more advanced and comprehensive toolkit specifically engineered for automating and extensively customizing the deployment of Windows operating systems. MDT is built upon the foundation provided by WDS and significantly extends its capabilities by adding layers of functionality that include sophisticated task sequencing, application installation, user data migration, robust scripting support, and a wide array of customization options. MDT provides the intelligence and flexibility needed to tailor deployments to the precise requirements of an organization. It enables administrators to create highly customized and fully automated deployment processes that go far beyond simple OS image deployment, encompassing application integration, configuration settings, and post-deployment tasks.

In essence, to draw an analogy, WDS can be likened to a delivery truck, providing the essential network infrastructure to transport operating system images from a central server to client computers. On the other hand, MDT is akin to a logistics management system, meticulously planning and orchestrating the entire deployment process from start to finish. MDT manages the sequence of tasks, customizes the content being deployed, automates every step of the process, and ensures that deployments are consistent, efficient, and tailored to meet specific organizational needs. By strategically utilizing WDS and MDT in tandem, organizations can establish a robust, scalable, and highly customizable operating system deployment solution that streamlines IT operations and enhances overall efficiency.


Have you found this guide beneficial in migrating your WDS and MDT services to a new server? Do you have any personal experiences or valuable tips related to this migration process that you could share with others? We encourage you to leave your comments and questions in the section below to foster a helpful discussion and knowledge sharing within the community!

Post a Comment