Reinstall Remote Desktop Connection Better Review
That’s it. Your Remote Desktop Connection has now been effectively "reinstalled" with fresh settings and registry hooks.
Once the system has restarted, you can reinstall the application: reinstall remote desktop connection
Since you can’t delete RDC, the closest equivalent is to remove the Windows feature that hosts it and add it back. This forces Windows to re-copy the system files. That’s it
(Only for legacy RD Web setups.)
Get-AppxPackage -Name Microsoft.RemoteDesktop | Foreach Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml" reinstall remote desktop connection