You are currently offline, waiting for your internet to reconnect

Options for Ipconfig.exe in Windows 2000

This article was previously published under Q223413
Ipconfig.exe is a command-line tool you can use to renew and release leases obtained from a Dynamic Host Configuration Protocol (DHCP) server, and display your IP settings. This article describes these and other Ipconfig features.
The syntax for Ipconfig.exe is:
ipconfig [/? | /all | /release [adapter] | /renew [adapter] | /flushdns | /registerdns]
/?Display this help message
/allDisplay full configuration information
/releaseRelease the IP address for the specified adapter
/renewRenew the IP address for the specified adapter
/flushdnsPurge the DNS resolver cache
/registerdnsRefresh all DHCP leases and re-register DNS names
/displaydnsDisplay the contents of the DNS resolver cache

The first four switches are the same as those in Microsoft Windows NT 4.0 and earlier version. For additional information about these switches, click the article number below to view the article in the Microsoft Knowledge Base:
117662 IPCONFIG Diagnostic Utility: Parameters and Usage
  • The /flushdns switch flushes the list of locally cached DNS names. When a name is resolved from DNS, the client keeps it in the cache temporarily. This option removes the cached entries.
  • The /registerdns switch allows the client to re-register its dynamic DNS entries as well as renew the DHCP lease.
  • The /displaydns switch lists the contents of your resolved DNS name cache.

Article ID: 223413 - Last Review: 02/23/2007 00:26:48 - Revision: 3.2

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Datacenter Server
  • kbhowto kbnetwork KB223413