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.
- Windows Operating System
- Administrator privileges
- Adobe programs installed in the default location (C:\Program Files\Adobe...)
-
Run as Administrator
- Right-click on
Block-AdobePrograms.bat - Select "Run as administrator"
- Click "Yes" if prompted by User Account Control (UAC)
- Right-click on
-
Select Program
- Choose the program you want to block:
- Illustrator
- Photoshop
- After Effect
- Premiere Pro
- Exit
- Type the number and press Enter
- Choose the program you want to block:
-
Find and Copy Program Path Follow these steps carefully to get the correct program path:
- Right-click on your Adobe program shortcut
- Click "Open file location"
- IMPORTANT: Make sure you are in
C:\Program Files\Adobefolder- NOT in
C:\ProgramData\Microsoft
- NOT in
- Right-click on the actual .exe file
- Hold Shift and click "Copy as path"
- Paste the path in the script
- 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 -
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
- The script will create two firewall rules:
-
"This script requires administrator privileges"
- Make sure to right-click and "Run as administrator"
-
"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
-
"Error creating firewall rules!"
- Make sure Windows Firewall service is running
- Verify you have administrator privileges
- Check if the path contains any special characters
To verify the firewall rules were created:
- Open Windows Defender Firewall with Advanced Security
- Press Win + R
- Type:
wf.msc - Press Enter
- Look for rules named "Block-[ProgramName]" in both:
- Inbound Rules
- Outbound Rules
If you need to remove the blocking rules:
- Run the script again
- Select the same program
- Enter the path
- The script will automatically remove old rules before creating new ones
Or manually:
- Open Windows Defender Firewall with Advanced Security
- Find rules named "Block-[ProgramName]"
- Right-click and select "Delete"