I need a VB script to shut of and disable the windows firewall on XP and 2003 server

I need a VB script to shut of and disable the windows firewall on XP and 2003 server

thanks !!
LVL 1
NAMEWITHELD12Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DonNetwork AdministratorCommented:
Use group policy
http://technet.microsoft.com/en-us/library/bb490626.aspx 
Disabling the Use of Windows Firewall Across Your Network
If you are already using a third-party host firewall product, then it is recommended that you disable Windows Firewall. If you are not already using a third-party host firewall product, then it is recommended that you enable Windows Firewall to prevent the spread of malicious programs that make it past the firewall that separates your network from the Internet.
If you decide to disable the use of Windows Firewall across your entire organization network, which contains a mixture of computers running Windows XP with SP2, Windows XP with SP1, and Windows XP with no service packs installed, and you are using a third-party host firewall, then you should configure the following Group Policy settings:

Prohibit use of Internet Connection Firewall on your DNS domain network is set to Enabled

Domain profile – Windows Firewall: Protect all network connections is set to Disabled

Standard profile – Windows Firewall: Protect all network connections is set to Disabled

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
nffvrxqgrcfqvvcCommented:
Have a look here (vbscript) examples included.
Using Windows Firewall API
http://msdn.microsoft.com/en-us/library/ms758664(VS.85).aspx
0
nffvrxqgrcfqvvcCommented:
The one you want to look at should be and a slight modification to that script is shown in code block.
Verifying Windows Firewall is Enabled
http://msdn.microsoft.com/en-us/library/aa366442(VS.85).aspx

'Verify that the Firewall is enabled. If it is DISABLE it.
If profile.FirewallEnabled = TRUE Then
    profile.FirewallEnabled = FALSE
End If

Open in new window

0
NAMEWITHELD12Author Commented:
THANKS !!!!!!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Batch

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.