This shows you the differences between two versions of the page.
— |
windows:client_os:rdp_w8 [2019/10/31 09:06] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Enable RDP from powershell on windows 8 ====== | ||
+ | To enable remote desktop connections under Windows 8, just start powershell and enter these commands: | ||
+ | <code> | ||
+ | (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 | ||
+ | </code> | ||
+ | The commands can be ran remotely if you have [[http://www.bitvise.com/winsshd|SSH]] server installed - like i did :) |