On Windows 10, the corruption of system files could result in all sorts of issues and Windows 10 IPconfig not working is one of them. Once it comes to fixing corrupted system files, nothing works as well as SFC and DISM scans. Besides that, you could reset TCP/IP, update the network adapter driver, add path variables and so on. Continue reading to be able to carry out the solutions on your own.
Table of Contents
IPconfig Won’t Work: Possibilities
All in all, by running IPconfig commands in Command Prompt, you could view configuration information of network adapters, flush DNS, release and renew the IP address, etc. Once it comes to Windows 10 IPconfig not working, you should give the following suspects some thought:
- Corruption.
- Network adapter driver.
- TCP/IP.
- Path variables.
What Must Be Done To Fix IPconfig Not Working On Windows 10
Note: You only want to take a quick look at the IP address of your computer? Then there is a command you could use beside IPconfig: Get-NetIPConfiguration. Go to Search bar, type PowerShell and hit Run as administrator. Next, in PowerShell (Admin), run the command Get-NetIPConfiguration and you should see the IP address of your computer.
Perform SFC And DISM Scans
- Step 1: Go to Search bar, type cmd and hit Run as administrator.
- Step 2: In Command Prompt (Admin), run each of the commands down below to perform SFC and DISM scans:
- sfc /scannow
- DISM /Online /Cleanup-Image /ScanHealth
- DISM /Online /Cleanup-Image /CheckHealth
- DISM /Online /Cleanup-Image /RestoreHealth
- Step 3: After the scan finishes, restart your computer and see how things turn out.
Reset TCP/IP
- Step 1: Open Command Prompt (Admin) then run the command netsh int ip reset to reset TCP/IP.
- Step 2: Proceed to run the command exit to close Command Prompt.
- Step 3: Restart your computer.
Update Driver
- Step 1: Go to Search bar, type devmgmt.msc and hit Enter.
- Step 2: In Device Manager, expand Network adapters, right-click your network adapter and pick Update driver.
- Step 3: Follow on-screen instructions to update the driver.
- Step 4: Restart your computer the moment the update completes.
- Step 5: When the screen comes back on, run an IPconfig commands in Command Prompt and determine whether the issue persists.
Note: On occasions, it’s a good idea to uninstall and reinstall the driver.
- Step 1: Open Device Manager, right-click your network adapter in Network adapters and pick Uninstall device.
- Step 2: Check the checkbox next to Delete the driver software for this device before hitting OK.
- Step 3: Restart your computer.
Add Path Variables
- Step 1: Go to Search bar, type sysdm.cpl and hit Enter.
- Step 2: In System Properties, go to Advanced tab, pick Environment variables… near the bottom and double-click Path.
- Step 3: Hit New then add a new path: %SystemRoot%\system32.
- Step 4: Select Apply, choose OK and restart your computer.
- Step 5: Witness the result.
Note: Unable to locate Path? In that case, you must go through these steps:
- Step 1: Go to Environment Variables then click New.
- Step 2: Type Path in the Variable name and input %SystemRoot%\system32 in the Variable value field.
- Step 3: Pick OK then restart your computer.
How To Turn On Random Hardware Addresses
To make it harder to track your location when accessing different networks, Windows 10 has a privacy feature i.e random hardware addresses.
To turn on random hardware addresses for all networks:
- Step 1: Press Windows + I to open Settings.
- Step 2: Select Network & Internet.
- Step 3: Choose Wi-Fi then toggle on the Use random hardware access switch.
Frequently Used IPconfig Commands
A lot of IPconfig commands exist and different commands have different uses. For best results, you should run IPconfig commands in Command Prompt (Admin).
- IPconfig /all- This command shows you all of your network adapters’ configuration information.
- IPconfig /displaydns- This command shows the contents of the Domain Name System resolver cache.
- Ipconfig /flushdns- This command flushes your DNS records. It comes in handy when resolving internet connectivity issues on your computer.
- Ipconfig /release- This command sends a request to the DHCP server to discard the active leases and gets rid of them from your system.
- Ipconfig /renew- This command renews an IPv4 address. You can use the /renew6 parameter to renew the IPv6 address.
Setting Up Static IP Address: Instructions
With a static IP address, you can easily work using a VPN and other remote access programs. To set up a static IP address:
- Step 1: Open Command Prompt (Admin) then run the command IPconfig /all.
- Step 2: Note down all the characters in the IPv4 address, Subnet Mask, and Default gateway fields.
- Step 3: Right-click the network icon on your taskbar then pick Open Network & Internet settings.
- Step 4: Hit Change adapter options, right-click the connection you currently use and pick Properties.
- Step 5: Double-click Internet Protocol Version 4. Afterward, enter the characters you previously noted down into their respective fields. For Preferred DNS server, enter Google’s Public DNS (8.8.8.8). Lastly, hit OK, close Properties and wait as Windows disconnects then reconnect to the Internet.