New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\' -Name "UserAuthentication" -Value 1 -PropertyType dword -Force Enable Remote Desktop using Group Policy New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\' -Name "UserAuthentication" -Value 1 -PropertyType dword -Force Commands should run in a PowerShell window with administrator privileges.īy running the following command, the Remote Desktop will be enabled, allowing connections via Terminal Services.
#Microsoft server 2016 remote desktop windows
To enable Remote Desktop through PowerShell, you will need to add two keys to the registry and a rule in the Windows Firewall.
#Microsoft server 2016 remote desktop upgrade
That’s it! Once you upgrade to Server Manager, you will see that the Remote Desktop setting has changed to Enabled. Once you’ve enabled the above setting, you’ll see a message to enable the corresponding Windows Firewall rule that will allow Remote Desktop Connection from any source address. At this point, you can choose whether to allow NLA connections by enabling the corresponding setting but also to select which additional users or groups to connect other than administrators. In the window that appears, enable the Allow remote connections to this computer setting. Here, click Disable in the Remote Desktop field. Open Server Manager and click Local Server from the left pane. Note: In Windows Server 2016 Essentials, Remote Desktop is enabled by default. So, you have to turn it on in order to access a Windows Server remotely.ĭepending on the case, we can enable the Remote Desktop directly using the graphical user interface, PowerShell or by implementing the appropriate policies through Group Policy.