Error 0x80072f8f 0x20000 in the Windows Media Creation Tool means the tool cannot establish a secure connection to Microsoft’s servers, usually due to an outdated system date, incorrect time zone, or a firewall/antivirus blocking HTTPS traffic. The fix is to verify your PC’s date and time settings, temporarily disable conflicting security software, and then rerun the tool as administrator. This error commonly appears when creating Windows 10 or Windows 11 installation media or upgrading your current system.
What This Error Code Actually Means
The hexadecimal code 0x80072f8f is a Windows network error that maps to ERROR_WINHTTP_SECURE_FAILURE. It occurs when the WinHTTP (Windows HTTP) stack fails to establish a secure SSL/TLS connection. The second part, 0x20000, is a sub-code from the Media Creation Tool itself, indicating that the failure happened during the download or update phase.
In plain terms: the tool tries to reach Microsoft’s download servers over HTTPS, but something in the chain—your system clock, a security program, or a network proxy—interferes with that handshake. The tool then aborts with this error instead of showing a more descriptive message.
Why the System Date and Time Matter So Much
SSL/TLS certificates have a validity period. When your PC’s clock is off by even a few minutes, the certificate appears “not yet valid” or “expired,” so the connection is rejected. This is the most common cause of 0x80072f8f.
To check and fix it:
- Right-click the clock in the taskbar and select Adjust date/time.
- Turn on Set time automatically and Set time zone automatically.
- If the time is still wrong, toggle automatic time off, set the correct date/time manually, then toggle it back on.
- Restart the Media Creation Tool after making the change.
Even if your clock looks correct, verify the time zone and region settings. A wrong time zone can shift the time by hours, which is enough to break the certificate check.
Firewall and Antivirus Interference
Third-party security software often intercepts HTTPS traffic to scan it for threats. This “SSL inspection” can confuse the Media Creation Tool, which expects a direct, unmodified connection to Microsoft’s servers.
To rule this out:
- Temporarily disable your antivirus real-time protection (not just the firewall).
- If using a third-party firewall, add an exception for
MediaCreationTool.exeandWindowsUpdate.exe. - Run the tool again. If it works, re-enable your security software and add permanent exceptions.
Windows Defender’s built-in firewall rarely causes this error, but if you’ve customized it, try resetting to default via Windows Security > Firewall & network protection > Restore firewalls to default.
Proxy and VPN Settings Can Break the Connection
If you use a VPN, a proxy, or a network with a custom proxy configuration, the Media Creation Tool may fail to reach Microsoft’s servers. The tool uses WinHTTP, which does not automatically use the same proxy settings as your browser.
Try these steps:
- Disconnect from any VPN and try again.
- If you’re on a corporate network, check with your IT department—they may block large downloads.
- Reset WinHTTP proxy settings by opening Command Prompt as administrator and running:
netsh winhttp reset proxy. - If you normally use a proxy, you can set it for WinHTTP with:
netsh winhttp set proxy your-proxy:port.
Running the Tool as Administrator and Other Quick Fixes
Sometimes the error is simply a permissions issue. Right-click the Media Creation Tool and select Run as administrator. This ensures it can write temporary files and access system resources without restriction.
Other quick fixes that have worked for many users:
- Download the tool again—the file may be corrupted. Delete the old one and get a fresh copy from Microsoft’s official site.
- Use the Download Tool Now button on the Windows 10 or Windows 11 download page, not an old cached copy.
- Disable any metered connection settings: Settings > Network & Internet > Wi-Fi > your network > Properties > Set as metered connection = Off.
- Clear the Windows Update cache by stopping the Windows Update service, deleting the contents of
C:\Windows\SoftwareDistribution\Download, and restarting the service.
When to Use the ISO Download Instead
If the error persists after all these steps, you don’t have to keep fighting the Media Creation Tool. Microsoft offers a direct ISO download for Windows 10 and Windows 11. You can download the ISO file and then:
- Mount it by double-clicking the ISO, then run
setup.exeto upgrade your current PC. - Create a bootable USB drive using the free Rufus tool (or the Windows built-in
diskpartmethod) to install on a different machine.
This bypasses the Media Creation Tool entirely, so the error code no longer applies. The ISO download page uses your browser’s HTTPS stack, which is more tolerant of minor clock skew and proxy differences.
Frequently Asked Questions
Will this error damage my PC or files?
No. The error occurs before any system changes are made. It simply aborts the download or update process. Your files and current Windows installation remain untouched.
Why does the tool work on another PC but not mine?
This usually points to a local configuration issue—most often the date/time or a security program. The other PC likely has correct time settings and no conflicting software. Compare those settings between the two machines.
Can I fix this by changing my DNS to Google or Cloudflare?
Sometimes. If your ISP’s DNS is blocking or misrouting Microsoft’s domains, switching to a public DNS like 8.8.8.8 (Google) or 1.1.1.1 (Cloudflare) can help. It’s worth trying, but the date/time and firewall fixes are more common solutions.
Does this error affect Windows Update as well?
Yes, the same underlying WinHTTP failure can affect Windows Update. If you see error 0x80072f8f in Windows Update, apply the same date/time and firewall fixes. Running the Windows Update troubleshooter (Settings > Update & Security > Troubleshoot) can also help.
Is there a way to bypass this error without fixing the cause?
You can use the ISO download method described above, which avoids the Media Creation Tool. However, if the root cause is a wrong clock, you may encounter similar certificate errors elsewhere, so it’s better to fix the underlying issue.
How long should I wait before giving up on the tool?
If you’ve tried all the steps in this article and the error persists, switch to the ISO method. There’s no benefit to repeatedly retrying the same tool with the same configuration—the result will be the same.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- European Password Managers: Sync, Privacy & Teams
- How to Uninstall Microsoft Edge From Windows 11
- Wireless Charger Not Working iPhone? Fixes That Work
- Fix Windows 10 Upgrade Stuck at 99 Percent
- iPhone Notification Settings: What Each One Means
- macOS: How to Set Default Browser