Windows Firewall is Blocking Remote Desktop
Log In or Register to download the BES file, and more.

0 Votes

Collections (part of 1 collection)

Windows Configuration

Description

Windows Firewall replaced Internet Connection Firewall starting in Windows XP SP2 and Windows 2003 SP1. The listed computers have the Windows Firewall enabled and configured to block inbound UDP traffic on the port used by RDP (RDP uses port 3389 by default).

Important Note: If the listed computers' firewall settings are being administered through a domain group policy, the results of this action may be overwritten by that policy. The actions below will only affect the local firewall policy, and will not affect any group firewall policy settings that may have been applied by a domain administrator. If your firewall has been configured via a domain group policy, these actions may report back as 'Failed', and the firewall must be disabled or configured through group policy instead.

Property Details

ID2617
StatusAlpha - Code that was just developed
TitleWindows Firewall is Blocking Remote Desktop
DomainBESC
CategorySupport
Download Size0
Sourcedanielheth@bigfix.me
Source ID<Unspecified>
Source SeverityImportant
Source Release Date10/11/2013 12:00:00 AM
Added by on 10/11/2013 11:13:40 AM
Last Modified by on 10/11/2013 11:13:40 AM
Counters 7745 Views / 85 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 223 fixlets   * Results in a true/false
Show indented relevance
(if exists property "in proxy agent context" then ( not in proxy agent context ) else true )
Used in 5 fixlets   * Results in a true/false
Show indented relevance
exists file "netsh.exe" of system folder
Used in 24 fixlets   * Results in a true/false
Show indented relevance
((if (version of client >= "8.0") then (windows of it) else (name of it starts with "Win")) AND platform id of it != 3) of operating system
Used in 22 fixlets   * Results in a true/false
Show indented relevance
version of client >= "7.2"
Used in 4 fixlets   * Results in a true/false
Show indented relevance
(not exists module "inspect.dll") OR (exists module "inspect.dll" AND (version string "ProductVersion" of module "inspect.dll" as version != "4.1.8.05" as version) AND (version string "ProductVersion" of module "inspect.dll" as version != "4.1.8.04" as version))
Used in 3 fixlets   * Results in a true/false
Show indented relevance
((name of it = "WinXP" AND (it != "" AND last 1 of it > "1") of csd version of it) OR ((name of it = "Win2003" OR name of it = "WinXP-2003") AND csd version of it != "")) of operating system
Used in 3 fixlets   * Results in a true/false
Show indented relevance
(not exists key "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall" of registry AND firewall enabled of current profile of local policy of firewall) OR (exists key ("HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\" & (if (current profile type of firewall = domain firewall profile type) then ("DomainProfile") else ("StandardProfile"))) whose (value "EnableFirewall" of it = 1) of registry)
Used in 1 fixlet   * Results in a true/false
Show indented relevance
exists key (if (exists key "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall" of registry) then ("HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\") else ("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\") & (if (current profile type of firewall = domain firewall profile type) then ("DomainProfile") else ("StandardProfile"))) whose (value "DoNotAllowExceptions" of it = 1) of registry OR ((not exists globally open port whose (port of it as string = "3389" AND protocol of it = tcp AND enabled of it) of it) of current profile of local policy of firewall AND exists internet connection firewall whose (enabled of it AND not exists port mapping whose (enabled of it AND protocol of it = "tcp" AND internal port of it as string = "3389") of it) of adapters of network)

Actions

Action 1 (default)

Action Link Click here to leave Windows Firewall enabled, but also allow incoming traffic on the port reserved for RDP.
Script Type BigFix Action Script
wait "{pathname of client folder of site "BESSupport" & "\RunQuiet.exe"}" "{pathname of system folder}\netsh.exe" firewall add portopening protocol=TCP port=3389 name="Remote Desktop" mode=ENABLE profile=ALL

regset "{"[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\" & (if (current profile type of firewall = domain firewall profile type) then ("DomainProfile") else ("StandardProfile")) & "]"}" "DoNotAllowExceptions"=dword:00000000
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.

Action 2

Action Link Click here to disable Windows Firewall.
Script Type BigFix Action Script
regset "{"[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\" & (if (current profile type of firewall = domain firewall profile type) then ("DomainProfile") else ("StandardProfile")) & "]"}" "EnableFirewall"=dword:00000000
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.

Action 3

Action Link Click here for more information about Windows Firewall from Microsoft.
Script Type URL
http://support.microsoft.com/kb/320855
    

Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!