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]

Initial releaseFebruary 17, 2000 (2000-02-17)
Operating systemMicrosoft Windows
LicenseProprietary commercial software


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. In this mode, a log file must be provided, which will be filled with what values netsh affected.

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.


Further reading

  • Frisch, Æleen (2001). Windows 2000 Commands Pocket Reference. O'Reilly. ISBN 978-0-596-00148-3.
  • Stanek, William R. (2008). Windows Command-Line Administrator's Pocket Consultant, 2nd Edition. Microsoft Press. ISBN 978-0735622623.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.