Differences
This shows you the differences between two versions of the page.
— | windows:client_os:rdp_w8 [2022/03/14 20:22] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Enable RDP from powershell on windows 8/11 ====== | ||
+ | To enable remote desktop connections under Windows 8, just start powershell and enter these commands: | ||
+ | <code powershell Windows 8> | ||
+ | (Get-WmiObject win32_TerminalServiceSetting -Namespace root\\cimv2\\TerminalServices).SetAllowTSConnections(1) | ||
+ | import-module netsecurity -ea stop ; Get-NetFirewallRule | ? {$_.displayname -like \" | ||
+ | </ | ||
+ | <code powershell Windows 11> | ||
+ | Set-ItemProperty -Path ' | ||
+ | Enable-NetFirewallRule -DisplayGroup " | ||
+ | </ | ||
+ | The commands can be ran remotely if you have [[http:// |