Windows PC Errors

How to Fix Windows Update Error 0x80072F8F

Error 0x80072F8FPlain English: your PC failed to establish a secure connection to Microsoft's servers — the security handshake needed for updates, activation, or the Media Creation Tool broke down.
Quick answer: Your PC cannot complete the secure (SSL/TLS) handshake with Microsoft's servers, so Windows Update fails with 0x80072f8f. The culprit is almost always a wrong system clock, disabled TLS 1.2, or a proxy or VPN intercepting the connection. Sync your date and time, enable TLS 1.1 and TLS 1.2 in Internet Options, turn off the proxy, reset the WinHTTP proxy, and the secure connection comes back. The exact menu paths and commands are below.

What error 0x80072f8f means

Error 0x80072f8f is Windows' way of saying the secure connection never got established. Whenever your PC talks to Microsoft's servers — checking for Windows updates, activating Windows, downloading from the Microsoft Store, or running the Media Creation Tool — it opens an encrypted SSL/TLS connection and verifies the server's certificate before sending anything. With this error, that handshake fails: the certificate cannot be validated, the encryption protocol is disabled on your side, or the secure response cannot be decoded. The underlying Windows error is a secure-failure code, which is exactly what 0x80072f8f reports.

What makes this error tricky is that it can appear in several different places for the same root cause. You might see it in Settings next to a failed Windows Update, as 0x80072F8F - 0x20000 in the Media Creation Tool when an in-place upgrade refuses to start, or during Windows activation when the activation servers cannot be reached securely. In every case, the fix is the same: restore whatever is breaking the secure channel between your PC and Microsoft. That is almost never your internet connection itself — your browser can load websites perfectly while this error blocks updates, because browsers manage their own certificate checks while Windows' system services rely on the PC's clock, TLS settings, and proxy configuration.

Common causes

How to fix error 0x80072f8f — step by step

Work through these fixes in order. Step 1 alone resolves most cases.

  1. Sync your date and time with a real time server Open Settings, go to Time and language, then Date and time. Turn on Set time automatically and Set time zone automatically, then click Sync now under Additional settings. Windows rejects SSL certificates when the system clock is off by more than a few minutes, so a correct clock is the single most effective fix for 0x80072f8f. If sync fails, open Terminal as administrator and run w32tm /resync to force a fresh sync.
  2. Enable TLS 1.1 and TLS 1.2 in Internet Options Press Windows + R, type inetcpl.cpl, and press Enter to open Internet Properties. Go to the Advanced tab, scroll down to the Security section, and make sure Use TLS 1.1 and Use TLS 1.2 are both checked. Click Apply, then OK, and restart your PC. Windows 7 and some older Windows 10 builds ship with TLS 1.2 off, and without it your PC cannot complete the secure handshake with Microsoft's servers.
  3. Turn off the proxy and disconnect the VPN Open Settings, go to Network and internet, then Proxy, and make sure Use a proxy server is turned off and no setup script is configured. Then disconnect your VPN completely and retry the update. A proxy or VPN that intercepts traffic presents its own certificate to your PC, and when that certificate is not trusted, the secure connection fails with 0x80072f8f.
  4. Reset the WinHTTP proxy Right-click Start and choose Terminal (Admin). Type netsh winhttp reset proxy and press Enter to clear any hidden system-wide proxy left behind by old software. This proxy is separate from the one in Settings, so it can break Windows Update even when the Settings proxy looks empty. Close the window and retry the update.
  5. Reset the Windows Update components Right-click Start and choose Terminal (Admin). Stop the services one at a time with net stop wuauserv, net stop cryptSvc, net stop bits, and net stop msiserver. Rename the update folders with ren C:\Windows\SoftwareDistribution SoftwareDistribution.old and ren C:\Windows\System32\catroot2 Catroot2.old. Restart the services with net start wuauserv, net start cryptSvc, net start bits, and net start msiserver, then check for updates again.
  6. Repair system files and refresh root certificates If the secure failure persists, open Terminal as administrator and run sfc /scannow to repair protected system files. When it finishes, run DISM.exe /Online /Cleanup-image /Restorehealth to repair the component store, which also helps your PC trust the current Microsoft root certificates. Restart your PC and check for updates one more time.

Did this fix it? Quick checklist

If the error survives all six steps, try the update on a different network — tether through your phone's hotspot and retry. If it works there, the block sits with your router or ISP's DNS: restart the router and try your ISP's default DNS instead of a third-party service. On a work PC, check whether it is pointed at a WSUS server with an expired or self-signed certificate — that certificate must be renewed by your IT admin, because your PC will never trust it once it lapses. As a last resort, an in-place upgrade with a freshly downloaded Media Creation Tool replaces every update component at once.

Frequently asked questions

What does error 0x80072f8f mean?

Error 0x80072f8f means your PC failed to establish a secure (SSL/TLS) connection to Microsoft's servers. Technically it is a secure-failure code: something in the security handshake went wrong — the certificate could not be verified, the encryption protocol was disabled, or the server's response could not be decoded. That is why it shows up in Windows Update, Windows activation, the Microsoft Store, and the Media Creation Tool: all of them download from Microsoft over secure connections.

Why does a wrong clock cause 0x80072f8f?

SSL certificates are only valid between two dates. If your PC's clock says it is 2019 (or 2031), every certificate your PC checks looks expired or not-yet-valid, so the handshake is rejected. Windows needs the clock accurate to within a few minutes, which is why turning on Set time automatically and clicking Sync now fixes this error so often.

Is 0x80072f8f caused by a virus?

Not usually. This error is a security-handshake failure, not an infection. That said, some malware does install rogue certificates or a local proxy to spy on traffic, which produces exactly this error. If the error appeared suddenly alongside pop-ups or strange browser behavior, run a full scan with Windows Security after trying the fixes above.

Will resetting the update components delete my files?

No. Renaming the SoftwareDistribution and catroot2 folders only clears update downloads and metadata. Your documents, apps, photos, and settings are untouched, and Windows rebuilds both folders automatically the next time you check for updates.