![]() It is highly recommended that you configure more specific firewall rules where possible to only allow inbound traffic from known hosts. Remote Desktop should now be accessible in Windows Server 2019.īy default this will allow all connections in, the same as if we had just enabled it using the GUI steps shown above. Once complete we can use the ‘Enable-NetFirewallRule’ to configure Windows Firewall to allow remote desktop connections in:Įnable-NetFirewallRule -DisplayGroup "Remote Desktop" Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -name "fDenyTSConnections" -value 0 While there isn’t currently an explicit PowerShell cmdlet used for enabling remote desktop, we can use the Set-ItemPropery cmdlet to modify the registry value that enables or disables Remote Desktop: That’s it, remote desktop should now be ready to use! After clicking the refresh button as highlighted below (or pressing F5 on the keyboard), the status should update to Enabled.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |