Solved

Administrator overide GPO firewall settings

Posted on 2014-02-25
7
299 Views
Last Modified: 2014-02-25
I have networks where the Windows Firewall settings are configured through Group Policy. This makes it so the firewall cannot be turned off. Is there a way to configure this so an administrator can disable the Windows Firewall?
0
Comment
Question by:ajdratch
  • 3
  • 2
  • 2
7 Comments
 
LVL 35

Expert Comment

by:Mahesh
ID: 39886844
Do you want to disable or enable firewall through GPO ?

Unable to get clarity on your question

However I can tell you

Create a new GPO and apply it on OU containing computers
Specify below settings depending upon your requirements (enable or disable)

Navigate to Computer configuration\policies\windows settings\security settings\windows firewall with advanced security and right click on windows firewall with advanced security-LDAP and go to properties
based on your requirements turn on \ off firewall state for private, public and domain profiles

Also navigate to Computer configuration\policies\windows settings\security settings\system services and enable \ do not define windows firewall service with automatic mode

Also navigate to computer configuration\administrative templates\windows components\security centre and enable \ disable "turn on security centre (domain PCs only)

Once you enable \ disable these all settings, then apply this policy to OU containing computers and also select this policy in GPMC , right click and select enforce

Now this policy will not be overwritten by any other firewall policy and enforced to all computers in scope

Note: Do not apply this policy at domain level, otherwise all servers, domain controllers also get affected with this policy

Mahesh
0
 
LVL 38

Expert Comment

by:Hypercat (Deb)
ID: 39886887
Basically, as Mahesh sort of indicated, the only way to do this is to create a new GPO and apply it only to the Domain Admins group, or to the Administrator account specifically if that's the only account you want to exempt.  What I would do is create the policy and then set ONLY the Windows firewall policy the way you want it.  This way, any other policies that would normally apply when the account logs on will be applied also.
0
 

Author Comment

by:ajdratch
ID: 39886905
I was hoping for a way to let an administrator unload the firewall at a users computer. These administrators do not have access to GPO
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 35

Expert Comment

by:Mahesh
ID: 39886930
Still unable to understand what you are trying to say

You mean does administrators have ability to enable \ disable firewall on client computers ?
0
 
LVL 38

Expert Comment

by:Hypercat (Deb)
ID: 39887063
Once a group policy is set and applied according to the computer and user settings in that GPO, then they are enforced until a different set of group policies is applied.  The only way to apply a different set of group policies is to log on with a different user ID that is set up to use a different group policy object.  How is the computer going to "know" that an administrator is turning off the firewall, unless the administrator is logged on to the computer?  So, as I described, in order for the administrator to be able to turn off the firewall at a user's computer, the administrator would have to have a different GPO applied to that account, and he/she would have to log on to the user's computer with his/her logon ID and password.  This logon would cause the administrator's policy to be applied instead of the user's policy, which would allow the administrator to turn off the firewall.  The firewall would be off only as long as the administrator is logged on.  When the user logs back on, the firewall would be back on because that is part of the policy that applies to the user.

I know it sounds a bit complex but it's really logical. Policy A applies to the user and turns on the firewall and the firewall stays on while the user is logged on.  Policy B applies to the administrator and turns off the firewall and it stays off as long as the administrator is logged on. That's the only way to do it.
0
 
LVL 35

Accepted Solution

by:
Mahesh earned 500 total points
ID: 39887116
Since the firewall settings is for computer, applying it on user basis (administrator) will not help

Even if you apply multiple policies to computers, the one that is last applied will win, it will not check who is logged on to computer

The only way I can see is to move computer in different OU where you have set policy (disable firewall) and then run gpupdate /force to make it effective

Mahesh
0
 

Author Closing Comment

by:ajdratch
ID: 39887478
This is what I have been doing but I was hoping to find a work around. As you said, the policy is applied to the computer and not user so creating one for administrator will not help. My problem is trying to find a way for administrators  to turn it off without accessing GPO. Sounds like it cannot be done.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now