Skip to main content
13 votes

Windows 10 - Disable warning notification about disabled firewall via GPO

Click the Start button, type Security and Maintenance. (This should take you to Control Panel\All Control Panel Items\Security and Maintenance in the Control Panel.) You can also go directly to the ...
Mike F's user avatar
  • 141
11 votes
Accepted

Windows 10 - Disable warning notification about disabled firewall via GPO

It's not possible to disable the firewall notifications alone, but since Windows 10 build 1607 it has been possible to disable all Security and Maintenance Notifications using HKEY_CURRENT_USER\...
Esa Jokinen's user avatar
  • 50.2k
9 votes

PsExec Slow to connect when Windows Firewall Enabled

Apparently this is an issue with the Group Policy client when enabling "Remote Service Management". The fix is to run the following command: netsh advfirewall firewall set rule name="Remote Service ...
Jeff McJunkin's user avatar
9 votes

Windows 10 - Disable warning notification about disabled firewall via GPO

I have spent 3 days testing this on 2 machines. When the following is in place the notifications do not pop up for the the firewall. When I remove them they comeback. I also tested inserting this into ...
prophet_1's user avatar
8 votes
Accepted

Do new Windows firewall rules affect currently open connections?

Changing firewall rules will definitely affect open connections. Rules take effect immediately, and the firewall will prevent any more traffic going through closed ports. These are older articles, ...
JonathanDavidArndt's user avatar
8 votes

Windows firewall blocking network shares through VPN server

I realize this is almost three years late, but I just spent today fighting with the same problem. I did get it working, so I figured I'd share. Note that I'm using a Windows 7 PC as the file server; ...
Brian's user avatar
  • 81
8 votes

Does Windows Firewall have the ability to log which exe is blocked?

p0rkjello answered correctly but left key things, after struggling for hours I found the solution. Open CMD with administrator privilege, paste command auditpol /set /subcategory:"{0CCE9226-69AE-11D9-...
Zaheer's user avatar
  • 181
8 votes
Accepted

Block an application from accessing the network, except for a single IP address

According to this answer you can't create an exception for an outgoing block rule. So instead you will need to create multiple block rules for the executable, so as to cover the entire IP address ...
Harry Johnston's user avatar
8 votes
Accepted

What are differnet between local port and remote port of firewall in Windows 2016 server?

The local port is the port number on the local computer, in this case your Windows 2016 server. The remote port is the port number on the remote computer, in this case the client that is connecting ...
Harry Johnston's user avatar
7 votes

Hardening a file-serving Windows Server 2019 instance

First of all, reinstall the server, because : This one might be compromised and can't be trusted anymore. Windows is secure by default, and maybe someone lowered the security settings of your server, ...
Swisstone's user avatar
  • 6,915
6 votes

How can I use netsh to find a rule using a pattern

On Windows 10 I get a warning when I execute netsh advfirewall, saying that future Windows versions may not support that feature anymore and one should use PowerShell instead. Luckily, what the OP ...
bcody's user avatar
  • 160
5 votes

Apache tomcat server win8 cannot be accessed outside of local host

The 8080 is the tomcat port. Should allow the Tomcat on the firewall (it is not allowed by default)... Firewall - Allow an app or feature through Windows Firewall - Another program - browse Tomcat7....
Csaba Vajo's user avatar
5 votes
Accepted

Copy a Windows Server Firewall address list from one rule to another using Powershell

What you need to do is: Get the original rule by name Get the address filter out of it Get the new rule by name Set the address filter in it And yes, you can merge a lot of those into a one-liner, ...
TessellatingHeckler's user avatar
4 votes

Windows firewall logging. Log file is always blank

In my case, it happened after promoting a Windows 2012R2 as a Domain Controller. Adding the NT SERVICE\MPSSVC account with Full Controll permissions on the C:\Windows\System32\LogFiles\Firewall ...
Luke's user avatar
  • 479
4 votes

Windows Firewall: Remote Desktop block action by local policy

