Skip to main content

Problem with Windows Security pop-up when launching Application

Issue

When launching an application, you are prompted with a Windows Security dialog stating Windows Firewall blocked some features and that this setting is managed by your organization. The option to allow is greyed out and you would like to allow application to access the network.

Screenshot Windows Security message about Windows Firewall when launching application

Cause

The application requires network access to operate and there is no firewall rule in place permitting this access while connected to the BCIT network. Not all applications create a firewall rule automatically during its installation.

Resolution

Depending on the application you will need to manually modify a firewall rule the application has created or create a new one.

To verify/modify a firewall rule:

  1. Select Cancel on the Windows Security dialog.
  2. Launch Windows Defender Firewall with Advanced Security (C:\Windows\system32\WF.msc)
  3. Find all the entries for the application by “Name” or “Program” columns – if no entries exist, you will have to manually create the Windows Firewall rule. See Create Firewall Rule below.
    1. e.g. Android Studio – adb.exe

      Screenshot of Create Firewall Rule

  4. Double click each entry to edit its properties.
    1. Select the General tab.
    2. Select “Allow the connection”
    3. Select the Advanced tab.
    4. Check “Domain” to allow while connected to the BCIT network (includes myVPN)
    5. (Optional) Check Private to allow while connected to a network classified as “Private”
    6. (Optional) Check Public to allow while connected to any other network
    7. Select OK to save changes.

      Screenshot Windows Security popup adb Properties

To create a new firewall rule:

  1. Select Cancel on the Windows Security dialog.
  2. Launch Windows Defender Firewall with Advanced Security (C:\Windows\system32\WF.msc)
  3. Right click on “Inbound Rules” and select “New Rule…”
  4. Select ‘Program’
    Screenshot Windows Security Create new firewall rule Box New Inbound Rule Wizard
  5. Select “Browse” under ‘This program path:’
  6. Locate and select the application executable in the file browser you want to allow.
  7. Select “Open”
    Screenshot Windows Security Create new firewall rule Select next on pop up window
  8. Select “Next”
  9. Select “Allow the connection”
  10. Select “Next”
  11. Ensure “Domain” is checked. Optionally check “Private” and/or “Public” if required.
    Screenshot Windows Security Create new firewall rule pop up window ensure Domain checked
  12. Select “Next”
  13. Type in a descriptive name for the rule e.g. Android Studio
  14. Select “Finish”

More information about software licensing at BCIT