DIGIT-ARC read-only archive · snapshot: July 23, 2026

Wi-Fi doesn't have a valid IP configuration error

47 posts · originally from https://geek.digit.in/community/threads/wi-fi-doesnt-have-a-valid-ip-configuration-error.209980/

B
billubakra Original post #1
Jul 16, 2021 at 7:58 PM
Hi,

I am using HP ab522tx laptop. Windows 10 auto downloaded some updates like 10-15 days back. It always used to give me a reminder to install the same but I used to just put the laptop on sleep mode after using it. Today suddenly it hanged up on me for the first time. I long pressed the power key to turn it off and then switched it on. The option to install the updates was there when it turned on. I selected install and restart and then it restarted without even showing that they same were installed. Anyways the updates to be installed notification was gone from the start button after it restarted. Now the version of the Windows which is installed is Version 21H1 (OS Build 19043.1023) I don't know which was the build which was previously installed so I can't say whether this update was correctly installed or not.

Now everything works fine but to every wifi that I connect to, shows the no internet error Did some basic troubleshooting and it lead me to this error Wi-Fi doesn't have a valid IP configuration

Googled, found many articles and websites. Followed steps mentioned in this one FIX: Wi-Fi doesn’t have a valid IP configuration

1. Uninstalled driver, restarted and it was auto installed again. Same issue

2. Reset TCP/IP. Done. Same issue. It shows this

3. Change the wireless SSID and password
Not done but tried connecting the laptop to other wi-fi connections. Same result.

4. Set the channel width to Auto
Done. Same result.

5. Set your IP address manually
Didn't do. As I don't know what values to fill in. Please help.

6. Remove your antivirus software
Using Windows Defender only. It is not messing up with the wifi. Disabled just to check but same result.

7-10. Didn't follow those points as I somehow feel that the issue is not with those.

What should I do?

Thanks
khalil1210
Jul 16, 2021 at 9:17 PM
2. Reset TCP/IP. Done. Same issue. It shows this

Updating a registry entry may fix this.

*davidvielmetter.com/tricks/netsh-int-ip-reset-says-access-denied/


5. Set your IP address manually
Didn't do. As I don't know what values to fill in. Please help.
Since you are using a router, you can set the following values
IPv4 Address. . . . . . . . . . . : 192.168.0.100 ( my router has default range from 192.168.0.100 to 192.168.0.199 )
Subnet Mask . . . . . . . . . . . : 255.255.255.0 ( this is same for almost all devices, you can check in routers admin pages to find )
Default Gateway . . . . . . . . . : 192.168.0.1 ( router ip address )

1626450440402.png


Can you try creating a new admin account and try to reset network from there?
B
Jul 17, 2021 at 1:30 PM
Updating a registry entry may fix this.

*davidvielmetter.com/tricks/netsh-int-ip-reset-says-access-denied/



Since you are using a router, you can set the following values
IPv4 Address. . . . . . . . . . . : 192.168.0.100 ( my router has default range from 192.168.0.100 to 192.168.0.199 )
Subnet Mask . . . . . . . . . . . : 255.255.255.0 ( this is same for almost all devices, you can check in routers admin pages to find )
Default Gateway . . . . . . . . . : 192.168.0.1 ( router ip address )

View attachment 20650

Can you try creating a new admin account and try to reset network from there?
Thanks for replying. Fixed the registry by following your link
There are multiple {eb004a00-9b1a-11d4-9123-0050047759bc} subfolders and I gave full control to every 26 folder and then gave that netsh int ip reset command and it worked but after I restarted the system the issue popped up again
registry done
all ok

Same issue again after the system was restarted

When I open up the update section, it shows up this

I was thinking that the last update was not installed properly so wanted to uninstall it but the last update is of June.

Can you try creating a new admin account and try to reset network from there?
Any steps on how to do it?


Since you are using a router, you can set the following values
IPv4 Address. . . . . . . . . . . : 192.168.0.100 ( my router has default range from 192.168.0.100 to 192.168.0.199 )
Subnet Mask . . . . . . . . . . . : 255.255.255.0 ( this is same for almost all devices, you can check in routers admin pages to find )
Default Gateway . . . . . . . . . : 192.168.0.1 ( router ip address )

Don't have a router or modem. Use hotspot from my phones to connect them to the laptop. Jio sim.
B
Jul 17, 2021 at 5:17 PM
is wifi working now or you are getting issue after every restart
Same issue. Haven't tried the admin account yet.

Please check all photos, I think the problem is somewhere in them. I am just not able to find it.

