On a Windows Server 2012 R2 How do I enable all firewall outbound so all outbound traffic is allowed?

On a Windows Server 2012 R2 How do I enable all firewalls outbound so all outbound traffic is allowed?
Who is Participating?
Tom CieslikIT EngineerCommented:
In most cases Outbound rules will be enabled for default.
Maybe few of them will be disabled so there is not much work

But if you want to do using one shot method just do this

For default you should have 3 firewall policies


List all profiles to know names

CMD as Administrator

netsh advfirewall show allprofiles

Use name for profile you want to activate

netsh advfirewall set privateprofile dir=out  action = enable
Tom CieslikIT EngineerCommented:
On search type Firewall and go to Windows Firewall Advanced Security

On left click on Outbound rules
Make sure all rules are enabled and all rules Action is set to Allow

AnthonyMCSEAuthor Commented:
Isn't there a way to do this without touching every single outbound rule?
Like some setting that disables the Outbound rules, or some special rules that can be setup with a high priority so the other default outbound rules are ignored?
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Do you have rules that are actually blocking any of the outbound traffic? And are you sure Windows Firewall is doing it, versus your network's firewall or router?
Rob WilliamsCommented:
By default all Windows firewalls allow all outbound traffic.  Why do you think some traffic is blocked.  Maybe we can help with a specific problem.
Rob WilliamsCommented:
PS- if someone has created outbound rules you can reset to default as per TechNet.  It is quite straight forward
David Johnson, CD, MVPOwnerCommented:
create 2 rules one for TCP and one for UDP
allow port 1-65535 from ANY to ANY
AnthonyMCSEAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.