I have been trying to get an installation of Remote Desktop Services deployed using Server 2012. I have now run into a problem where I need to use a certificate other than the self-signed cert from the server for Remote Desktop (to avoid cert errors for clients using network level authentication). I have searched the topic for days, and since the tools in server 2008 that gave you access to change the RDP-Tcp properties seem to no longer exist in 2012, this has proven very difficult.
Searching various sites (including this one) came up with a promising answer for changing the Win32_TSGeneralSetting class in WMI in the root\cimv2\TerminalServices namespace. (reference at: Configure custom SSL certificate for RDP on Windows Server 2012 in Remote Administration mode?).
I have tried this over and over again (and several variations of both the POSH script and the cmd script) to no avail. Instead of completing the process as I expect it to, I receive the error: Invalid Parameter.
I have the cert I want placed in both the Remote Desktop and the Personal certificate stores on this machine. Any suggestions, am I doing anything wrong here?