Install Certificate for Microsoft Remote Desktop

Open Microsoft Management Center (MMC) (Start -> Run -> mmc.exe)
Open File menu and select 'Add/Remove Snap-in' (or press Ctrl+M)
Select Certificates and click 'Add >'.
Select 'Computer account' and click 'Next >'
Leave 'Local computer' selected unless you are managing a remote server and click Finish
Click OK
Expand 'Certificates (Local Computer)'
Expand 'Remote Desktop'
Expand 'Certificates'
Right click Certificates and select All Tasks -> Import
Click Next
Browse to and select your certificate file
Click Next
Enter your certificate password (if set) and click Next
Leave option set to 'Place all certificates in the following store' and click Next
Review changes that will be made and click Finish
Double click on new certificate in list
Go to the Details tab
Scroll down to the end of the list and click on Thumbprint
Select all of the text in the text box excluding the first white space character and Ctrl+C

Open notepad
Paste the thumbprint into notepad
Remove all of the spaces between the letters and numbers
Select the whole string and Ctrl+C

Open command prompt running as Administrator and execute the following commands

  • wmic /namespace:\\root\CIMV2\TerminalServices PATH Win32_TSGeneralSetting Set SSLCertificateSHA1Hash="PASTE_THUMBPRINT_HERE"
  • net stop TermService
  • net start TermService

Page top