GigLad

Article · IT support

ipconfig Commands for Beginners: What Each One Tells You

ipconfig shows how a Windows PC is set up on the network. Learn five useful versions, what to look for and which ones can cut the connection.

By GigLad LearningPublished Reading time about 3 minutes

The short answer

  • ipconfig shows the basic network settings.
  • ipconfig /all shows the full details, including DNS.
  • ipconfig /release then /renew asks for a fresh address.
  • ipconfig /flushdns clears saved name lookups.
  • Don't release the address on a remote session. You may cut yourself off.

1. Open it and run it

  1. Press the Windows key and type cmd.
  2. Open Command Prompt.
  3. Type ipconfig and press Enter.

You may see several adapters. Find the one in use: Wi-Fi, or Ethernet if there's a cable.

2. What the main lines mean

LinePlain meaningWhat to notice
IPv4 AddressThis PC's address on the networkIs there one?
Subnet MaskWhich addresses are localUsually leave it alone
Default GatewayThe way out, often the routerIf blank, the PC may not get out
DNS Servers (/all)Where names are looked upAre they the ones you expect?
DHCP Enabled (/all)Whether the address is given automaticallyYes on most office PCs
Example (fictional)IPv4 Address: 192.168.1.24
Default Gateway: 192.168.1.1
This PC has an address and a gateway. Next, test whether it can reach the gateway.
An address starting 169.254

Microsoft says Windows can give itself one of these when no DHCP server is available. The PC then can't reach other networks. Check the cable or Wi-Fi first, then whether other people are affected.

3. The commands that matter

CommandWhat it doesCare needed
ipconfig /allShows the full settings for every adapterNone. It only displays
ipconfig /releaseGives up the current automatic addressDrops the connection
ipconfig /renewAsks for a new automatic addressMay take a moment
ipconfig /flushdnsClears the saved DNS resultsSafe in most cases
ipconfig /displaydnsShows the saved DNS resultsMay show sites visited, so respect privacy
ipconfig /registerdnsRe-registers this PC's name and addressFollow your team's steps

Some of these need Command Prompt opened as an administrator.

Cover of the First Paid IT Support Role Starter Kit

Free Starter Kit

First Paid IT Support Role Starter Kit

A job-title search list, a UK salary research sheet and a practice-to-interview checklist.

Get the free Starter Kit

4. Use it in the right order

Flowchart for a no-internet call, worked from connection to address, gateway, internet and names
The five-question flow from our course. The first "no" is usually where to look.

ipconfig answers the second question: does the PC have a sensible address? If yes, move on. Don't keep renewing an address that's already fine.

A ticket from the courseA home worker has no internet. Her address looks normal, but the gateway doesn't answer. That points to her own router, not the company network. Restarting the router fixes it.

5. Write useful notes

Weak noteRan ipconfig. Still broken.
Better noteWi-Fi connected. IPv4 192.168.1.24, gateway 192.168.1.1. Gateway doesn't answer ping. Two other devices at home also offline. Asked user to restart router; now working.

6. Practise safely

  • Run ipconfig and find your address and gateway
  • Run ipconfig /all and find the DNS servers
  • Turn Wi-Fi off, run it again and spot what changed
  • Write the result as a ticket note

Next, learn how to use ping. Our guide shows the full troubleshooting method.

Paid course on GigLad Learning

Help Desk Technician for Beginners

A video course with a ten-ticket lab, a practical workbook, a CV bullet builder, interview preparation and a 30-day practice plan, plus a final assessment and certificate.

View the course

Sources

  • Microsoft Learn, ipconfig and automatic addressing, checked 2 December 2026.
  • Troubleshooting flow and home-worker ticket: GigLad Learning, Help Desk Technician for Beginners, chapter 8.

Keep learning

Educational content. No income, job or results are guaranteed.