Home > Windows Server Tips > Windows Systems and Network Administration > Netsh Winsock Reset command fixes Windows Firewall error
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS SYSTEMS AND NETWORK ADMINISTRATION

Netsh Winsock Reset command fixes Windows Firewall error


Serdar Yegulalp, Contributor
09.25.2006
Rating: -2.33- (out of 5)


Expert advice on Windows-based systems and hardware
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


There are times admins will want to run the command Netsh WinSock Reset from the command line. This command will rebuild network settings from scratch.

When a major networking error occurs in Windows XP, often the user gets nothing more than a generic warning message. A more detailed error message is usually written to the system log, which can then be used for detailed troubleshooting.

I saw one such error when a user was trying to debug a problem with a connection that had the Windows Firewall turned off. (Don't laugh. For some people, the Windows Firewall is all they have, or can afford.) When the user tried to turn the firewall back on, a generic error came up: "Windows cannot start the Windows Firewall/Internet Connection Sharing Service."

A more detailed error of Event ID 7023 was logged as: The Windows Firewall/Internet Connection Sharing (ICS) service terminated with the following error: An address incompatible with the requested protocol was used.

The MSDN database doesn't provide many details about this error message. But user feedback shows that the error is essentially spurious, the result of a corrupted network-stack setup.

Sometimes this corruption comes about as the aftermath of a spyware cleanup, after the spyware has already done its damage and rendered the Windows Firewall useless. The error is the result of attempting to initialize the appropriate services after their setup informa...


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Windows Systems and Network Management Tools and Techniques
Getting familiar with IPv6 for Windows environments
Perfmon made easy with PAL utility
Troubleshooting Windows application crashes or hangs
Free Windows security tools every admin must have
Top five Server Core management tips for Windows 2008
Top free tools for Windows server administration
A first look at Internet Information Services 7.0
Windows registry hack improves offline file access for mobile users
Reducing the size of network backups in Windows
Monitor network bandwidth with CyberGauge

Microsoft Systems and Network Troubleshooting
DNS troubleshooting best practices
Troubleshooting tops Windows admins' most tedious tasks
Troubleshooting Windows application crashes or hangs
Troubleshooting poor Windows logon performance in Active Directory environments
Immediate steps for Windows disaster recovery
Quick hits: Troubleshooting service account failure, batch job execution
Case Study: Troubleshooting Windows service dependency failures
Troubleshooting common Windows service failures
How can I boot to a floppy and receive a command prompt without being directed to the system drive?
RRAS utility in Windows Server 2003 traces network problems

Windows Systems and Network Administration
How to use Group Policy to centralize system configurations
Troubleshooting Windows application crashes or hangs
Converting VMware ESX machines to Hyper-V format
Using DFSR for SYSVOL replication in Windows Server 2008
Top 25 Windows PowerShell commands for administrators
Key DFS improvements in Windows Server 2008 R2
Free Windows security tools every admin must have
Group Policy makes strides in Windows Server 2008 R2
Quick tips for troubleshooting NTFS permissions
Common causes of Windows server security vulnerabilities

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


tion has been ruined, and so it doesn't generate any really useful information.

The most basic way to fix this is to run the command Netsh WinSock Reset from the command line, which will rebuild the network settings from scratch. However, if that command produces the error "Unable to reset the Winsock Catalog," you'll probably need a third-party tool like the Winsock XP Fix tool to repair everything. (Note: The original author of this tool appears to have gone offline, so the only links available are for third-party distributors.)

About the author: Serdar Yegulalp is editor of the Windows Insight, (formerly the Windows Power Users Newsletter), a blog site devoted to hints, tips, tricks and news for users and administrators of Windows NT, Windows 2000, Windows XP, Windows Server 2003 and Vista. He has more than 12 years of Windows experience under his belt, and contributes regularly to SearchWinComputing.com and SearchSQLServer.com.

More information on this topic:


Rate this Tip
To rate tips, you must be a member of SearchWindowsServer.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Server Room Design - Planning, Cooling, Maintenance
HomeTopicsBlogsITKnowledge ExchangeTipsNewsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts