Enabling Remote Desktop access to a Windows Server 8 Core machine.

So when you install Server 8 Core by default, Powershell Remoting is configured and a firewall rule is enabled to allow communication, But what if you still need RDP access?

Here’s a quick script that will enable RDP access to Server 8 Core and configure the firewall appropriately.

You can run this from a powershell remoting session, or via the console:

 
[sourcecode language=”powershell”]

(Get-WmiObject win32_TerminalServiceSetting -Namespace rootcimv2TerminalServices).SetAllowTSConnections(1)

import-module netsecurity -ea stop ; Get-NetFirewallRule | ? {$_.displayname -like "remote desktop*"} | Set-NetFirewallRule -enabled true
[/sourcecode]

Related Posts

A new end user computing podcast, FrontLine Chatte... Jarian and I talk daily on twitter with a host of friends and community members about the weekly movers and shakers. There’s long been talk about an E...
Another handy little tool, Move On Boot. Upon receiving a new dll from a support provider recently, I could not replace the existing file, as the file was in use by the system. A restart to s...
ThinKiosk 2.2 Available. Firstly, a big thank you to Geert Braakhekke for registering www.thinkiosk.nl, you rock man! Secondly, Just a quick update to say ThinKiosk 2.2 is ...

2 Comments About “Enabling Remote Desktop access to a Windows Server 8 Core machine.

Leave a Reply