Initial releaseFebruary 17, 2000; 24 years ago (2000-02-17)
Operating systemMicrosoft Windows
LicenseProprietary commercial software Edit this on Wikidata

In computing, netsh, or network shell, is a command-line utility included in Microsoft's Windows NT line of operating systems beginning with Windows 2000.[1] It allows local or remote configuration of network devices such as the interface.[2]


A common use of netsh is to reset the TCP/IP stack to default, known-good parameters, a task that in Windows 98 required reinstallation of the TCP/IP adapter.

netsh, among many other things, also allows the user to change the IP address on their machine.

Starting from Windows Vista, one can also edit wireless settings (for example, SSID) using netsh.

netsh can also be used to read information from the IPv6 stack.

The command netsh winsock reset can be used to reset TCP/IP problems when communicating with a networked device.


  1. ^ "MS-DOS and Windows command line netsh command".
  2. ^ "Using Netsh".

Further reading