Skip to content

Migrating RDS 2012 Over To Server 2012 R2

Technical Article

This post will show you how to Migrate RDS 2012 to Server 2012 R2 using the in place upgrade method.

Categories
MicrosoftRds 2012Windows Server 2012
Tags
Connection BrokerMicrosoft WindowsOperating SystemRdpRdsRds2012Remote Desktop ProtocolRemote Desktop ServicesWindows Powershell
Migrating RDS 2012 Over To Server 2012 R2

This post will show you how to Migrate RDS 2012 to Server 2012 R2 using the in place upgrade method.

In this demonstration I will be migrating a Server 2012 RDS server over to 2012 R2. The following roles have been installed on a Server 2012 RTM server:

  • RD Connection Broker
  • RD Web Access
  • RD Session Host

Before migrating your RDS Infrastructure to Server 2012 R2 it is suggested that you read the following article from Microsoft.

http://technet.microsoft.com/library/dn479239.aspx

The key points to note:

You will need to migrate the RDS roles in the following order:

  1. RD Connection Broker
  2. RD Session Host
  3. RD Virtualization Host
  4. RD Web Access

As stated in the document, the following roles can be updated at any time:

  • RD Licensing
  • RD Gateway

I would recommend that all of the RDS environment's services are stopped before starting the migration process.

Migrating RDS 2012 Over to 2012 R2

Before carrying out a migration, ensure you have a backup (goes with saying).

check that the RDS services are stopped on the server before continuing.

Migrating RDS 2012 Over to 2012 R2

As you can see from the screenshot, We are running Server 2012 standard edition RTM

Migrating RDS 2012 Over to 2012 R2 (screenshot 2)

Mount the ISO or insert a Server 2012 R2 DVD, then Click Install now

Migrating RDS 2012 Over to 2012 R2 (screenshot 3)

Migrating RDS 2012 Over to 2012 R2 (screenshot 4)

Choose whether you want to apply updates or skip to the installation.

Migrating RDS 2012 Over to 2012 R2 (screenshot 5)

Select the (Server with a GUI) and click next

Migrating RDS 2012 Over to 2012 R2 (screenshot 6)

We are not wanting to install a fresh copy of Windows Server, We want to carry out an in place upgrade.

Migrating RDS 2012 Over to 2012 R2 (screenshot 7)

Check the compatibility report and click next (all being well)

Migrating RDS 2012 Over to 2012 R2 (screenshot 8)

The in place upgrade will require a number of restarts during the upgrade process.

Migrating RDS 2012 Over to 2012 R2 (screenshot 9)

Once the migration is complete, you will see the new build number and version located near the right hand corner of the screen .

Migrating RDS 2012 Over to 2012 R2 (screenshot 10)

Check that the Remote Desktop Services have started and Test RDS connectivity.

I would also suggest checking the event logs for any errors that may have occured.

Post Migration Clean up

After the migration (inplace upgrade), you will have a Windows.old folder from the old version of Windows. The next part of this post will show you how to complete a post migration clean up on your RDS Servers.

Before we can clean up the disk, we need to add the Desktop Experience feature so that we gain access to the Disk cleanup utility.

GUI way

GUI way

Select roles and features

GUI way (screenshot 2)

Select User Interfaces and Infrastructure: Desktop Experience

GUI way (screenshot 3)

PowerShell Way

Install-WindowsFeature Desktop-Experience

PowerShell Way

PowerShell Way (screenshot 2)

PowerShell Way (screenshot 3)

As you can see from the folder directory on the root disk drive C: , there is a Windows.old folder from the previous version of Windows.

PowerShell Way (screenshot 4)

by right clicking on the C: and select properties. You will then see Disk cleanup under the general tab.

PowerShell Way (screenshot 5)

When you open disk cleanup, as like previous versions it will scan your Os disk for various files including "Previous Windows Installation(s)"

PowerShell Way (screenshot 6)

You can then see various files that can be deleted.

PowerShell Way (screenshot 7)

Select the "Previous Windows Installation(s)

PowerShell Way (screenshot 8)

Select the "Windows upgrade log files"

PowerShell Way (screenshot 9)

Once your happy, click Ok and Delete Files.

PowerShell Way (screenshot 10)

PowerShell Way (screenshot 11)

PowerShell Way (screenshot 12)

There you have it, the Windows.old folder has now been removed.

Using DISM to clean Previous versions of updated components

The final Step is to use DISM to Clean up old components.

for more information on DISM Clean up, please see the following article:

http://technet.microsoft.com/en-us/library/dn251565.aspx

Run the following Command in cmd or PowerShell:

Dism.exe /online /Cleanup-Image /StartComponentCleanup

Using DISM to clean Previous versions of updated components

If you do not requre Desktop Experience, you can remove the feature with the following cmd in PowerShell.

Uninstall-WindowsFeature Desktop-Experience

There you have it, RDS 2012 Migrated over to 2012 R2 and cleaned up after an inplace upgrade.