Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Windows»ipconfig Not Working on Windows? Try These Fixes

ipconfig Not Working on Windows? Try These Fixes

Nishant AryalBy Nishant AryalDecember 21, 2022
ipconfig-not-working

ipconfig is a command line that shows the status of all the network configurations in the computer. ipconfig gives you the details of all the network adapters, Device IP address, subnet mask, and gateway. There are also other variations of this command that can be used to troubleshoot network issues. 

Using the different variations of this command, users can flush DNS, release or renew the IP address for an adapter, modify the DHCP class id, and a lot more. All in all, it is the tool that provides solutions to numerous network issues. 

In this article, we will suggest some fixes that you can use to resolve the “ipconfig not recognized” and other ipconfig-related errors.

It might sound silly but first of all, ensure that you have typed the command ipconfig correctly.

Moreover, administrator permission is also required while executing such commands. In such cases run the CMD with administrative rights.

Add Path Variables

The path variable function lets you run any executable files by adding file location to the system path. If a correct system path is not assigned then the “Ipconfig is not recognized..” message will appear on CMD. 

To add the path variables follow these steps:

  1. Press Ctrl + R and type sysdm.cpl.
  2. Click on the Advanced tab.
  3. You will see the Environment Variables button there. Click on it.
    Set Location path
  4. On the new window, under system variables, you might find a variable named Path. Double click it to edit the variable. 
  5. Now click on new to add a new path i.e. %SystemRoot%\system32 
    system 32
  6. Click on Ok to save and restart the computer.

If you do not find a variable named Path as stated in step 4, perform these steps;

  1. Click on the New button.
  2. On the New System variable window, set the variable name as Path and enter this file path %SystemRoot%\system32. At last click on Ok to apply changes and restart the computer.
    Add path to variables

This will fix the issue for you to be able to use the ipconfig command once again. 

Run SFC and DISM Scans

Even after adding the path variables, if you are still unable to use the ipconfig command tool, then there must be some issue with its executable file. It must be either missing or corrupted. This can happen if your system is affected by malware.

To ensure that the file is still in the system, go to %SystemRoot%\system32  or C:\Windows\System32 and check if there is an executable file under the name ipconfig. 

In case you find the file missing or corrupted, you can use the system file checker tool to restore the files. To use this tool, follow these steps,

  1. Press Win + R. Type CMD and then press Ctrl + Shift + Enter.  
  2. Type the command sfc /scannow and hit enter. 
    sfc-scan
  3. This command will now start scanning the system and perform a repair if it finds any system file integrity issues. 
  4. You can even use the DISM tool to fix the system files. Again, run the CMD with admin rights, paste this command, and then hit enter. DISM /Online /Cleanup-Image /RestoreHealthrestore health

It takes some time to scan and detect the issues in the system. Once it detects the faults on the system files, it repairs them and resolves the problem. 

Use Powershell’s Alternative to Ipconfig

Powershell is a more powerful replacement for the Command prompt. It can do what CMD does and even better. 

PowerShell boasts many alternatives for the ipconfig command as well. Commands like Get-NetIPConfiguration and  Get-NetIPAddress can give you better results than the ipconfig.

To use these commands, use these steps,

  1. Press Win + R. Type Powershell then hit Enter. 
  2. Now you can execute the PowerShell commands like
    Get-NetIPConfiguration and  Get-NetIPAddress
    netipconfigartion
fix
Nishant Aryal
  • LinkedIn

Nishant is an enthusiast who loves writing about technology. He also is heavily invested in keeping himself updated about the latest happenings in the tech world. At Tech News Today, he covers Operating Systems, how-to-topics, and Fixes.

Related Posts

amd-software-not-opening

How to Fix AMD Software Not Opening

March 3, 2023
how to create a folder

7 Ways to Create a Folder on Windows

March 3, 2023
turn off automatic updates windows

How to Turn Off Automatic Updates on Windows

March 2, 2023
Memory-Compression

What is Memory Compression in Windows? Should You Enable or Disable It

March 1, 2023
dism-vs-sfc-vs-chdsk

DISM, SFC, CHKDSK: What’s the Difference

February 28, 2023
how-to-open-exe-file

4 Ways to Open EXE File

March 2, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
Memory-Compression

What is Memory Compression in Windows? Should You Enable or Disable It

March 1, 2023
dism-vs-sfc-vs-chdsk

DISM, SFC, CHKDSK: What’s the Difference

February 28, 2023
bios-settings-for-gaming

Best BIOS Settings for Gaming

February 16, 2023
You may also like
how-to-clean-hp-printer-rollers

How to Clean HP Printer Rollers

March 3, 2023
keyboard input lag

9 Ways to Fix Keyboard Input Lag

March 3, 2023
keyboard key is stuck

How to Fix a Stuck Key on a Keyboard

March 3, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.