Disable-WindowsOptionalFeature -Online -FeatureName "RemoteDesktopConnection" Use code with caution. Type Y if prompted to restart your computer. Once the system reboots, open again. To reinstall the feature, execute this command: powershell
Uninstall and Reinstall the Remote Desktop Connection App in Windows
For IT professionals or those who prefer the command line, you can also use the installer via Command Prompt. 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.
: Run sfc /scannow in an elevated Command Prompt to repair any underlying system file corruption. To reinstall the feature, execute this command: powershell
What prompted you to want to reinstall it?
If you have successfully reinstalled the application but still cannot connect to remote machines, the issue likely points to system configuration parameters rather than corrupted software files. 1. Re-Enable the Remote Desktop Service : Run sfc /scannow in an elevated Command
Right-click the folder and select Export to save a backup file. Right-click the folder again and select Delete . Navigate to your Documents folder. Turn on "Hidden files" in your File Explorer view settings.
: Follow the DISM/SFC process (Part 1, Method 5) thoroughly. This will repair the system image and all associated registry entries for Remote Desktop Connection. After DISM and SFC complete, reboot and try opening mstsc .