Project

General

Profile

Actions

Feature #779

closed
DC DC

Enable Remote Desktop from PowerShell on Windows 2012 Core

Feature #779: Enable Remote Desktop from PowerShell on Windows 2012 Core

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

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

100%

Estimated time:
0:30 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

DC Updated by Daniel Curtis over 9 years ago Actions #1

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

DC Updated by Daniel Curtis over 9 years ago Actions #2

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

DC Updated by Daniel Curtis over 9 years ago Actions #3

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom