Skip to content

Instantly share code, notes, and snippets.

@margani
Last active December 6, 2021 05:23
Show Gist options
  • Save margani/f0039faf0edebe7083a66e4d9c19c518 to your computer and use it in GitHub Desktop.
Save margani/f0039faf0edebe7083a66e4d9c19c518 to your computer and use it in GitHub Desktop.
Enable or Disable Remote Desktop in Windows Firewall from Command Prompt #windows #rdp
# Windows Server 2008+ or Windows Vista+
netsh advfirewall firewall set rule group="remote desktop" new enable=Yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment