Netsh Commands for Windows Sockets (WINSOCK)
Applies To: Windows Server 2008
You can use commands in the netsh winsock context to configure Windows Sockets. The Netsh commands for winsock can be run manually at the netsh prompt or in scripts and batch files.
To run these commands from the command prompt, you must either enter the netsh winsock context or prepend the context to the command. For example, if you are at the command prompt but have not typed netsh and then winsock to enter the netsh winsock context, you must type:
netsh winsock command
Where command is the command that you want to run, including all of the required parameters for the command.
This section contains the following commands.
audit trail
remove provider
reset
show catalog
For information on how to interpret netsh command syntax, see Formatting Legend.
Netsh winsock command reference
The following entries provide details for each command.
audit trail
Shows the audit trail of Layered Service Providers (LSPs) that have been installed and uninstalled.
Syntax
audit trail
remove provider
Removes a Winsock Layered Service Provider (LSP) from the system.
Syntax
remove providercatalog_id
Parameters
- catalog_id
Required. Specifies the catalog identifier of the Layered Service Provider (LSP) that you want to remove from the system.
reset
Restores the Winsock Catalog to a clean state and uninstalls all Winsock Layered Service Providers.
Syntax
reset
Remarks
The reset command restores the Winsock Catalog to a clean state. After the command is run, all Winsock LSPs that were previously installed must be reinstalled. This command does not affect Winsock Name Space Provider entries.
show catalog
Displays the contents of the Winsock Catalog.
Syntax
show catalog
Remarks
Following is an example output of the show catalog command:
Winsock Catalog Provider Entry
------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Winsock Catalog Provider Entry
------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Winsock Catalog Provider Entry
------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|