question

Peter-5546 avatar image
1 Vote"
Peter-5546 asked NiesenNathan-9852 commented

DNS error after Windows 10 20H2 upgrade

After upgrade to Windows 10 version 20H2 internet connection was gone and “Hello” function couldn’t turn on camera. Rolled back upgrades and everything worked fine again on previous OS release. 10 days later, I performed upgrade a second time with same result: No internet access.

After a few minutes, the laptop connects to Wi-Fi and I can connect and login to the router. I can successfully ping IP addresses (98.137.11.163 or 139.130.4.5 or 8.8.8.8). I cannot ping URLs and get no Outlook connection. All other devices on this router/ISP work fine. I tried it on two different router/ISP configurations. The problem is with the laptop configuration after the upgrade. The OS upgrade itself completed without any issues both times.

Perhaps the most telling observation is the result of the ipconfig /registerdns command: “Registration of DNS records failed: The configuration registry key is invalid.”

Laptop: HP Spectre X360 (core i7)

No idea how to fix this after all I tried (see below)! Your insights are much appreciated.


What I tried to fix connectivity issue


Running windows trouble shooter: “Your DNS server might be unavailable” (when I ran it at other times I got “Couldn't identify the problem”)

Rebooted router (despite the fact that all other devices on network are working as expected)

Checked HOSTS file: no entries

From: https://www.hp.com/us-en/shop/tech-takes/how-to-resolve-dns-issues
ipconfig /flushdns --> ok
Ipconfig/registerdns --> results in error message: “Registration of DNS records failed: The configuration registry key is invalid.”
ipconfig /release --> ok
ipconfig /renew --> ok
NETSH winsock reset catalog --> ok
NETSH int ipv4 reset reset.log --> ok
NETSH int ipv6 reset reset.log --> ok

From: https://docs.microsoft.com/en-us/answers/questions/124300/still-not-fix-no-internet-connection-bug-in-window.html
1. sfc /scannow --> ok
2. DISM /Online /Cleanup-Image /RestoreHealth --> ok
3. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet] EnableActiveProbing set to 1 --> ok
4. [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator] NoActiveProbe set to 0 --> ok
5. [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator] DisablePassivePolling set to 1 --> registry entry not present

nslookup: doesn’t return any results (also no error message)

windows-dhcp-dns
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Peter-5546 avatar image
2 Votes"
Peter-5546 answered IndianaJoe12-2495 commented

After a few more hours of trying and digging, I'm happy to report that I was able to fix the issue (at least it appears that way). Here is how:

From: https://www.hp.com/us-en/shop/tech-takes/how-to-resolve-dns-issues
7. Change to public Google DNS servers
Google’s servers are often more reliable and can be used without going through your ISP. You can change your DNS servers to Google’s by changing your Internet Protocol Version 4 (TCP/IPv4) properties:
1. Click on the internet icon in your task tray to bring up your available networks. Click on Network and Internet Setting link.
2. Click Change Connection Properties or Change Adapter Settings.
3. In the new window, right-click on the connection you are using. Select Properties.
4. Choose Internet Protocol Version 4 (TCP/IPv4) from the list, and click the Properties button.
5. Choose Use the following DNS server address option.
6. Type 8.8.8.8 into the Preferred DNS server fields.
7. Type 8.8.4.4 into the Alternate DNS Server fields.
8. Click OK to save and exit the TCP/IPv4 window. Click OK to save again to exit the Properties window.


Once everything was connected the ipconfig /registerdns command ran successfully. I was able to switch back to automated DNS addresses without losing connectivity.

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Peter,

Glad to hear that the issue has been resolved! Many thanks for your sharing as it would be helpful to anyone who has the similar issue.

Best Regards,
Sunny

0 Votes 0 ·

Thank you, this actually worked! I've tried to upgrade to 20H2 on three different occasions on my msi GS60, and each time I had to roll it back due to the DNS failures. No one else on the internet had any useful advice, but the trick of switching the DNS provider, then running ipconfig and switching it back, somehow unblocked whatever was stuck. Thank you for posting this!

0 Votes 0 ·

This was driving me nuts. PC could still connect to the local network via the router, but not the internet, so I knew it had to be some sort of internet protocol issue. You saved the day! And so did Google DNS servers!

0 Votes 0 ·
DSPatrick avatar image
0 Votes"
DSPatrick answered

Spectre X360 is untested so may be unsupported as of this document.
https://support.hp.com/us-en/document/c05195282

--please don't forget to Accept as answer if the reply is helpful--





5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

CorHofstee-8224 avatar image
1 Vote"
CorHofstee-8224 answered GiMEIT-3397 published

Go to the registry and find below key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dnscache

Find the key with name ‘start’and change from 4 (disabled) to 2 (automatic). That will help 100%!

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanx, U saved the day. ;)

0 Votes 0 ·
Dean-1694 avatar image
3 Votes"
Dean-1694 answered NiesenNathan-9852 commented

If changing the DNS provider does solve this issue then open up
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

Find a key named "SearchList", if it is a zero length binary then delete it and DNS lookups will be restored.

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

wow, what a post! I had this issue and searched for days finding no solution! Removing this SearchList key resolved my issue, we can now start to upgrade 1500 devices to 20H2!

0 Votes 0 ·

FInally, I've been stuck on 1909 because at least 20H2 and 21H1 didn't work until making this change. After the change I ran the Network Adapter troubleshooter to reset all adapters and then I rebooted. After reboot, DNS worked!

0 Votes 0 ·

Bummer, our VPN software doesn't seem to like the change.

0 Votes 0 ·