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 :)

windows/client_os/rdp_w8.txt · Last modified: 2017/11/29 20:15 by tplecko