A few months ago, I installed software, called 'Debotnet' that it run the PowerShell "Get-AppxPackage Microsoft.RemoteDesktop | Remove-AppxPackage".
Then I found that missing Remote Desktop Services.
Now I want to undo.
I can use the command to restore WindowsStore.
PS C:Program FilesWindowsAppsDeletedAllUserPackages> Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)AppXManifest.xml"}
But I can't restore RemoteDesktop like this.
PS C:Program FilesWindowsAppsDeletedAllUserPackages> Get-AppxPackage -allusers Microsoft.RepoteDesktop| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)AppXManifest.xml"}
Final Resolved:
(1) Get the page: https://www.tenforums.com/tutorials/57567-restore-default-services-windows-10-a.html
(2) Download remote desktop .reg files
https://www.tenforums.com/attachments/tutorials/92506d1469658281-restore-default-services-windows-10-a-remote_desktop_services.reg
https://www.tenforums.com/attachments/tutorials/92500d1469657625-restore-default-services-windows-10-a-remote_desktop_configuration.reg
https://www.tenforums.com/attachments/tutorials/92507d1469658281-restore-default-services-windows-10-a-remote_desktop_services_usermode_port_redirector.reg
(3) Install .reg files
(4) Restart your computer.
Enjoy Remote Desktop Connection.