Tip

Eliminate offensive Layered Service Providers (LSPs)

Please let us know how useful you find this tip by rating it below. Do you have a useful Windows tip, timesaver or workaround to share? Submit it to our tip contest and you could win a prize!


Requires Free Membership to View

Layered Service Providers (LSPs) are add-ons to the network stack in Windows that can be used to extend the behavior of the Winsock network system. LSPs are often used to perform functions such as firewalling, network content filtering and enforcing parental controls. Some malware programs are also known to install LSPs against the user's will.

Whether legitimate or not, there's always the possibility that an LSP can cause problems, either with another LSP or with other network services in the computer. The Windows firewall, for instance, might cease to function if a badly written LSP is present in the network stack. Sometimes it's not easy to determine which program has installed an offending LSP (or how to remove it), so it might be necessary to rebuild the LSP catalog manually. Remember, though, that if you do this, you will need to remove and reinstall all third-party LSPs.

To rebuild the LSP catalog in either Windows XP Service Pack 2 or Windows Server 2003 Service Pack 1 or higher, type netsh winsock reset catalog from the command line, and reboot. Before you do this, you can optionally print a list of the existing LSPs by typing netsh winsock show catalog > catalog.txt, which will write the list of LSPs to a text file named catalog.txt. This may be instrumental in determining which LSPs are giving you trouble, but there are a great many LSPs present in the network stack by default, so don't let the size of the catalog intimidate you.

If you're not using either Windows XP SP2 or Windows Server 2003 SP1, a third-party program can be used to find out more about installed LSPs. The free anti-spyware application Spybot Search & Destroy has an interactive LSP browser, and can additionally tell you which ones are valid and which are not.

 


Serdar Yegulalp is editor of the Windows Power Users Newsletter. Check it out for the latest advice and musings on the world of Windows network administrators -- and please share your thoughts as well!


This was first published in June 2005

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

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.