Windows error inside an HRESULT
0x80072F8F ERROR_WINHTTP_SECURE_FAILURE
The secure (TLS) connection failed. Seen as 0x80072F8F. The most common cause is a PC clock that is wrong, so certificates look expired or not yet valid.
Where you will see it
- Windows Update
- Microsoft Store
- Activation
Likely causes, most common first
- Wrong date, time or time zone.
- Security software inspecting secure connections.
- Missing root certificate updates.
How to fix it, in this order
Start with the first fix and check the result before moving on; each one says how to tell that it worked.
1. Fix the date, time and time zone (easy)
- Open Settings, Time & language, Date & time.
- Turn on Set time automatically and Set time zone automatically, then press Sync now.
- Try again.
It worked if: The clock in the taskbar matches the real time, and the secure connection now works.
2. Check the connection, proxy and VPN (easy)
- Open a website in the browser to confirm the PC is online.
- Pause any VPN, and turn off a proxy under Settings, Network & internet, Proxy, unless your workplace needs it.
- If a third-party firewall or antivirus is installed, pause it for one try.
- Try again.
It worked if: The download or connection completes.
What Microsoft's documentation says
Microsoft's own wording for this code, quoted from the page named under each quote. The plain-English explanation and the fixes above are ours.
“One or more errors were found in the Secure Sockets Layer (SSL) certificate sent by the server.”
“WinINet failed to perform content decoding on the response.”
“TLS 1.2 isn't configured correctly on the client.”
Microsoft’s fix for Windows Update: turn on TLS 1.2 (on older Windows versions, the update in KB3140245).
The same code, written other ways
Search a log or a forum for any of these; they are all this code.
- 0x80072F8F (what Windows Update, DISM and installers print)
- -2147012721 (signed decimal, as PowerShell and some logs show it)
- 2147954575 (unsigned decimal)
- Windows error 12175 (0x2F8F), the number inside it; net helpmsg 12175 prints its message
How the code is put together
Read from the bits as Microsoft's [MS-ERREF] Windows Error Codes specification lays them out.
- Severity: 1 (failure) (bit 31)
- Customer bit: 0 (Microsoft) (bit 29)
- NTSTATUS inside: 0 (bit 28)
- Facility: 7 (FACILITY_WIN32) (bits 16-26)
- Code: 12175 (0x2F8F) (bits 0-15)
Codes that often come with it
- 0x80072EFD ERROR_INTERNET_CANNOT_CONNECT
The connection to the server could not be made.
More than one code in your log?
Paste the whole CBS, DISM or Windows Update log into the decoder. It lists every code in it, in order, with the line it was on. Decoded in your browser; nothing is sent.
Open the error code decoder →Helping someone with the same problem?
Send them this page, or link to it from a forum reply or your own site.