Skip to content

afu-it/ADB-firewall-block

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Adobe Programs Firewall Blocking Tool

This tool helps you block network connections for Adobe programs using Windows Firewall. It creates both inbound and outbound blocking rules for the selected Adobe application.

Requirements

  • Windows Operating System
  • Administrator privileges
  • Adobe programs installed in the default location (C:\Program Files\Adobe...)

How to Use

  1. Run as Administrator

    • Right-click on Block-AdobePrograms.bat
    • Select "Run as administrator"
    • Click "Yes" if prompted by User Account Control (UAC)
  2. Select Program

    • Choose the program you want to block:
      1. Illustrator
      2. Photoshop
      3. After Effect
      4. Premiere Pro
      5. Exit
    • Type the number and press Enter
  3. Find and Copy Program Path Follow these steps carefully to get the correct program path:

    1. Right-click on your Adobe program shortcut
    2. Click "Open file location"
    3. IMPORTANT: Make sure you are in C:\Program Files\Adobe folder
      • NOT in C:\ProgramData\Microsoft
    4. Right-click on the actual .exe file
    5. Hold Shift and click "Copy as path"
    6. Paste the path in the script
    7. IMPORTANT: Remove any quotes (") from the pasted path

    Example of correct path format:

    C:\Program Files\Adobe\Adobe Illustrator 2024\Support Files\Contents\Windows\Illustrator.exe
    
  4. Verify Rules

    • The script will create two firewall rules:
      • Inbound blocking rule
      • Outbound blocking rule
    • You'll see a success message if rules are created properly

Troubleshooting

  1. "This script requires administrator privileges"

    • Make sure to right-click and "Run as administrator"
  2. "The specified file does not exist!"

    • Check if you removed all quotes (") from the path
    • Verify you're using the correct Adobe program path
    • Make sure you're not using a shortcut path
  3. "Error creating firewall rules!"

    • Make sure Windows Firewall service is running
    • Verify you have administrator privileges
    • Check if the path contains any special characters

Checking the Rules

To verify the firewall rules were created:

  1. Open Windows Defender Firewall with Advanced Security
    • Press Win + R
    • Type: wf.msc
    • Press Enter
  2. Look for rules named "Block-[ProgramName]" in both:
    • Inbound Rules
    • Outbound Rules

Removing the Rules

If you need to remove the blocking rules:

  1. Run the script again
  2. Select the same program
  3. Enter the path
  4. The script will automatically remove old rules before creating new ones

Or manually:

  1. Open Windows Defender Firewall with Advanced Security
  2. Find rules named "Block-[ProgramName]"
  3. Right-click and select "Delete"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors