You must have run the ipconfig command when you are trying to troubleshoot some internet issues. Does this command always work properly? What to do when finding Windows 10 ipconfig not working? In this post on MiniTool Website, we have collected some effective workarounds for you.

Ipconfig Windows 10 Not Working

Ipconfig is a very useful command-line tool that enables you to know the status of all the network configurations in the computer. If it works fine, you can use it to get detailed information of all the network adapters, subnet mask, Device IP address, and gateway. What’s more, some of its variations can even help you to troubleshoot network issues.

It is frequently reported that the ipconfig not working issue appears when trying to run it. Some of you may receive such an error message:

Ipconfig is not recognized as an internal or external command, operable program or batch file.

Don’t worry! You can handle this issue easily with the guidelines in this post.

How to Fix Windows 10 Ipconfig Not Working?

First, please make sure that the command that you type is correct and you must give enough administrative privilege to run it. If the ipconfig command is still not working, try the following methods one by one until you fix this issue.

Fix 1: Use PowerShell as Alternative

Some PowerShell commands can work the same way as the ipconfig command. Therefore, if you want to get your IP address or IP configuration, PowerShell is also a good option for you.

Step 1. Right-click on the Windows icon in the lower right corner of the screen and highlight Windows PowerShell (Admin).

Step 2. Type Get-NetIPConfiguration or Get-NetIPAddress and hit Enter.

Fix 2: Add Path Variables

The path variable function allows you to run executable files by adding the file location to the system path. Once a correct system path is not assigned, you will receive the message of ipconfig not working.

Step 1. Press Win + R at the same time to evoke the Run dialog.

Step 2. Type sysdm.cpl and hit Enter to open System Properties.

Step 3. In the Advanced tab, hit Environment Variables under Startup and Recovery.

Step 4. Find a variable named Path and double-click on it.

find the variable named Path

Step 5. Press New on the right pane and add a new path such as %SystemRoot%\system32.

Step 6. Hit OK and reboot your PC.

If you cannot find a variable named Path, just hit New and name %SystemRoot%\system32 as Path in the New System Variable window.

Fix 3: Perform SFC and DISM Scans

If Windows 10 ipconfig is still not working after adding the path variables, there must be something wrong with its executable file. As soon as it is missing or corrupted, you will encounter ipconfig not working. In this case, you can fix the executable file by the SFC and DISM scanning. To do so:

Step 1. Type cmd in the search bar to locate Command Prompt and right-click on it to choose Run as administrator.

Step 2. Type sfc /scannow and hit Enter to find if there is any system file integrity issue.

run sfc /scannow

Step 3. After the process is done, run Command Prompt as administrator and run this command: DISM /Online /Cleanup-Image /RestoreHealth.

Step 4. It will take about 15 minutes to scan, detect and repair the corrupted system files, please wait patiently. After the process is finished, run ipconfig in Command Prompt again to see if it works properly.

  • Linkedin
  • Reddit