Feature #779
Enable Remote Desktop from PowerShell on Windows 2012 Core
Status:
Closed
Priority:
Normal
Assignee:
Category:
Server Management
Target version:
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: