Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1986-2001 Microsoft Corp. C:\WINDOWS>netsh firewall delete allowedprogram ?
delete allowedprogram
[ program = ] path
[[ profile = ] CURRENT|DOMAIN|STANDARD|ALL ]
Deletes firewall allowed program configuration.
Parameters:
program - Program path and file name.
profile - Configuration profile (optional).
CURRENT - Current profile (default).
DOMAIN - Domain profile.
STANDARD - Standard profile.
ALL - All profiles.
Examples:
delete allowedprogram C:\MyApp\MyApp.exe
delete allowedprogram program = C:\MyApp\MyApp.exe