Enable Remote Desktop remotely by using the registry

A few times I have encountered the fact that I cannot access a remote workstation or server by Remote Desktop (RDP). To solve this you can enable RDP trough a registery key remotely. The following steps can be taken to enable RDP remotely.

  1. Log in on a computer or server as an Domain Admin and open Regedit as an administrator.
  2. On the File menu, click Connect Network Registry.
  3. In the Select Computer dialog box, under Enter the object name to select, type the computer name and then click Check Names.
  4. After the computer name resolves, click OK.
  5. In the computer node that appears in the Registry Editor, navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server.
  6. In the console tree, click Terminal Server, and then, in the details pane, double-click fDenyTSConnections.
  7. In the Edit DWORD Value box, in Value data, type 0, and then click OK. This value enables connections at the level that allows connections from computers running any version of Remote Desktop.

To implement the change, restart the server or workstation remotely, as follows:

  1. Log in on a computer or server as an Domain Admin and open Command Prompt as an administrator.
  2. At the command prompt, type the following command: shutdown /m \\[Name of computer that has to be rebooted] /r

Determining Exchange 2013 version

This week I had to update an Exchange 2013 environment. Before the update I wanted to check the current Exchange 2013 version.  This post provides the build numbers and general release dates for each version of Microsoft Exchange Server 2013. To view the build number for the version of Exchange 2013 that you’re running, run the following command in the Exchange Management Shell.

  • Get-ExchangeServer | Format-List Name, Edition, AdminDisplayVersion

The versions of Exchange 2013 are as following:

Product name Release date Build number
Exchange Server 2013 CU7 December 9, 2014 15.00.1044.025
Exchange Server 2013 CU6 August 26, 2014 15.00.0995.029
Exchange Server 2013 CU5 May 27, 2014 15.00.0913.022
Exchange Server 2013 SP1 February 25, 2014 15.00.0847.032
Exchange Server 2013 CU3 November 25, 2013 15.00.0775.038
Exchange Server 2013 CU2 July 9, 2013 15.00.0712.024
Exchange Server 2013 CU1 April 2, 2013 15.00.0620.029
Release to Manufacturing (RTM) version December 3, 2012 15.00.0516.032