This error stops the Windows Media Creation Tool from downloading Windows installation files, usually due to a date/time misconfiguration, SSL/TLS issues, or a blocked internet connection. The quickest fix is to set your system clock to the correct time and time zone, then run the tool as administrator; if that fails, you can reset Windows Update components or use a different download method.
What Causes Error 0x80072f76 0x20017?
The error code 0x80072f76 maps to ERROR_WINHTTP_SECURE_FAILURE in Windows, which means a secure connection (HTTPS) could not be established. The trailing 0x20017 is an internal Microsoft error that often appears when the tool cannot verify the server’s security certificate. Common triggers include:
- System date, time, or time zone set incorrectly, making the SSL certificate appear invalid.
- Antivirus or firewall software blocking the tool’s connection.
- Corrupted Windows Update components or a stalled update service.
- Network issues like a proxy, VPN, or restricted Wi-Fi that interferes with HTTPS.
- Outdated root certificates on the PC.
This error is not specific to a particular Windows version—it can appear on Windows 10, Windows 11, or older systems when using the Media Creation Tool to upgrade or create installation media.
How the Media Creation Tool Works
The Media Creation Tool is a small utility that downloads the latest Windows installation files from Microsoft’s servers over an encrypted HTTPS connection. It performs several steps:
- Checks the system’s compatibility and available disk space.
- Connects to Microsoft servers to fetch the correct Windows version and edition.
- Downloads several gigabytes of files (the exact size varies by version and language).
- Either creates a bootable USB drive, saves an ISO file, or starts an in-place upgrade.
Because the download is large and long-running, any interruption in the secure connection can cause the tool to fail with an error like 0x80072f76 0x20017. The tool relies on the system’s date and time to validate the server’s SSL certificate, so even a small clock drift can break the handshake.
Step-by-Step Fixes to Try
Work through these in order; most users resolve the issue with the first or second step.
1. Correct the Date, Time, and Time Zone
- Right-click the clock in the taskbar and select Adjust date/time.
- Turn off Set time automatically and Set time zone automatically.
- Manually set the correct time zone, date, and time. If you’re unsure, check your phone or another device.
- Turn both automatic settings back on.
- Restart the Media Creation Tool.
This is the most common fix because a wrong date makes the SSL certificate appear invalid.
2. Run the Tool as Administrator
Right-click the downloaded MediaCreationTool.exe file and choose Run as administrator. This gives the tool the permissions it needs to create system files and modify boot settings.
3. Temporarily Disable Antivirus and Firewall
Security software can block the tool’s connection. Temporarily disable your third-party antivirus and the Windows Defender Firewall, then try again. If the tool works, re-enable them and add the tool to the allowed list. Never leave your system unprotected for long.
4. Reset Windows Update Components
If the error persists, the Windows Update service may be stuck. Open Command Prompt as administrator and run these commands one by one:
net stop wuauserv net stop cryptSvc net stop bits ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 catroot2.old net start wuauserv net start cryptSvc net start bits
This resets the update cache. Then restart your PC and try the tool again.
5. Check Network and Proxy Settings
If you use a VPN or proxy, disconnect or disable it. On a corporate network, ask the administrator if HTTPS traffic on port 443 is allowed. You can also try switching from Wi-Fi to a wired connection or using a mobile hotspot.
6. Update Root Certificates
Open Windows Update in Settings and check for updates. Installing the latest cumulative update also refreshes the certificate store.
What to Do If the Error Still Appears
If none of the above works, you have alternatives that bypass the Media Creation Tool entirely:
- Download the ISO directly from Microsoft’s official Windows download page. You can select the edition and language, then download the ISO file. This avoids the tool’s extra checks.
- Use the Windows Update Assistant (for Windows 10) or the Installation Assistant (for Windows 11). These are separate tools that sometimes work when the Media Creation Tool fails.
- Use the ISO to create a bootable USB with a tool like Rufus or the built-in Windows USB/DVD Download Tool. This gives you the same result as the Media Creation Tool’s USB option.
If you only need to upgrade the current PC, the ISO method works: mount the ISO and run setup.exe from it.
Common Misconceptions
Many users think the error means their PC is incompatible or that the download is corrupted. In reality, it’s almost always a network or system configuration issue. Another misconception is that running the tool in Safe Mode helps—it rarely does, because network services are limited in Safe Mode. Also, deleting the tool and re-downloading it won’t help if the underlying clock or network problem remains.
Frequently Asked Questions
Does this error mean my PC can’t run Windows 11?
No. The error is about the download process, not your hardware. Even if your PC meets the requirements, the tool can still fail due to the issues described above. After fixing the clock or network, it should work.
Can I use the ISO file to upgrade without losing my files?
Yes. When you run setup.exe from the mounted ISO, you can choose Keep personal files and apps during the upgrade. This is the same in-place upgrade the Media Creation Tool performs.
Will resetting Windows Update components delete my personal files?
No. The commands only rename the update cache folders. Your documents, photos, and installed programs are untouched. The system will recreate the folders automatically.
Why does the tool need to check my date and time?
HTTPS connections rely on SSL certificates that have a validity period. If your system clock is off, the certificate appears expired or not yet valid, so the connection is rejected. This is a security measure to prevent man-in-the-middle attacks.
Is it safe to download Windows from a third-party website?
No. Always use Microsoft’s official download page or the Media Creation Tool. Third-party ISO files may be modified and contain malware. If the official tool fails, use the direct ISO download from Microsoft’s website.
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
- Disable Autocorrect on iPhone or iPad: Quick Guide
- View Notification Count on iPhone: Full Guide
- Custom Keyboard Shortcuts on Windows 11 & macOS
- Restore Windows 11 Display Scaling to Recommended
- Semiconductor Cycle: How Investors Track It0.0
- Microsoft Store Error 0x80073d12: Fixes That Work