IPCONFIG Diagnostic Utility: Parameters and Usage

Article translations Article translations
Article ID: 117662 - View products that this article applies to.
This article was previously published under Q117662
Expand all | Collapse all


IPCONFIG.EXE is a new utility included with Windows. 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.


IPCONFIG [/? | /all | /release [adapter] | /renew [adapter]]
/?: Displays this help message.
/all: Displays 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.


Article ID: 117662 - Last Review: February 20, 2007 - Revision: 2.2
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows NT Workstation 3.5
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 3.5
  • Microsoft Windows NT Server 4.0 Standard Edition
kbnetwork KB117662

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com