Tip: Firewall & Remote Desktop

1 post / 0 new
benzzon's picture
Tip: Firewall & Remote Desktop

Remote Desktop port Is 3389.

You can disable or enable Windows XP's Remote Desktop feature with a simple registry tweak. Use the registry to configure this setting by performing the following steps:

  1. Start the registry editor (e.g., regedit.exe).
  2. Navigate to HKEY_LOCAL_MACHINESYSTEM\CurrentControlSet\Control\Terminal Server.
  3. Double-click fDenyTSConnections.
  4. Change the value of this setting to 0 to enable Remote Desktop or 1 to disable it, and click OK.
  5. Close the registry editor, and reboot the computer for the change to take effect.

To determine whether program or port-based exceptions were obtained from local settings or from Group Policy, examine the "Program exceptions" and "Port exceptions" sections of the netsh firewall show state verbose=enable command display. These sections are tables containing the list of exceptions. For each table, there is a "Local policy" column. If the entry in the "Local policy" column for an exception is set to "Yes", the exception was configured through local policy settings. If it is set to "No", the exception was configured through Group Policy settings.


How to use a script to programmatically open ports for SQL Server to use on systems that are running Windows XP Service Pack 2




You cannot turn on or turn off the Windows Firewall setting on a Windows XP Service Pack 2-based computer