Windows Defender error 0x80072f8f: how to fix it
Error 0x80072f8f is a general secure-connection error, not a sign that Defender is broken. Defender could not complete a secure check with Microsoft's update server. The fix that most often applies is correcting the date, time and time zone, then retrying the update.
On this page
What it means
This is not really a Defender error. The code 0x80072f8f (12175 in decimal) is a secure-connection failure from the Windows internet layer (WinINet/WinHTTP). Microsoft's archived documentation ties it to a secure connection that cannot be verified, most often because the computer's clock does not match the update server's certificate.
Microsoft's own list of Defender update errors does not include this code, and the main Microsoft page about it is an archived post from the Windows 7 era. A user in a Microsoft Q&A thread reported that the clock was already correct and the error stayed. If that is you, move on to the later fixes.
Symptoms and causes
You are likely dealing with this problem if:
- Windows Security or Defender reports that the definition (security intelligence) update failed with 0x80072f8f.
- Windows Update shows the same code when you check for updates.
- Protection stays out of date even after you click Check for updates.
The usual causes, most common first:
- Wrong date, time or time zone
- This is the only cause Microsoft's archived post names. The update server's SSL certificate is checked against your clock, so a drifted clock or a failing CMOS battery can break the check.
- Untrusted or faulty certificates
- A broken certificate chain on the PC stops the secure connection from being accepted. Born City lists this as a cause but gives no exact steps.
- VPN, third-party security suite or firewall interfering
- Software that inspects SSL traffic can break the connection. Comments on Microsoft's archived post mention firewall deep inspection as one example (user reports, not official).
- Update source or WSUS configuration (unconfirmed)
- Microsoft lists update source order and WSUS approvals as causes of definition failures in general. No source ties them to this exact code.
How to fix it
Work through these in order. They start with the quickest, safest checks and move to deeper repairs; stop as soon as the problem is gone.
1.Correct the date, time and time zone
A clock that disagrees with the server's certificate is the cause Microsoft documents for this code, and the fix takes a minute.
- Open Settings, then Time & language, then Date & time.
- Set the correct Time zone.
- Turn on Set time automatically, then click Sync now.
- On older Windows: right-click the clock, choose Adjust date/time, open the Internet Time tab, click Change settings, tick Synchronize with an Internet time server, pick
time.windows.comand click Update now. - Restart the PC and retry the update.
2.Retry the Defender update
Once the clock is right, a fresh update attempt shows whether the connection now works.
- Open Windows Security, then Virus & threat protection, then Protection updates, then click Check for updates.
- Or run the update from an elevated Command Prompt.
MpCmdRun.exe -SignatureUpdate - If that command is not found, Microsoft's Defender page says to run it from
%ProgramData%\Microsoft\Windows Defender\Platform\<latest version>, falling back to%ProgramFiles%\Windows Defender. That page also shows the-MMPCform.MpCmdRun.exe -SignatureUpdate -MMPC
3.Rule out VPN, security suite and firewall interference
Software that inspects encrypted traffic can make the update server's certificate fail validation.
Before you start: Only pause these for a short test and turn everything back on afterwards. Do not leave the PC unprotected. Note that a non-Microsoft antivirus registered with Windows Security turns Defender off, and Defender then cannot update at all.
- Disconnect any VPN client and retry the update.
- If you use a third-party security suite or firewall, pause its web or SSL scanning, retry, then re-enable it straight away.
- On a work network, ask the administrator to exempt Windows Update and Defender update addresses from SSL inspection.
4.Install the definitions manually
This keeps you protected while you work out why automatic updates fail, and it tells you whether the problem is the connection or the update source.
- Download the definition update from Microsoft's page at https://www.microsoft.com/wdsi/defenderupdates and run it.
5.Check Windows Update itself
Microsoft's Defender troubleshooting page points to general Windows Update troubleshooting.
- Follow Microsoft's general Windows Update troubleshooting steps, which the Defender troubleshooting page links to. For related update errors on this site, see 0x80073712 and 0x80070643.
Check that it worked
- Protection updates in Windows Security shows a recent date for security intelligence and no error.
- Check for updates finishes without showing 0x80072f8f.
- Windows Update also checks for updates without the same code.
If it still fails
- Note what happens when you install definitions manually. If that works, the fault is in the automatic update path and not in Defender itself.
- Try another network, such as a phone hotspot, to rule out a proxy or firewall on your usual one.
- On a managed work or school PC, contact the administrator, since SSL inspection and update sources are set centrally.
- Ask for help on Microsoft Q&A or contact Microsoft Support, and include the exact error code and your Windows version.
Questions
Does 0x80072f8f mean Defender is damaged or infected?
No. It is a secure-connection or clock error. Nothing in the sources suggests Defender itself is broken or that malware is the cause.
My clock is already correct. Why does it still fail?
A user in a Microsoft Q&A thread reported exactly this, and that thread has no confirmed fix. Look at VPNs, security software, SSL inspection and certificates next, and use the manual definition install to see whether the problem is the connection or the update source.
Sources
- Windows Update error 80072f8fOfficial · Microsoft Learn (archived TechNet blog, 2011)
- Troubleshoot Microsoft Defender Antivirus Security intelligence not getting updatedOfficial · Microsoft Learn
- Windows Update Error 0x80072F8F · Born City
- windows defender error code 0x80072f8f · Microsoft Q&A (community thread, symptoms only)