I had the same issue and found it was due to a space in the GPO comma delimited list. I documented this on my blog: TLDR: Don’t put any spaces in the IP address list for the GPO setting for ...
security_chief's user avatar
4 votes
Accepted

Windows Firewall - difference between disable and "block"

Disabling a rule means that the rule will no longer take effect. The block action refers to the behaviour of the rule itself...that is should it allow or block the traffic matched by that rule. So ...
Alex Moore's user avatar
  • 1,764
4 votes

Windows Firewall misbehaving

OK, so I found that the setting 'Apply local firewall rules' was being set to 'no' by group policy: this is confirmed in gpresult: GPO: Server firewall - logging only Folder Id: SOFTWARE\...
Jim ReesPotter's user avatar
3 votes

AWS Security Groups vs Windows Firewall

I don't know if it's a "best practice" from the community, but Amazon recommends doing it. "We recommend that you disable Windows Firewall and control access to your instance using security group ...
foxontherock's user avatar
3 votes

Enable file and print sharing command line - how to enable it just for profile=private

Circling around the subject there are rare cases when using local language names doesn't work, ie. Polish Udostępnianie plików i drukarek (SMB — ruch przychodzący) = File and Printer Sharing (SMB-In). ...
Matias's user avatar
  • 31
3 votes
Accepted

A software firewall with web interface / login possibilities for single windows server

If this is a company setup we're talking about here, there's no reason at all for that SQL server to be accessible from the internet. If you need to allow access from roaming clients, use a proper ...
Stuggi's user avatar
  • 3,576
3 votes

How do I disable the firewall on a single interface in Windows 7?

There is an GUI option to disable a firewall on a specific NIC with Advanced Security, here is how to: go to CP --> System & Security ---> Windows Firewall --> advanced setting(left ...
Ahmed's user avatar
  • 31
3 votes
Accepted

How to block CIFS (mounting) access for certain users in Windows Server 2012 R2?

It sounds like you're trying to work around a political problem with a technical solution. The "right" (IMHO) way to do this is to stop trying to hack up user specific outbound firewall rules and ...
Ryan Bolger's user avatar
  • 16.9k
3 votes
Accepted

Windows Server Wail2ban and Folder Sharing not working together - Error 4625 no IP

I now have this working with a few alterations. I have changed the NTLM settings back to default, this is not necessary to do unless you have followed other articles and changed these settings. A ...
The Humble Rat's user avatar
3 votes
Accepted

blocking ip address with netsh filter

The netsh ipsec and netsh firewall contexts are provided for backwards-compatibility with Windows 2000/XP/2003. Both were good for working remotely with older versions of Windows, and for configuring ...
Esa Jokinen's user avatar
  • 50.2k
3 votes
Accepted

Windows network shares still visible (and accessible) with "file and printer sharing" deactivated

Alright, so this guy's troubleshooting basically provided the solution: Why is file sharing over internet still working, despite all firewall exceptions for filesharing being disabled? He states: It'...
lauxjpn's user avatar
  • 231
3 votes
Accepted

Can you delete Local Firewall policies using group policy?

I don't think that would be practical, due to a custom rule could be created and you wouldn't be able to cover all of those rules. It is possible to use group policy to not apply local rules, but ...
Greg Askew's user avatar
  • 37.1k
3 votes
Accepted

PowerShell: how open a Windows Firewall port

To answer your question in the comments: to make a PowerShell script that returns you if the port is open or not so I need to have a positive/negative response from PowerShell Maybe this can help ...
doenoe's user avatar
  • 211
3 votes
Accepted

Spagetti GPOs - All sort of Windows Firewall settings that ultimate disable in favor of Kaspersky

If you're disabling the Windows Firewall, (which I don't recommend,) then any Windows Firewall (and IPsec) rules distributed through GPO become pointless.
Ryan Ries's user avatar
  • 55.9k
3 votes
Accepted

What port/s does VMware Workstation use to connect to a vCenter server?

VMware Workstation 14.x is able to connect to vCenter using just port 443. I have verified this with Wireshark including (1) connecting to the server and (2) viewing the remote console. Your ...
Jens Ehrich's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible