0x80072ee7 Server Name or Address Could Not Be Resolved
Solve Windows Update and Store 0x80072ee7 (’server name not resolved’) by flushing DNS, checking hosts blocks, testing 1.1.1.1 DNS, and resetting WinHTTP.
Overview & Technical Context
Windows error 0x80072ee7 (ERROR_INTERNET_NAME_NOT_RESOLVED) fires when Windows Update, Microsoft Store, or Office installers attempt a DNS lookup for a Microsoft update/store hostname and get ZERO IP address back. Because 0x80072ee7 fails at the very first step (hostname → IP translation), your PC never even attempts reaching Microsoft’s download servers! Real-world causes match DNS blockers closely: old "Windows Privacy / Anti-Telemetry" scripts that inserted 0.0.0.0 blocks across C:\Windows\System32\drivers\etc\hosts, offline or captive Wi-Fi networks awaiting browser sign-in, broken ISP/router DNS resolvers, or leftover corporate DNS overrides from an exited VPN. Auditing the hosts file cleanly, switching onto 1.1.1.1/8.8.8.8, and flushing DNS solves it rapidly.
Specific Symptoms
- Microsoft Store, Xbox App, or Windows Update exits immediately displaying
0x80072ee7. - Error details explicitly cite "The server name or address could not be resolved."
- Opening
http://neverssl.comor Chrome reveals Wi-Fi itself isn’t online yet (hotel portal or dropped router). - Running custom "Windows 10/11 ShutUp / Bloatware" tools preceded immediate Store and Update breakage.
Why This Error Occurs
- Corrupted or over-edited
hostsfile (drivers\etc\hosts) blackholes*.update.microsoft.comor Store domains. - ISP/router DNS server failed, or an exited VPN left private unreachable DNS IPs (
10.x.x.x) configured. - PC lacks working internet connectivity, sits behind a hotel captive portal, or has stale WinHTTP proxy redirects.
- Strict DNS-level ad blocker (Pi-hole/NextDNS/AdGuard) blocked essential Microsoft endpoint domains.
Troubleshooting Steps
Confirm general internet connectivity and inspect the Windows hosts file
Check that Chrome loads websites cleanly first (sign into any hotel Wi-Fi portal if needed). Next, inspect C:\Windows\System32\drivers\etc\hosts in Notepad (read-only check first!): if third-party "privacy" tools wrote dozens of 0.0.0.0 / 127.0.0.1 entries blocking microsoft.com, windowsupdate, or live.com, remove those unintended overrides cleanly as Administrator and save.
Flush Windows DNS cache and reset WinHTTP proxy entries
Open Administrator Command Prompt, purge Windows local DNS tables, register fresh interface endpoints, and wipe stale WinHTTP proxies cleanly.
ipconfig /flushdns && netsh winhttp reset proxy && netsh winsock reset
Switch DNS cleanly onto Cloudflare (1.1.1.1) or Google (8.8.8.8)
Press Win + R, run ncpa.cpl, open your active adapter Properties → Internet Protocol Version 4 (TCP/IPv4), switch DNS to 1.1.1.1 / 8.8.8.8 (checking IPv6 doesn’t hold dead resolvers either!), reconnect Wi-Fi/Ethernet, and verify DNS Client (Dnscache) runs cleanly.
ncpa.cpl
Check Pi-hole / VPN / router ad-blocking logs for blocked Microsoft domains
Pause VPN clients temporarily and verify home network ad-blockers aren’t blocking windowsupdate.com, mp.microsoft.com, dl.delivery.mp.microsoft.com, or login.live.com before re-running wsreset.exe or Windows Update.
What to Check If the Issue Continues
If you are attempting an offline Windows 11/10 Feature Update using a USB or network share on a disconnected isolated workstation, remember Microsoft Store / Windows Update online scans inevitably emit 0x80072ee7 until connected online or upgraded from a mounted official ISO.
Frequently Asked Questions
Why do privacy/anti-telemetry scripts trigger 0x80072ee7 months later?
Many aggressive Windows "de-bloat" utilities add entries directly into C:\Windows\System32\drivers\etc\hosts pointing sls.update.microsoft.com, storeedgefd.dsx.mp.microsoft.com, or v10.events.data.microsoft.com to 0.0.0.0, instantly causing Store and Update to throw 0x80072ee7.
Can DNS NXDOMAIN on a router ad-blocker produce 0x80072ee7 in Microsoft Store?
Yes! Whenever DNS resolves a Store or update CDN hostname to 0.0.0.0 or NXDOMAIN inside Pi-hole/AdGuard Home, Microsoft Store apps report 0x80072ee7 (server name could not be resolved).
Is restoring a default blank Windows hosts file safe?
Yes—on standard home Windows 10 and 11 machines, Microsoft leaves every example line inside hosts commented out with #, relying purely on standard DNS.
Does resetting Winsock fix 0x80072ee7 permanently?
netsh winsock reset clears broken socket/LSP layers if old VPN/proxy drivers corrupted DNS socket handshakes; pairing it with ipconfig /flushdns and clean 1.1.1.1 DNS covers both OS and upstream layers.
Search Another Error or Symptom
Search all 292 guides and tools on SolveKits: