IPCONFIG Diagnostic Utility: Parameters and Usage

ID: Q117662


The information in this article applies to:
  • Microsoft Windows NT Workstation versions 3.5, 4.0
  • Microsoft Windows NT Server versions 3.5, 4.0
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server


SUMMARY

IPCONFIG.EXE is a new utility included with Windows NT 3.5 Workstation and Server. The purpose of this utility is to provide the user with diagnostic information related to TCP/IP network configuration. IPCONFIG also accepts various Dynamic Host Configuration Protocol (DHCP) commands, allowing a system to update or release its TCP/IP network configuration.


MORE INFORMATION

usage: IPCONFIG [/? | /all | /release [adapter] | /renew [adapter]]

/? Display this help message.
/all Display full configuration information.
/release Releases the IP address for the specified adapter.
/renew Renews the IP address for the specified adapter.

With no parameters, IPCONFIG will display only the IP address, subnet mask and default gateway for each adapter bound to TCP/IP.

With the /all switch, IPCONFIG will display all the current TCP/IP configuration values including the IP address, subnet mask, default gateway and Windows Internet Naming Service (WINS) and DNS configuration.

If adapter name is not specified with either the /Release or /Renew switch, then the IP address leases for all adapters bound to TCP/IP will be released or renewed.

NOTE: The /Release and /Renew switches can only be used on a system that is configured with DHCP.

Additional query words: prodnt IP

Keywords : kbnetwork nttcp NTSrvWkst
Version : WINDOWS:2000; winnt:3.5,4.0
Platform : WINDOWS winnt
Issue type :


Last Reviewed: January 20, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.