Connected a wifi adapter to the laptop TP-Link USB WiFi Adapter for PC(TL-WN725N), N150 Wireless Network Adapter for Desktop - Nano Size WiFi Dongle Compatible with Windows 10/7/8/8.1/XP/ Mac OS 10.9-10.15 Linux Kernel 2.6.18-4.4.3 - Buy TP-Link USB WiFi Adapter for PC(TL-WN725N), N150 Wireless Network Adapter for Desktop - Nano Size WiFi Dongle Compatible with Windows 10/7/8/8.1/XP/ Mac OS 10.9-10.15 Linux Kernel 2.6.18-4.4.3 Online at Low Price in India - Amazon.in but same result
Adapter list minus the wifi adapter which was connected, the connected adapter was auto renamed to wi-fi 2

Started again from scratch. Reference video, same as the link followed earlier FIX: Wi-Fi doesn’t have a valid IP configuration
Step 1
netsh winsock reset works fine
netsh int ip reset gives that error as shown in the first post but it gives that error in this video also though mine is more with a little more settings or something.
I restarted but it didn't work. So, tried the next commands
ipconfig /release
ipconfig /flushds
ipconfig /renew
And I get this error No operation can be performed on ethernet etc. while it has its media disconnected (What is this and how to resolve this?)
Zoomed in

Found this I get an error "media disconnected" when I try to renew the IP address and the network connection shows as disconnected. but I wasn't able to fix it with the steps mentioned in the suggested answer. These are the suggested commands
netsh winsock reset
netsh winsock reset catalog
netsh int ip stop
netsh int ip start
The last two commands are not found by the system

Windows 10 "ipconfig /renew" not working this link says to use ipconfig /release before doing an ipconfig /renew. Did that and same results

Please help
SaiyanGoku
Jul 17, 2021 at 5:23 PM
1. Use snipping tool.
2, Enable DHCP:
*support.microsoft.com/en-us/windows/change-tcp-ip-settings-bd0a07af-15f5-cd6a-363f-ca2b6f391ace
B
Jul 17, 2021 at 5:38 PM
1. Use snipping tool.
2, Enable DHCP:
*support.microsoft.com/en-us/windows/change-tcp-ip-settings-bd0a07af-15f5-cd6a-363f-ca2b6f391ace
1. Don't have a pendrive or something to transfer the same from the laptop to a system and then restore the same.
2. The default gateway just doesn't show up anywhere even if I use ipconfig command. It will keep on showing this
Here is what it shows in an another system connected via the same wifi
C:\WINDOWS\system32>ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Wireless LAN adapter Local Area Connection* 9:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Wireless LAN adapter Local Area Connection* 10:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Wireless LAN adapter Wi-Fi:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::a837:724:49de:954b%13
IPv4 Address. . . . . . . . . . . : 192.168.18.108
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.18.56

To fill the ipv4/6 settings in the non working device. Should I use the same numbers?
Did you check all the photos?
SaiyanGoku
Jul 17, 2021 at 5:40 PM
*www.howtogeek.com/265870/how-to-reset-your-entire-network-in-windows-10-and-start-from-scratch/
khalil1210
Jul 17, 2021 at 11:40 PM
Can you remove the vpn services installed and try once, may be one of the service is causing issue
W
Jul 18, 2021 at 1:41 AM
In your laptop wifi tcp/ip settings, manually set ipv4 to 192.168.18.10, subnet 255.255.255.0, gateway 192.168.18.56. Now see if it connects & shows as "limited connectivity error". If it does then try opening 192.168.18.56 in a browser.

P.S. Always post details of your connection setup especially any modem/router if present. I have never seen such default gateway value & ip range in a typical home wifi setup.
B
Jul 18, 2021 at 5:07 PM
In your laptop wifi tcp/ip settings, manually set ipv4 to 192.168.18.10, subnet 255.255.255.0, gateway 192.168.18.56. Now see if it connects & shows as "limited connectivity error". If it does then try opening 192.168.18.56 in a browser.

P.S. Always post details of your connection setup especially any modem/router if present. I have never seen such default gateway value & ip range in a typical home wifi setup.
ipconfig /all taken from the laptop C:\WINDOWS\system32>ipconfig /allWindows IP Configuration Host Name . - Pastebin.com Same thing from a pc on the same wifi C:\WINDOWS\system32>ipconfig /allWindows IP Configuration Host Name . - Pastebin.com
Using my phone's hotspot as a wifi connection. Jio sim.

