Reinstall Remote Desktop Connection !new! -
If you click the Microsoft documentation link and receive a 502 Bad Gateway error, the public download page may have been retired or is temporarily unavailable.
@echo off echo Reinstalling Remote Desktop Connection... dism /online /disable-feature /featurename:Remote-Desktop-Services /norestart dism /online /enable-feature /featurename:Remote-Desktop-Services /norestart echo Done. Restart your PC. pause
The Deployment Image Servicing and Management (DISM) tool is more powerful than SFC and can repair the underlying Windows system image.
Toggling the "allow connections" option off and then on again can re-register the necessary system files and registry keys associated with the Remote Desktop Session Host service. reinstall remote desktop connection
If SFC reports that it found corrupt files but could not fix all of them, run DISM to repair the underlying system image:
For a command-line approach on Windows Server:
The installer typically runs silently without user interaction. Once finished, search for "Remote Desktop Connection" in the Start menu to launch it. Microsoft Learn 3. Troubleshooting Missing Files If you click the Microsoft documentation link and
(Home editions do not natively support accepting incoming RDP connections).
Type cmd into the Windows search bar, right-click , and select Run as administrator .
If you came here searching for a quick answer, follow this decision tree: Restart your PC
Navigate to C:\Windows\System32\ and look for mstsc.exe . If you find it, the app hasn't been uninstalled—the shortcut is just missing.
To remove the Remote Desktop client feature, paste the following command and press : powershell
: An open-source remote desktop application designed as a privacy-focused alternative to TeamViewer. RustDesk allows you to self-host your own relay server, eliminating dependence on third-party servers for connections. It's cross-platform, works on Windows, macOS, Linux, and mobile devices, and features end-to-end encryption.
Reinstalling Remote Desktop Connection (RDC) — whether you mean the client app on your local machine or the server-side Remote Desktop Services (RDS) stack on a Windows host — is often a pragmatic response to persistent connectivity errors, broken credentials, profile corruption, feature regressions after updates, or security policy changes. Done thoughtfully, reinstallation resolves deep configuration drift while minimizing downtime and preserving access and security. Done poorly, it can introduce new access gaps, lost settings, or unexpected service interruptions. Below is an extensive, actionable commentary that covers when to reinstall, preparatory steps, detailed procedures for client and server scenarios, post-reinstall validation, troubleshooting tips, and best practices to prevent repeat problems.