sodcalculator

10 Tech How-To

Media Creation Tool Error 0x80070005 0x90002 Fix

Guide 10-48398 · Updated · Step by step

The “Media Creation Tool error 0x80070005 0x90002” appears when the Windows USB/DVD download tool cannot write temporary files or access a drive, usually due to permission restrictions, antivirus interference, or a corrupted download. The fix is to run the tool as administrator, disable conflicting security software temporarily, and ensure the target USB drive is formatted and writable.

What the Error Codes Mean

Error 0x80070005 is a Windows “Access Denied” error. It means the Media Creation Tool tried to read or write to a location (like a temp folder, the USB drive, or the system drive) but the operating system blocked it. The second code, 0x90002, is specific to the Media Creation Tool itself and often indicates a problem with the tool’s ability to access the installation files or the selected media.

When you see both together, the tool is usually failing at the stage where it copies the Windows installation files to the USB drive or creates the ISO file. This can happen on a fresh USB stick, an existing one, or even when trying to save an ISO to a secondary hard drive.

Why the Error Happens

  • Insufficient permissions: The tool needs to write to system folders and the target drive. If you are not running it as an administrator, Windows may block the write.
  • Antivirus or security software: Real-time protection can quarantine or block the tool’s temporary files, especially if it misidentifies the tool as a threat.
  • USB drive issues: The drive may be write-protected, formatted with an incompatible file system, or have a failing controller.
  • Corrupted download: The Media Creation Tool executable itself may be incomplete or damaged.
  • Conflicting background processes: Other programs (like OneDrive, backup software, or disk utilities) may be locking the target drive.
  • Windows Update service issues: The tool relies on Windows Update components to download files; if those are broken, the error can appear.

Fix 1: Run as Administrator and Clean the Temp Folder

  1. Right-click the MediaCreationTool.exe file and select Run as administrator.
  2. If the error persists, clear the temporary files the tool uses. Press Win + R, type %temp%, and press Enter. Delete everything inside the folder (skip any files in use).
  3. Also clear the C:\Windows\Temp folder (you may need admin permission).
  4. Restart the computer and try the tool again.

This resolves the most common cause—the tool cannot write to its own temp directory because of permission restrictions or leftover locked files.

Fix 2: Temporarily Disable Antivirus and Security Software

Third-party antivirus programs (like Norton, McAfee, or Bitdefender) and even Windows Defender’s real-time protection can interfere. The Media Creation Tool downloads and extracts large files; security software may block these actions.

  1. Open your antivirus program and look for a setting to disable real-time protection or shields.
  2. If you use Windows Defender, go to Windows Security > Virus & threat protection > Manage settings and turn off Real-time protection.
  3. Run the Media Creation Tool again.
  4. Re-enable your security software immediately after the tool finishes.

Do not disable your firewall or internet connection—only the file-scanning components. If the error disappears, you have identified the culprit. Add the Media Creation Tool to your antivirus exclusions list for future use.

Fix 3: Format the USB Drive and Check for Write Protection

The tool requires a USB drive with at least 8 GB of space (for Windows 10/11) and a file system it can write to (FAT32 or NTFS). If the drive is corrupted or write-protected, the error appears.

  1. Insert the USB drive and back up any data on it.
  2. Open File Explorer, right-click the drive, and select Format.
  3. Choose NTFS (or FAT32 if the drive is smaller than 32 GB) and click Start.
  4. If the format fails or the drive is read-only, check the physical write-protect switch (if present) or use Diskpart to clear the read-only attribute:
diskpart
list disk
select disk X (replace X with your USB drive number)
attributes disk clear readonly
exit

After formatting, try the tool again. If it still fails, try a different USB port (preferably a USB 2.0 port) or a different USB drive.

Fix 4: Download the Tool Again and Disable Conflicting Services

A corrupted download is more common than you might think. Delete the MediaCreationTool.exe file and download it fresh from Microsoft’s official website. Then, before running it, stop services that might lock files:

  1. Press Win + R, type services.msc, and press Enter.
  2. Find Windows Update, right-click, and select Stop.
  3. Also stop Background Intelligent Transfer Service (BITS).
  4. Run the Media Creation Tool as administrator.
  5. After the tool finishes, restart those services (set them back to Automatic and start them).

This prevents background services from interfering with the tool’s file operations. If the error persists after these steps, the problem may be with the Windows installation itself—try running the tool on a different PC to isolate the issue.

Frequently Asked Questions

Can I use the Media Creation Tool to upgrade my current PC?

Yes, the tool can upgrade the current PC by selecting “Upgrade this PC now.” The error 0x80070005 0x90002 can also appear during this process. The same fixes apply: run as administrator, disable antivirus temporarily, and free up disk space. If the upgrade fails, consider using the ISO download option and mounting it to run setup from within Windows.

Will formatting the USB drive delete my files?

Yes, formatting erases all data on the drive. Always back up any important files before formatting. If you want to keep the data, try using a different USB drive that you don’t mind wiping.

Does the error mean my USB drive is broken?

Not necessarily. The error is often a permission or software issue. However, if the drive fails to format or shows errors in Disk Management, it may be failing. Try a different drive to rule out hardware failure.

Can I bypass the error by using a different tool?

Yes, you can use the Windows Installation Assistant or download the ISO directly from Microsoft’s website and use third-party tools like Rufus to create a bootable USB. These alternatives often avoid the error because they use different write methods. However, the Media Creation Tool is the official method and should work after applying the fixes above.

Why does the error happen on a brand new USB drive?

Even new drives can have partition issues or be pre-formatted with exFAT, which the tool may not handle well. Formatting to NTFS or FAT32 usually resolves it. Also, some new drives have a hidden write-protect attribute—use Diskpart to clear it.

Do I need to disable my antivirus permanently?

No, only temporarily during the tool’s execution. Re-enable it immediately after. If the error returns when antivirus is on, add the Media Creation Tool and the USB drive to the antivirus exclusions list.

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

The whole Tech How-To bed →