Skip to content
IT // Adventures

Using a Custom SSL Certificate for Windows Server 2012 RDS

The SSL certificate of Windows Remote Desktop Services can be changed with WMI.

1 min read

On Server 2012, the SSL certificate for the RDS service can no longer be changed through the GUI. The thumbprint of the certificate in use is stored in the WMI class “Win32_TSGeneralSettings” and can be changed with the following command.

wmic /namespace:\\root\cimv2\TerminalServices PATH Win32_TSGeneralSetting Set SSLCertificateSHA1Hash="THUMBPRINT"

Source

Serverfault: Configure custom SSL certificate for RDP on Windows Server 2012 in Remote Administration mode?