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

#1

Updated by Daniel Curtis almost 9 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
  • Category set to Server Management
#2

Updated by Daniel Curtis almost 9 years ago

  • Subject changed from Enable Remote Desktop from PowerShell on Windows 2012 to Enable Remote Desktop from PowerShell on Windows 2012 Core
#3

Updated by Daniel Curtis over 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF