Saturday, December 16, 2017

I had an issue, whereby the Session host SSL was incorrect, and the Session Host utility has been replaced in 2012 R2 with Powershell.

Heres the command, you will need SSL fingerprint before you run this command.

wmic /namespace:\\root\cimv2\TerminalServices PATH Win32_TSGeneralSetting Set SSLCertificateSHA1Hash=”e47bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxa”

Get-WmiObject -class “Win32_TSGeneralSetting” -Namespace root\cimv2\terminalservices -Filter “TerminalName=’RDP-tcp’”