JSI Tip 8426. How do I disable the Windows Firewall standard and/or domain profile from the command-line?

To disable the domain profile:

netsh firewall set opmode mode=disable profile=domain

To disable the standard profile:

netsh firewall set opmode mode=disable profile=standard



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish