0

I would like to remove RDP certificate that I previously set through the command

wmic /namespace:\\root\cimv2\TerminalServices PATH Win32_TSGeneralSetting Set SSLCertificateSHA1Hash=$CertificateThumbprint

Is it safe to direct remove the certificate or exists some command like

wmic /namespace:\\root\cimv2\TerminalServices PATH Win32_TSGeneralSetting Remove SSLCertificateSHA1Hash

that I need to run before delete the certificate?

Sauron
  • 211
  • 1
  • 6

1 Answers1

1

You must provide another certificate to replace this one.

Do not delete the certificate that you defined as the RDP Certificate, otherwise you might be unable to connect again via RDP.

Swisstone
  • 6,357
  • 7
  • 21
  • 32