Description
Enables Remote Desktop Protocol (RDP) and allows inbound RDP Connections through the firewall.
Overview
This script enables Remote Desktop Protocol (RDP) by setting the following registry value:
- Path: HKLM:\System\CurrentControlSet\Control\Terminal Server
- Name: fDenyTSConnections
- Value: 0
Next, the script enables RDP through the firewall by enabling the built-in rule “Remote Desktop”.
Dependencies
- None
Operating Systems
- Windows
Pre-Requisites:
- Administrator or SYSTEM privileges.