Solved

Disable XP & XPSP2 Firewall from Kix script

Posted on 2004-09-20
2
529 Views
Last Modified: 2012-06-21
Hi All,

I've been trying to figure out how to disable the XP firewall through a kix script. Was wondering if someone knew under what service name it runs that I could end in a command prompt

I believe service names are different in XP SP1 and XP SP2.

My original idea is just to send a Net stop command....

Any ideas greatly appreciated!
0
Comment
Question by:DavidASolis
2 Comments
 
LVL 59

Accepted Solution

by:
LeeTutor earned 125 total points
Comment Utility
In SP2, the netsh command has been modified to allow configuration of the Windows firewall.  See this page:

http://www.microsoft.com/technet/community/columns/cableguy/cg0104.mspx

New Configuration Options with Netsh and Group Policy
With Windows XP with SP1 and Windows XP with no service packs installed, the only way to enable or disable ICF is through the Network Connections folder, the Network Setup Wizard, and the Internet Connection Wizard. To configure excepted traffic, you must either use the Network Connections folder or your application must be ICF-aware, in which case it automatically enables excepted traffic when it runs.

With Windows XP SP2, you have the following additional configuration options:

• Netsh commands

Netsh is a command-line tool through which you can configure settings for network components. To configure a component, it must support a set of commands through a Netsh context. Windows XP with SP1 and Windows XP with no service packs installed have no Netsh context for Windows Firewall. With Windows XP SP2, you can now configure Windows Firewall settings through a series of commands in the netsh firewall context. Using Netsh, you can create Netsh scripts to automatically configure a set of Windows Firewall settings for both TCP/IP and IPv6. For more information, see Appendix B of Deploying Windows Firewall Settings for Microsoft Windows XP with Service Pack 2.
 
0
 
LVL 68

Expert Comment

by:Qlemo
Comment Utility
The service in charge is "SharedAccess". To find out, go to Service Applet and open properties of service.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like 192.168.xxx.1, I've seen routers with default values of: 192.168.0.1, 192.168.1.1, 192.168.11.1, …
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

743 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

14 Experts available now in Live!

Get 1:1 Help Now