The short answer
ipconfigshows the basic network settings.ipconfig /allshows the full details, including DNS.ipconfig /releasethen/renewasks for a fresh address.ipconfig /flushdnsclears saved name lookups.- Don't release the address on a remote session. You may cut yourself off.
1. Open it and run it
- Press the Windows key and type
cmd. - Open Command Prompt.
- Type
ipconfigand 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
| Line | Plain meaning | What to notice |
|---|---|---|
| IPv4 Address | This PC's address on the network | Is there one? |
| Subnet Mask | Which addresses are local | Usually leave it alone |
| Default Gateway | The way out, often the router | If blank, the PC may not get out |
DNS Servers (/all) | Where names are looked up | Are they the ones you expect? |
DHCP Enabled (/all) | Whether the address is given automatically | Yes on most office PCs |
Default Gateway: 192.168.1.1
This PC has an address and a gateway. Next, test whether it can reach the gateway.
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
| Command | What it does | Care needed |
|---|---|---|
ipconfig /all | Shows the full settings for every adapter | None. It only displays |
ipconfig /release | Gives up the current automatic address | Drops the connection |
ipconfig /renew | Asks for a new automatic address | May take a moment |
ipconfig /flushdns | Clears the saved DNS results | Safe in most cases |
ipconfig /displaydns | Shows the saved DNS results | May show sites visited, so respect privacy |
ipconfig /registerdns | Re-registers this PC's name and address | Follow your team's steps |
Some of these need Command Prompt opened as an administrator.
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 Kit4. Use it in the right order

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.
5. Write useful notes
6. Practise safely
- Run
ipconfigand find your address and gateway - Run
ipconfig /alland 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.
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.
