How to recover accidentally deleted self signed RDP certificate

remote desktopremote-desktop-serviceswindows-server-2012

Environment: Windows 2012 on Workgroup setting.

Our Remote Desktop Service was using a self-signed certificate, which was deleted.

Actions taken to delete are:

  1. MMC > File > Add/Remove Snap in > Certificates > Computer Account > Local Computer > Finish.
  2. Under Console Root hierarchy:
    Console Root > Certificates (Local Computer) > Remote Desktop
  3. Certificate selected and deleted.

Is there a way to recover or find that certificate?

Best Answer

The certificate and related private key are gone. You could get the certificate from a client but not the private key. Unless you have a backup you should consider it as lost.