Open an elevated command prompt and paste the following command, and press enter
netsh advfirewall firewall add rule name= "All ICMP V4" protocol=icmpv4:any,any dir=in action=allow
Open an elevated command prompt and paste the following command, and press enter
netsh advfirewall firewall add rule name= "All ICMP V4" protocol=icmpv4:any,any dir=in action=allow