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:
Resources¶
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
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