Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Windows Registry Editor Version 5.00
- [HKEY_CLASSES_ROOT\exefile\shell\firewallblock]
- @="Add to Firewall" ; String to be displayed in context menu
- "HasLUAShield"="" ; Adds UAC shield icon to the left of the command
- "Extended"="" ; Requires shift to be held when right-clicking
- [HKEY_CLASSES_ROOT\exefile\shell\firewallblock\command]
- @="cmd.exe /s /c for %%a in (\"%1\") do netsh advfirewall firewall add rule name=\"Block %%~na\" dir=out action=block program=\"%1\""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement