Solved may i know the firewall command line to block a program?

drugo

New member
Member
VIP
Local time
8:25 PM
Messages
476
Hi

may i know the firewall command line to block a program in and out?


i did a search a lot ,but i need only the command line to block a program

thanks
 

My Computer

Computer type
PC/Desktop
OS
windows 7 ultimate 64bit
netsh advfirewall firewall add rule name="My Application" dir=in action=allow program="C:\MyApp\MyApp.exe" enable=yes
 

My Computer

OS
windows 7 professional 32bit
netsh advfirewall firewall add rule name="My Application" dir=in action=allow program="C:\MyApp\MyApp.exe" enable=yes

but i want to block in and out not a alow
 

My Computer

Computer type
PC/Desktop
OS
windows 7 ultimate 64bit
netsh advfirewall firewall add rule name="Block skype" dir=in action=deny program="C:\program\skype.exe" enable=yes
 

My Computer

OS
windows 7 professional 32bit
netsh advfirewall firewall add rule name="Block skype" dir=in action=deny program="C:\program\skype.exe" enable=yes
thanks mate
 

My Computer

Computer type
PC/Desktop
OS
windows 7 ultimate 64bit
Back
Top