Get-AppxPackage -allusers *RemoteDesktop* | Foreach Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml" Use code with caution.
Once the DISM scan reaches 100%, run the System File Checker: sfc /scannow Use code with caution. reinstall remote desktop connection
: Complete the on-screen instructions. A confirmation message should appear stating "Remote Desktop Connection was successfully installed". reinstall remote desktop connection
dism /online /add-capability /capabilityname:App.Support.RemoteDesktop~~~~0.0.1.0 reinstall remote desktop connection