Microsoft KB Archive/914230

= You cannot turn on or turn off the Windows Firewall setting on a Windows XP Service Pack 2-based computer =

Article ID: 914230

Article Last Modified on 10/26/2007

-

APPLIES TO


 * Microsoft Windows XP Service Pack 2
 * Microsoft Windows XP Service Pack 2

-





SYMPTOMS
You cannot turn on or turn off the Windows Firewall setting on a Microsoft Windows XP Service Pack 2 (SP2)-based computer.



CAUSE
This issue occurs when the Netfw.inf file is not updated on the computer.



RESOLUTION
To resolve this issue, follow these steps:  Repair the Winsock registry key. To do this, follow these steps:  Click Start, click Run, type cmd, and then click OK. At the command prompt, type netsh winsock reset, and then press ENTER. Type exit, and then press ENTER to close the Command Prompt window. Restart the computer.

Warning The netsh winsock reset command may adversely affect programs that access or monitor the Internet such as antivirus programs, firewall programs, or proxy clients. If you have a program that does not function correctly after you use the command, reinstall the program to restore functionality.

If steps a through d do not resolve the issue, continue to step 2.</li> Reinstall the Netfw.inf file. To do this, follow these steps:  Click Start, click Run, type explorer, and then click OK.</li> Locate and then open the following folder:

%Windir%\Inf

Note The %Windir% folder is the folder where you installed Microsoft Windows. The Inf folder is a hidden folder. To view the Inf folder, you must change the folder options on the computer so that you can view hidden files and folders. To do this, follow these steps:  On the Tools menu, click Folder Options.</li> On the View tab, click Show hidden files and folders in the Advanced settings list.</li> Click Apply, and then click OK.</li></ol> </li> Right-click the Netfw.inf file, and then click Install.</li> Change the folder options on the computer so that you cannot view hidden files and folders. To do this, follow these steps:  On the Tools menu, click Folder Options.</li> On the View tab, click Do not show hidden files and folders in the Advanced settings list.</li> Click Apply, and then click OK.</li></ol> </li></ol> </li></ol>

<div class="moreinformation_section">

MORE INFORMATION
To turn on or to turn off the Windows Firewall setting, follow these steps:
 * 1) Click Start, click Run, type firewall.cpl, and then click OK.
 * 2) On the General tab, click On (recommended) or Off (not recommended), and then click OK.

For computers that are running Windows XP SP2, the netsh command can rebuild the Winsock registry key. For more information, visit the following Microsoft Web site:

http://technet.microsoft.com/en-us/library/bb457156.aspx

Keywords: kbtshoot KB914230

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.