none
Enable ICMPv4 (ping) via Unattended.xml firewall group in Networking-MPSSVC-Svc\FirewallGroup

    Question

  • Hello,

    We are using MDT to deploy Windows operating systems (2008 R2 and 2012)
    We figured out how to enable RDP connections and allow that traffic though the firewall; a perfect example is on MSDN / Technet / Documentation.

    But, there is no lists of options (or rather Firewall Groups) which we can use to map ICMP (Ping) requests and allow this.

    Does anybody know how to achieve the goal described above?

    Kind regards,

    J

    Tuesday, October 15, 2013 3:18 PM

All replies

  • I'm not sure how it would be done in the unattend.xml, but you can certainly enable the setting during deployment with a command line task.  You can execute the following command:

    netsh advfirewall firewall add rule name=”All ICMP V4″ dir=in action=allow protocol=icmpv4

    • Proposed as answer by Andrew Barnes Tuesday, October 15, 2013 8:41 PM
    Tuesday, October 15, 2013 5:23 PM
  • There's no way in the unattennd.xml (That I am aware of) apart from running a RunSynchronous command with the command line above(or similar).

    Blog: http://scriptimus.wordpress.com


    Tuesday, October 15, 2013 8:44 PM