Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools


Enable RDP from powershell on windows 8

To enable remote desktop connections under Windows 8, just start powershell and enter these commands:

(Get-WmiObject win32_TerminalServiceSetting -Namespace root\\cimv2\\TerminalServices).SetAllowTSConnections(1)
import-module netsecurity -ea stop ; Get-NetFirewallRule | ? {$_.displayname -like \"remote desktop*\"} | Set-NetFirewallRule -enabled true

The commands can be ran remotely if you have SSH server installed - like i did :)


Enter your comment:
R H​ O G F
windows/client_os/rdp_w8.txt · Last modified: 2019/10/31 09:06 (external edit)