Advertisement

05.14.2008 at 12:23PM PDT, ID: 23402811
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

Group Policy:  How do I enable Windows Firewall for public connection, but disable for company LAN/WAN/VPN?

Tags: Microsoft, Windows Firewall, Windows XP SP2, Group Policy Settings for activation and exception criteria
I need to do the following with Windows XP SP2 (Windows) Firewall via Group Policy:

AUTOMATICALLY (NO USER INTERACTION) ENABLE WINXP SP2 WINDOWS FIREWALL
*  ONLY while a system is on a non company DNS domain (public access).  The Firewall should be DISabled while on the corporate LAN/WAN/Domain etc..
*  While Firewall is enabled, make certain Outlook Web Access, Outlook HTTP access, Internet web browsing, and VPN connections can remain operational.

WHAT IS KNOWN
*  Group Policy:  Computer Configuration>Administrative Templates>Network>Network Connection>Prohibit use of Internet Connection Firewall on your DNS domain network .... Know this makes certain the Firewall is not activated while the system is connected directly to the domain - LAN/WAN (not certain if this includes VPN or just certain forms of VPN)

*  The Domain Profile folder and Standard Profile folder exist to differentiate settings for corp and public access

*  If the "Protect All Network Connections" GPo is enabled, the 'Prohibit use of Internet Connection Firewall on your DNS Domain network GPo is voided

QUESTION

How does one make certain the Firewall is indeed ENABLED while on the Public connection and include necessary exceptions without having an admin user turn the Firewall on manually?  I'm pretty certain I see how to add the exceptions, but don't see where the Firewall can be enabled automatically without user interaction, and without voiding the "...no Firewall on your DNS Domain" GPo?

Greatly appreciate your time!
Start your free trial to view this solution
Question Stats
Zone: Security
Question Asked By: OSUPropa
Solution Provided By: Kenneniah
Participating Experts: 1
Solution Grade: B
Views: 125
Translate:
Loading Advertisement...
05.15.2008 at 07:33AM PDT, ID: 21574056

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.19.2008 at 02:42PM PDT, ID: 21601874

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.20.2008 at 06:49PM PDT, ID: 21611638

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.20.2008 at 07:08PM PDT, ID: 21611709

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.21.2008 at 06:43AM PDT, ID: 21614922

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.22.2008 at 06:19AM PDT, ID: 21623521

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.22.2008 at 06:20AM PDT, ID: 21623532

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.23.2008 at 08:01AM PDT, ID: 21632728

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.23.2008 at 08:14AM PDT, ID: 21632850

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.23.2008 at 10:08AM PDT, ID: 21633910

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.23.2008 at 10:14AM PDT, ID: 21633953

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.23.2008 at 12:10PM PDT, ID: 21634932

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Handhelds / PDAs
  • Displays / Monitors
  • Components
  • Networking Hardware
  • Peripherals
  • Laptops/Notebooks
  • Storage
  • Servers
  • Desktops
  • New Users
  • Misc
  • Apple
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMWare
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMWare
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Community Advisor
  • Lounge
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • Community Advisor
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
05.15.2008 at 07:33AM PDT, ID: 21574056

Rank: Sage

All you need to do is set "Windows Firewall: Protect all network connections" to Enabled under Standard Profile, and Disabled under Domain Profile.
Accepted Solution
 
05.19.2008 at 02:42PM PDT, ID: 21601874
Will give that a whirl...
 
05.20.2008 at 06:49PM PDT, ID: 21611638
ACK! I knew it wasn't going to be that easy...

The group policy was set-up as indicated:.

