The first solution you can disable the firewall completely although this is not recommended. The second solution is to create an exceptional rule for ICMP echo request to reply the ping commands in existing firewall, without disabling it completely. For the good, let's discuss the second solution.
Actually, to add exceptional rule for ICMP echo requests can be done with the graphics mode, but for reasons of convenience then I will share how to enable ping in Windows 7 Firewall easily via the command prompt. Follow these steps:
- Open the command prompt in administrator mode. Click Start button and type “cmd” into the search box. Once the pop-up appears, right click it and select “Run as administrator”.
- in the command prompt which is run in the administrator mode, type the command below:
netsh advfirewall firewall add rule name=”ALL ICMP V4″ protocol=icmpv4:any,any dir=in action=allow
The command above is used to enable the ICMP request. To disable it, type the command below:
netsh advfirewall firewall add rule name=”ALL ICMP V4″ protocol=icmpv4:any,any dir=in action=block
No comments:
Post a Comment