Options for Ipconfig.exe in Windows 2000

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


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]
Collapse this tableExpand this table
/?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: February 23, 2007 - 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

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