1.  The default domain policy (applied to all domain computers) includes the administrative template: Network/Network Connections/Windows Firewall/Domain Profile/Windows Firewall: Protect all network connections - Disabled
 NOTE:  This setting has been in existence for some time (we've always had the Windows Firewall set so that it was off and no one could turn it on)

2. A test OU container labeled 'FW Test' was created.  A special test 'Firewall Policy' GPO was created and linked to the FW Test' OU container.  The Firewall Policy GPO included the following Administrative Template:  Network/Network Connections/Windows Firewall/Standard Profile/Windows Firewall: Protect all network connections -- Enabled

3.  A couple of test machines that had already been a member of the domain for some time were added to the FW Test container.  

4.  I ran gpupdate /force to update the computer's policy.  I even restarted several times just for good measure.

5.  I ran RSOP.MSC on the computer to view the Resultant Set of Policy.  All looked great!  within the Administrative Templates/Network/Network Connections/Windows Firewall/Standard Profile, the Windows Firewall: Protect all network connections was Enabled.  Within the Network/Network Connections/Windows Firewall/Domain Profile, the Windows Firewall: Protect all network connections setting was Disabled.

6.  I quickly ran to the nearest public Internet connection believing this was EASY.  The Firewall (SharedAccess) service wasn't started.  I couldn't even start it as an administrator manually through the GUI, or command line.

7.  At a loss, I completely removed the PC computer account from the domain and added it to a workgroup -- The Firewall service still wouldn't start.

8.  I set out to find the problem using the error message that appeared when I would try to start the service manually:  "Windows Firewall settings cannot be displayed because the associated service is not running. Do you want to start the Windows Firewall/Internet Connection Sharing (ICS) service?
If you click Yes, you receive the following error message:
Windows cannot start the Windows Firewall/Internet Connection Sharing (ICS) service"

CURRENTLY
I'm at Microsoft KB Article --   http://support.microsoft.com/kb/892199
...states that certain Administrative templates have problems and the default security descriptor for the SharedAccess service needs to be restored.  Which is fine, but the method for doing so seems like it's going to be a huge pain for the couple hundred machines that this policy setting needs to be applied to...

ANY Thoughts?  Perhaps the GPO(s) weren't set-up exactly right?  I smell a call to Microsoft Support coming.




 
05.20.2008 at 07:08PM PDT, ID: 21611709
To add insult to injury, I cannot perform the first method of restoring the default security descriptor:   I get "[SC] OpenService FAILED 5:  Access is denied"
 
05.21.2008 at 06:43AM PDT, ID: 21614922
ok, I just loaded a brand new Windows XP SP2 Image and had first boot-up into a Workgroup -- I could manually switch the Firewall on or off at will using the GUI or command line -- no problem.

I added the PC to the domain -- what looks to be the correct resultant set of group policy shows (Domain - Disabled; Standard - Enabled) -- went to a public Internet site and the firewall service will not start (automatically or manually).  

So, either the application of the Domain=WF Disabled policy by way of the Default Global Domain policy, and then using a sub container and separate test policy that simply enables the firewall in the Standard folder -- is not the way to go and breaks the permissions to the Firewall service.
 
05.22.2008 at 06:19AM PDT, ID: 21623521

Rank: Sage

A service can't start when it's set to disabled in services.msc, which is what the policy does when on a domain. What doesn't seem to be working right is the detection of not being on the domain and enabling the service.

Did you log off and back on after disconnecting from the domain network and connecting to a public one?
 
05.22.2008 at 06:20AM PDT, ID: 21623532

Rank: Sage

The reason I ask, is policy gets applied based upon what Windows detects when you log in. If you were already logged in, but just changed networks it would not redect which policy to use.
 
05.23.2008 at 08:01AM PDT, ID: 21632728
Yes, I did... did a total shutdown... went out the door and traveled to a public Internet (wifi) site.  Powered-up, and nothing.  An IPconfig /all verifies that a totally new and foreign DNS suffix is shown -- all knew Gateway and DNS servers...

One thing I did find was that the actuall Firewall/ICS service was disabled in the default domain policy... this was in addition to the Domain/Protect All Network connections being disabled.

The service was set to 'Automatic' in the default domain policy... did what seemed like 50 gpupdate /force refreshes... and still can't get the service to start whether detached from the domain or on a different domain.  

While on the public Internet access, I ran the "netsh firewall show state" comman line.  I kept getting "This service has not been started"  When I tried to manually start it, no luck.

Is it possible to totally hose the service with domain policy so that it can never be used again no matter what one does?  

I'm beginning to wonder if having the domain profile being set in the default domain policy and the standard profile being set (enabled) in a a sub container and separately linked GPo are the problem.  Perhaps they have to both be a part of the same GPo?
 
05.23.2008 at 08:14AM PDT, ID: 21632850

Rank: Sage

Hmm, not sure, all I can say is that ours are in the same GPO and we've had no problems.
 
05.23.2008 at 10:08AM PDT, ID: 21633910
okay... set the default domain policy to "not configured" for the Domain Profile\ 'Protect all network connections'

Then performed all necessary settings in the test GPo only.  RSOP indicates the domain profile is 'disabled' the standard profile is "enabled"

Going to go to public Internet now and see how she goes.  

Out of curiosity, I did disconnect from our network altogether and try to manually start the firwall service which was sitting -- not started, but set to automatic (as we'd set in default domain policy).

Got the same error -- "Could not start the Windows Firewall\ICS service on Local Computer.  Error 0x80004015:  The class is configured to run as a security ID different from the caller"

 
05.23.2008 at 10:14AM PDT, ID: 21633953

Rank: Sage

LOL, guess I should have looked at the error sooner....
http://support.microsoft.com/kb/892199
 
05.23.2008 at 12:10PM PDT, ID: 21634932
hehe... I forgot to try that KB article again (end of my second comment) after having removed the disabled status of the Firewall/ICS service in the defaul domain policy....  Method 1 worked this time... I'm off to the public connection -- again.  ;-)  Yes, it'd be nice to have a lab setup with a different domain to connect to, will definitely be doing that.

Fingers crossed...
 
 
20080236-EE-VQP-29 / EE_QW_2_20070628