Solved

Disable XP & XPSP2 Firewall from Kix script

Posted on 2004-09-20
2
541 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
ID: 12103804
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
ID: 12105044
The service in charge is "SharedAccess". To find out, go to Service Applet and open properties of service.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 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

12 Experts available now in Live!

Get 1:1 Help Now