Filled those numbers manually, left the dns server empty as didn't know what to fill there and from unidentified network it has started showing the wifi's name

Unidentified network as seen earlier

Wifi name now

What to do now?

Edit- Connected to a new hotspot, another phone with a jio sim, using the same values in ipv4 etc. as filled above and it shows unidentified network
Changed it to auto select the ipv4, subnet etc. and it says identifying
W
Jul 19, 2021 at 1:11 AM
So you are sharing jio phone 4g as a wifi hot spot to connect the laptop? Have you tried restarting jio phone now? In dns server fill 192.168.18.56.
B
Jul 19, 2021 at 2:31 AM
So you are sharing jio phone 4g as a wifi hot spot to connect the laptop? Have you tried restarting jio phone now? In dns server fill 192.168.18.56.
Yes have rebooted the phone many times. It is not a jio phone, a Samsung one with a jio sim. Tried connecting the same phone with different machines as a hotspot and it works fine. Tried with a different phone and sim as well but the result is the same with this laptop.
Filled the dns service as 192.168.18.56, alternate as 1.1.1.1 the rest of the values as same as you mentioned in the last post but same result as this


Under wifi the name of the wifi is shown but no internet, secured in the status. If I troubleshoot now it showed that networking reset will fix it (wifi doesn't have a valid ip configuration error is gone now) applied the fix. It reset the networking, restarted and boom the issue is still there. After restart wifi doesn't have a valid ip configuration error is back.
Please read the original post, this issue started after I kept on ignoring the downloaded update for weeks. Any need to reinstall the wfi adapter driver from their website?
*www.realtek.com/en/component/zoo/category/rtl8723be-software
It is the second one, right? I disabled all other adapters and now all of them are asking for an update
What are the WAN miniports in the above ss?
B
Jul 19, 2021 at 12:57 PM
@whitestar_999
Some more details

Manually filled

Automatic


Installed the version 2023.56.0502.2017 from here *www.realtek.com/en/component/zoo/category/rtl8723be-software but after restarting this version was showing up


If I uninstall it and then let the system install it itself while restarting, the same version shows up. This version is present on the manufacturer's website
*support.hp.com/us-en/drivers/selfs...b500-notebook-pc-series/9068229/model/9329819
The one installed in the system is 2024.0.4.208 dated 26.05.19 and as per their website it is 2024.0.4.108 dated 05.06.19. Why this difference?

This error is still there :(
B
Jul 19, 2021 at 1:56 PM
@whitestar_999
Again following this link FIX: Wi-Fi doesn’t have a valid IP configuration and this
Followed first point again, result

*zerobin.net/?7c835d7bc312303b#6VUpKNG7Jt2aSrywYFiIjJfHLHRNOSXXkl7HXnclGqU=

No gateway shown in ipconfig /release
umable to contact your dhcp server error in wifi.

The same wifi, connected via hotspot from a phone, is working fine in 10+ devices

The last update was downloaded like in first week of July. It always used to show me a notification to install it. But I kept on ignoring it and put the laptop in sleep mode. Now after the system froze and I restarted it, that update was gone. It didn't install as there was no sign of the installation windows. Now the update history shows me the last update which was installed in June. I cannot revert it back because it has been more than 10 days. The update page shows me a new update but I cannot download and install it as I cannot connect to the internet. Where are the downloaded update files stored? Can I install the last update which was downloaded and I delayed it, manually?
Reinstalling the Windows will be a mess as it is a work laptop.
B
Jul 19, 2021 at 3:21 PM
@whitestar_999
Have followed this link too as shared by @khalil1210
*davidvielmetter.com/tricks/netsh-int-ip-reset-says-access-denied/
B
Jul 19, 2021 at 4:27 PM
@whitestar_999 @khalil1210

Followed these steps one last time, please check the screenshots

a. Windows 10 "ipconfig /renew" not working
Your wireless LAN adapter Wifi does have an IP address. ipconfig /renew will not renew adapters that have no connection. Every computer with wireless and an Ethernet port will have an error like this if they are not both connected.


b. I get an error "media disconnected" when I try to renew the IP address and the network connection shows as disconnected.
netsh winsock reset
netsh winsock reset catalog
netsh int ip stop
netsh int ip start



c. FIX: Wi-Fi doesn’t have a valid IP configuration
Followed the commands in step 2
netsh winsock reset
netsh int ip reset



Then followed this Netsh int ip reset says access denied


And then it showed this

Then followed these commands from the same link (enabled all other adapters)
ipconfig/release
ipconfig/flushdns
ipconfig/renew


Result-
*pastebin.com/kW4ZBZ1A


Please check this too
khalil1210
Jul 19, 2021 at 5:48 PM
@billubakra , If it is a office laptop, why bother troubleshooting. Raise a concern, they will take the headache of fixing it or replacing it
B
Jul 19, 2021 at 6:55 PM
@billubakra , If it is a office laptop, why bother troubleshooting. Raise a concern, they will take the headache of fixing it or replacing it
Laptop is mine but it has some official softwares. I can get the same installed only by visiting the main office, no remote support. Moreover I will have to give a reason for this.
SaiyanGoku
Jul 19, 2021 at 6:56 PM
Could you try booting into a live linux USB?
W
Jul 19, 2021 at 8:45 PM
I think after the initial error you should have waited before trying so many fixes. I think it has messed up your windows networking configuration & registry settings.
B
Jul 19, 2021 at 8:58 PM
I think after the initial error you should have waited before trying so many fixes. I think it has messed up your windows networking configuration & registry settings.
Any way to fix the same? Did you check this post? Wi-Fi doesn't have a valid IP configuration error

Few services were stopped, few were set to manual. Enabled them all and set them all to automatic What are the bare services and components needed for WiFi?

Screenshot of the system restore, I didn't create one. It seems it was made automatically
Any tips for this?

I am so tired. Just check these one's
Screenshots from the laptop




From the pc



Hope 802.11n and 802.11bgn isn't the issue
B
Jul 19, 2021 at 10:01 PM
Compare the above & you will what the problem is, your laptop is not getting any IPv4 address when set in auto mode/DHCP enabled. It is as if ipv4 isn't even there.
Yes I noticed that too.

Connected the phone to the laptop via usb cable, usb tethering that is and got this



Later on it changed to unidentified network like it does with the wifi


Again no sign of the ipv4. Any help?
W
Jul 19, 2021 at 11:01 PM
See this thread & confirm that ipv4 is ticked/checked in connection properties.
*idoc.vsb.cz/xwiki/bin/view/tuonet/sit-nastaveni/tcp-ip/tcp-ip-win10/?language=en
B
Jul 20, 2021 at 1:34 AM
See this thread & confirm that ipv4 is ticked/checked in connection properties.
*idoc.vsb.cz/xwiki/bin/view/tuonet/sit-nastaveni/tcp-ip/tcp-ip-win10/?language=en
It is exactly like shown in that thread.

This is the registry level thing which I followed and which might have messed up things even more
*davidvielmetter.com/tricks/netsh-int-ip-reset-says-access-denied/

Edit-
Another major change which I did was set all services mentioned here to running and to automatic
*answers.microsoft.com/en-us/window...s-needed/e032fa8d-7f91-4cee-b771-2748fb81573b
Just after restarting the laptop after doing these settings the wifi showed as connected on the login page where we enter the password and after logging in, it was back to square one.
B
Jul 20, 2021 at 2:59 AM
@whitestar_999
Advanced settings of ipv4




ipv6


Hope these settings are fine




These below are showing ipv4 in the laptop, well in a way


*pastebin.com/tbN3vW66

*pastebin.com/tLu75YJD


Same thing from a pc connected to the same hotspot, lease obtained and expires is also not there in the laptop's case


*pastebin.com/hwUzD14W

*pastebin.com/Z1GBCY9C
W
Jul 20, 2021 at 1:13 PM
Same thing from a pc connected to the same hotspot, lease obtained and expires is also not there in the laptop's case

This is showing a different gateway & ip range(192.168.88.x) which is different from earlier 192.168.18.x. This is why when you manually set ipv4 net is not working because for net to work your manually entered ip & gateway must be within ip range of first three sets of dhcp server of the device you are connecting to. In case of wifi routers this range is fixed so it is easy to manually set ip but here it seems phone keeps changing this range so not possible to manually set ip to get net working. As for DHCP in your laptop, it is clearly not working correctly which is the cause of this entire issue.

I suggest to try that win 10 restore point to see if it helps but no guarantees, you may have to even reset entire windows(next best option to format & reinstall) to undo all the changes/fixes/updates.
W
Jul 20, 2021 at 3:38 PM
Use the option of "keep my files" first.
*www.tenforums.com/tutorials/4130-reset-windows-10-a.html
B
Jul 20, 2021 at 4:52 PM
Use the option of "keep my files" first.
*www.tenforums.com/tutorials/4130-reset-windows-10-a.html
Does this require any installation cd or pendrive as mentioned in point 5
W
Jul 20, 2021 at 7:01 PM
Does this require any installation cd or pendrive as mentioned in point 5
It may depending on whether there is a proper recovery environment/oem recovery partition present in your laptop. If you do need installation DVD then get it from here:
*tb.rg-adguard.net/public.php
B
Jul 20, 2021 at 11:20 PM
It may depending on whether there is a proper recovery environment/oem recovery partition present in your laptop. If you do need installation DVD then get it from here:
*tb.rg-adguard.net/public.php
Reset seem to have solve this but all my files are gone besides the fact that I chose to keep the files. Still testing. Anyways few issues a new admin account has been auto created




I can disable it using the cmd method as shown here *www.technipages.com/windows-administrator-account-login-screen but the same stays there on the lock screen. It vanishes from the user accounts also How to Delete Administrator Account in Windows 10 : HelloTech How


Anyways this admin account is the reason that I am getting errors like this while installing softwares from my primary and only account

How to fix delete this administrator account?


This article says to fix it with gpedit.msc When I run this command I get this error *imgur.com/a/7ErRfkN Reset not done properly?

Thanks bro.
W
Jul 21, 2021 at 2:20 AM
Have you still not learned the lesson from last time disaster? Unless you are sure & have researched thoroughly, avoid trying any "fixes" which involves command prompts & registry. Search for your files, maybe they have been relocated or maybe it has something to do with access rights caused by this new admin acc. Win 10 home version doesn't have group policy editor.

I strongly suggest you to start learning system imaging software like macrium reflect free.
*www.tenforums.com/tutorials/61026-backup-restore-macrium-reflect.html
B
Jul 21, 2021 at 2:11 PM
@whitestar_999

Want to delete the highlighted user account

I have to log into the admin account everytime if some apps are blocked. How to delete this admin account which I don't need so that the main account with the admin rights?

Edit-
Admin account deleted via the cmd command although it is mentioned that is it is not for Windows 10 Home Edition, method one
*www.technipages.com/windows-administrator-account-login-screen

Still getting this error for many installers

How to fix the same?
W
Jul 21, 2021 at 3:45 PM
Copy/backup all user data from your admin account to a different drive. Put a password on "Administrator" acc & then login using this Administrator acc & delete your admin acc. Use this Administrator acc for the time being.
B
Jul 25, 2021 at 3:29 PM
@whitestar_999
Sorry for the late reply, wasn't well. The system was fine for the last couple of days after the reset but the same problem started today. Windows 21H1 update, KB4023057, installed on 20.07.21 and KB5004237 auto installed on 21.07.21. Current OS build 19043.1110

I was installing softwares one by one just to be sure and everything worked. Installed Tunnel Bear vpn yesterday and everything was fine. But when I booted today the same problem started though it showed me ipv4 address in the properties. Diagnosed and the same error was there that wifi doesn't have a valid ip configuration. Uninstalled Tunnel Bear and restarted and now the ipv4 is gone and the same old ipv6 is there, I mean as shown in the older screenshots.

System Restore didn't create an auto restore point, I have no idea why as I have configured 5% space for the same. How to set it to automatically create restore points?

What should I do?
W
Jul 25, 2021 at 6:15 PM
I suggest to stop using tunnel bear vpn for some time. Also start learning/using Macrium from the link I posted earlier. For now I guess no point in redoing the entire pointless exercise, just reset windows like last time but this time once everything is working correctly make a system image using macrium & of course don't install tunnel bear.
B
Jul 25, 2021 at 10:30 PM
I suggest to stop using tunnel bear vpn for some time. Also start learning/using Macrium from the link I posted earlier. For now I guess no point in redoing the entire pointless exercise, just reset windows like last time but this time once everything is working correctly make a system image using macrium & of course don't install tunnel bear.
Will do. I wasn't able to find any thread or article on the internet about tunnelbear causing this. Can you please check once.
About macrium, is it same as system restore?
About system restore point, why didn't widows auto create one considering I have allotted 5% space for the same?
W
Jul 26, 2021 at 1:54 AM
Will do. I wasn't able to find any thread or article on the internet about tunnelbear causing this. Can you please check once.
About macrium, is it same as system restore?
About system restore point, why didn't widows auto create one considering I have allotted 5% space for the same?
That's the issue with windows, every system is unique in terms of hardware software combination so same software that rune perfectly fine in 99.99% of windows users may cause issue in your system.

Read that Macrium link I posted earlier, it is basically windows restore on steroids. Windows restore point is created when windows think it needs to be created irrespective of free space left.