Project

General

Profile

Feature #779

Enable Remote Desktop from PowerShell on Windows 2012 Core

Added by Daniel Curtis almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Server Management
Target version:
Start date:
03/20/2016
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:

Description

This is a short guide on setting up Remote Desktop on a Windows 2012 Server Core machine from the PowerShell.

  • Open a command prompt and start powershell:
    powershell
    
  • Enable Remote Desktop
    set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server'-name "fDenyTSConnections" -Value 0
    
  • Allow incoming RDP on firewall
    Enable-NetFirewallRule -DisplayGroup "Remote Desktop" 
    
  • Enable secure RDP authentication
    set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -name "UserAuthentication" -Value 1  
    
  • Then reboot the windows server:

Resources

Also available in: Atom PDF