代码改变世界

Restore Microsoft.RemoteDesktop on Windows 10

2020-06-26 22:22  蜡笔小旧  阅读(423)  评论(0编辑  收藏  举报

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 Files\WindowsApps\DeletedAllUserPackages> Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

 

But I can't restore  RemoteDesktop like this.

PS C:\Program Files\WindowsApps\DeletedAllUserPackages> 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.

 

REF: https://github.com/builtbybel/debotnet/issues/58