Network shell (Netsh) is a tool an administrator can use to configure and monitor network devices on Windows based computers at a command prompt. A common use of Netsh, is to reset the TCP/IP stack back to default settings.
But not only will Netsh reset the TCP/IP stack, but it can also completely reset your network adapter(s). It will also reset the Windows Firewall in Windows Vista.
Using Netsh in Windows Vista
To use Netsh, you will need to open a Command Prompt as an administrator. There are two ways to do this:
- Click the Start button, then All Programs, then Accessories, then right-click Command Prompt, and then click Run as administrator. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
or
- Click the Start button. In the search box, type Command Prompt, and then, in the list of results, right-click Command Prompt, and then click Run as administrator. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
Netsh commands in Windows Vista
The following is a list of the Netsh commands you can use to reset your Windows Vista network adapter:
Resets interface informationnetsh int reset all
Resets TCP/IP and related components to a clean state.netsh int ip reset c:\resetlog.txt
Resets IPv6 configuration state.netsh int ipv6 reset
Resets firewall configuration to default. Restoring the default settings will delete all Windows Firewall settings that you have changed. For example, if you have allowed certain programs through the firewall, those programs will be blocked again.netsh firewall reset
Resets Winsock Catalog to a clean state. All Winsock Layered Service Providers which were previously installed must be reinstalled. This command does not affect Winsock Name Space Provider entries.netsh winsock reset
fa26b1c0-9ef2-4be3-85ac-e2158ad27e10|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Network shell (Netsh) is a tool an administrator can use to configure and monitor network devices on Windows based computers at a command prompt. A common use of Netsh is to reset the TCP/IP stack back to default settings.
But not only will Netsh reset the TCP/IP stack, but it can also completely reset your network adapter(s). It will also display the network diagnostics page in Windows XP.
Using Netsh in Windows XP
To use Netsh, you will need to open a Command Prompt. There are two ways to do this:
- Click the Start button, then All Programs, then Accessories, then click on Command Prompt
or
- Press + R. This will bring up the Run dialog box. Type CMD and press OK
Netsh commands in Windows XP
The following is a list of the Netsh commands you can use to reset your Windows XP network adapter:
Resets network interface informationnetsh int reset all
Resets TCP/IP and related components to a clean state.netsh int ip reset c:\resetlog.txt
Resets IPv6 configuration state.netsh int ipv6 reset
Displays the web page user interface.netsh diag gui
Resets Winsock Catalog to a clean state. All Winsock Layered Service Providers which were previously installed must be reinstalled. This command does not affect Winsock Name Space Provider entries.netsh winsock reset
35a5ef2a-5b1f-4225-a37d-9096fb18a906|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04