Disable or Enable Firewall on Hyper-V
- Angelo Schalley
- Aug, 22, 2012
- Hyper-V, security, Windows-Microsoft
- 5 Comments
To disable the firewall in the currently running profile, you can issue the command:
netsh advfirewall set currentprofile state off
And re-enable with:
netsh advfirewall set currentprofile state on
Note: If your Hyper-V is internet facing, disabling the firewall is not recommended.
5 Responses so far.
Leave a Reply
This site uses Akismet to reduce spam. Learn how your comment data is processed.
thanks
I am very grateful.
Very important to note that this is only to disable the currentprofile. Many users won’t notice that and wonder why they’re still running into issues after they think they’ve disabled teh firewall. What you should run for troubleshooting purposes is:
netsh advfirewall set allprofiles state off.
Remember to turn back on when you’re done.
Thank you Drew for your addition. A lot of people will find this helpful :-). Thanks
Thank you very much Angelo!!!