@echo off
setlocal
set "GROUP=QuickClose_VulnPorts"
:: Must run as Administrator
net session >nul 2>&1 || (echo [!] Run this as Administrator.& pause & exit /b 1)
echo [+] Deleting firewall rules in group "%GROUP%"...
netsh advfirewall firewall delete rule group="%GROUP%" >nul 2>&1
echo [✓] Ports reopened (custom block rules removed). Existing allow/deny rules outside this group remain unchanged.
endlocal