IPCONFIG – Windows CMD Command

Configure IP (Internet Protocol configuration)

If the Adapter name contains spaces, use quotes: “Adapter Name”
Wildcard characters * and ? are allowed, see the examples below

The default is to display only the IP address, subnet mask and default gateway for each adapter bound to TCP/IP.

For Release and Renew, if no adapter name is specified, then the IP address leases for all adapters bound to TCP/IP will be released or renewed.

If you remote into a computer and run ipconfig /release it will kill your connection

For setclassid, if no CLASS ID is specified, then the CLASS ID is removed.

DHCP User Classes allow additional or modified DHCP options to be applied to a subset of computers on the network, as identified by a CLASS ID. For example, a different gateway, DNS server, or lease time.
This requires configuring the CLASS ID appropriately on the DHCP server. see RFC 3004


Show detailed information
C:\> ipconfig /all

Release and Renew all adapters:
ipconfig /release
ipconfig /renew

Release and Renew all adapters – one liner for remote use:
ipconfig /release && ipconfig /renew

Renew any connection that has a name starting with EL:
ipconfig /renew EL*

Release all connections matching *Con*, eg. “Local Area Connection 1” or “Local Area Connection 2”:
ipconfig /release *Con*

Set the DHCP class ID for the named adapter to TEST:
ipconfig /setclassid "Local Area Connection" TEST

You may also like...

7 Responses

  1. 0mniartist says:

    Appreciate this post. Will try it out. 0mniartist asmr

  2. 0mniartist says:

    I think this is among the most important information for
    me. And i’m glad reading your article. But wanna remark on few general things, The
    web site style is perfect, the articles is really nice :
    D. Good job, cheers 0mniartist asmr

  3. 0mniartist says:

    I got this website from my pal who told me concerning
    this website and at the moment this time I am browsing this website and reading
    very informative articles or reviews at this time.
    0mniartist asmr

  4. 0mniartist says:

    Thanks for another fantastic article. Where else may anyone
    get that type of information in such a perfect way of writing?
    I have a presentation next week, and I am at the look for such info.
    asmr 0mniartist

  5. 0mniartist says:

    I just couldn’t go away your website prior to suggesting that I extremely loved the standard information a person supply to your visitors?
    Is going to be back ceaselessly to inspect new
    posts asmr 0mniartist

  6. zortilonrel says:

    hi!,I like your writing very much! share we communicate more about your article on AOL? I require a specialist on this area to solve my problem. Maybe that’s you! Looking forward to see you.

  7. froleprotrem says:

    Fantastic website you have here but I was curious if you knew of any forums that cover the same topics discussed here? I’d really love to be a part of community where I can get comments from other experienced people that share the same interest. If you have any recommendations, please let me know. Thank you!

Leave a Reply

Your email address will not be published.