Windows 10 – MS Store displaying no internet warning

I know, an abundance has been written about this issue and the solutions all seem to be similar:

  • Go to Apps & Features and reset the App;
  • Check you systems date and time;
  • Clear the stores cache using wsreset.exe;
  • Reset the Windows Update component with ResetWUEng.cmd;
  • Check the proxy settings;
  • Re-register the Microsoft Store using Powershell:

Windows 10

"& {$manifest = (Get-AppxPackage Microsoft.WindowsStore).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"

Windows 8

Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\WinStore\AppxManifest.XML

Having done all of the above and none of it successful, I walked out into the beautiful July sunshine feeling a little sorry for myself. As the golden rays lifted my mood, a solution popped into my head, what if the sneaky virus that had caused this issue in the first place had done the simplest of changes to the device. What if it was a change to the DNS server.

Lo and behold, it was. The DNS list had been enabled and a pair of addresses were present. As soon as they were removed, the issue was resolved.

You can navigate all the way through to the Network settings page and manually revert the setting, but I found it simpler to just use a single line of Powershell:

Get-DnsClient | Set-DnsClientServerAddress -ResetServerAddresses

As always, remember to elevate, or you will get an error.