Events
29 Apr, 2 pm - 30 Apr, 7 pm
Join the ultimate Windows Server virtual event April 29-30 for deep-dive technical sessions and live Q&A with Microsoft engineers.
Sign up nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Migration of a Remote Desktop Services deployment is supported from source servers running a Windows Server version to destination servers running the same Windows Server version. For example, from Windows Server 2025 to Windows Server 2025. Meaning, there is no direct in-place migration from RDS in an earlier version of Windows Server to a later Windows Server version. Instead, you need to upgrade most RDS components first to a later Windows Server version, then migrate data and licenses. The only components that support a direct migration are RD Web, RD Gateway, and the licensing server.
For more information on the upgrade process and requirements, see upgrading your Remote Desktop Services deployments.
Use the following steps to migrate your Remote Desktop Services deployment:
This is the first and most important step for migrating: migrating your RD Connection Brokers to destination servers running the latest version of Windows Server.
Important
The Remote Desktop Connection Broker (RD Connection Broker) source servers must be configured for high availability to support migration. For more information, see Deploy a Remote Desktop Connection Broker cluster.
If you have more than one RD Connection Broker server in the high availability setup, remove all the RD Connection Broker servers except the one that is currently active.
Upgrade the remaining RD Connection Broker server in the deployment to a later Windows Server version.
Add the new Windows Server version RD Connection Broker servers into the high availability deployment.
Note
Follow these steps to migrate a session collection in an earlier version of Windows Server to a session collection in a later version of Windows Server.
Important
Migrate session collections only after successfully completing the previous step, Migrate RD Connection Broker servers.
Upgrade the session collection to a later version of Windows Server.
Add the new RD Session Host server running the new Windows Server version to the session collection.
Sign out of all sessions in the RD Session Host servers, and remove the servers that require migration from the session collection.
Note
If the UVHD template (UVHD-template.vhdx) is enabled in the session collection and the file server has been migrated to a new server, update the User Profile Disks: Location collection property with the new path. The User Profile Disks must be available at the same relative path in the new location as they were on the source server.
A session collection of RD Session Host servers with a mix of Windows Server versions isn't supported.
Follow these steps to migrate a virtual desktop collection from a source server running the earlier version of Windows Server to a destination server running a later version of Windows Server.
Important
Migrate virtual desktop collections only after successfully completing the previous step, Migrate RD Connection Broker servers.
Upgrade the virtual desktop collection from the server running the earlier version of Windows Server to a later version of Windows Server.
Add the new Windows Server version RD Virtualization Host servers to the virtual desktop collection.
Migrate all virtual machines in the current virtual desktop collection that are running on RD Virtualization Host servers to the new servers.
Remove all RD Virtualization Host servers that required migration from the virtual desktop collection in the source server.
Note
If the UVHD template (UVHD-template.vhdx) is enabled in the session collection and the file server has been migrated to a new server, update the User Profile Disks: Location collection property with the new path. The User Profile Disks must be available at the same relative path in the new location as they were on the source server.
A virtual desktop collection of RD Virtualization Host servers with a mix of servers running earlier versions of Windows Server and later versions of Windows Server is not supported.
Follow these steps to migrate RD Web Access servers:
Join the destination servers running the new version of Windows Server to the Remote Desktop Services deployment and install the RD Web role
Use IIS Web Deploy tool to migrate the RD Web website settings from the current RD Web Access servers to the destination servers running the new version of Windows Server.
Migrate certificates to the destination servers running the new version of Windows Server.
Remove the source servers from the Remote Desktop Services deployment.
Follow these steps to migrate RD Gateway servers:
Join the destination servers running the new version of Windows Server to the Remote Desktop Services deployment and install the RD Gateway role
Use the IIS Web Deploy tool to migrate the RD Gateway endpoint settings from the current RD Gateway servers to the destination servers running the new version of Windows Server.
Migrate certificates to the destination servers running the new version of Windows Server.
Remove the source servers from the Remote Desktop Services deployment.
Follow these steps to migrate an RD Licensing server from a source server running an earlier version of Windows Server to a destination server running a later version Windows Server.
Migrate the Remote Desktop Services client access licenses (RDS CALs) from the source server to the destination server.
Edit the Deployment Properties in Server Manager on the Remote Desktop management server (which is typically being run on the first RD Connection Broker server) to include only the new RD Licensing servers running the new version of Windows Server.
Deactivate the source RD Licensing server: In Remote Desktop Licensing Manager, right-click the appropriate server, hover over Advanced to select Deactivate Server, and then follow the steps in the wizard.
Remove the source RD Licensing servers from the deployment in Server Manager on the Remote Desktop management server.
Successful certificate migration requires both the actual process of migrating certificates and updating certificate information in the Remote Desktop Services Deployment Properties.
Typical certificate migration includes the following steps:
Export the certificate to a PFX file with the private key.
Import the certificate from a PFX file.
After migrating the appropriate certificates, update the following required certificates for the Remote Desktop Services deployment in server manager or PowerShell:
RD Connection Broker - single sign-on
RD Connection Broker - RDP file publishing
RD Gateway - HTTPS connection
RD Web Access - HTTPS connection and RemoteApp/desktop connection subscription
Events
29 Apr, 2 pm - 30 Apr, 7 pm
Join the ultimate Windows Server virtual event April 29-30 for deep-dive technical sessions and live Q&A with Microsoft engineers.
Sign up nowTraining
Learning path
Migrate servers and workloads in on-premises and hybrid environments - Training
Migrate servers and workloads in on-premises and hybrid environments
Certification
Microsoft Certified: Azure Virtual Desktop Specialty - Certifications
Plan, deliver, manage, and monitor virtual desktop experiences and remote apps on Microsoft Azure for any device.