Will give that a whirl...
Main Topics
Browse All TopicsI 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>Administrati
* 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!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
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.c
...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.
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.
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?
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?
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"
LOL, guess I should have looked at the error sooner....
http://support.microsoft.c
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...
Business Accounts
Answer for Membership
by: KenneniahPosted on 2008-05-15 at 07:33:51ID: 21574056
All you need to do is set "Windows Firewall: Protect all network connections" to Enabled under Standard Profile, and Disabled under Domain Profile.