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

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:

 


(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
Categories: Uncategorized
  1. July 18, 2012 at 2:28 pm
  2. Sean McCann
    September 14, 2012 at 2:41 pm

    Thanks Andrew , worked like a charm !

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: