Quoted from this website.
Reason:
By default ICMP echo requests, used for ping command is blocked in Windows 7 firewall default settings.
Solution:
1) Disable the firewall completely in windows 7, which is not recommended.
2) Create an exceptional rule for ICMP echo request to reply ping commands in existing firewall, without disabling it completely.