|
-
November 2nd, 2005, 05:11 AM
#1
Disabling Windows XP SP2 Firewall
So im trying to disable Windows XP Firewall and will this work
"How to disable the Windows XP Firewall in 3 lines of VBScript
By the way, the Windows Firewall has its own object model, and is fully scriptable. We intend to document this as fully as we can by the time Service Pack 2 is officially released. In the meantime, here are a couple scripts you can play around with. Over the next week or so, I'll pop a few additional scripts into the blog, just to give you a better idea of what (and how) you'll be able to manage the firewall after you upgrade all your XP machines to Service Pack 2.
As I noted before, the Windows Firewall is enabled by default when you install Service Pack 2. For most people that's a good thing; if you already have a firewall running on your machine, however, you might not want to have Windows Firewall running as well. So how can you disable Windows Firewall? Why, by running this script, of course:
Set objFirewall = CreateObject("HNetCfg.FwMgr")
Set objPolicy = objFirewall.LocalPolicy.CurrentProfile
objPolicy.FirewallEnabled = FALSE" (http://www.kayodeok.co.uk/weblog/200..._firewall.html)
~Maholo~
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|