0XC00D1026

NS_E_WMP_GIF_BAD_VERSION_NUMBER (0xC00D1026) Fix

Windows Media Player chokes on GIFs with bad version headers. Usually a corrupt file or outdated encoder. Quick registry fix or encoder update sorts it.

Quick Answer

Delete the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Player\Upgrade (or just the GifVersion value if it exists) and restart WMP. If that doesn't stick, re-encode the GIF using a modern tool like GIMP or ImageMagick.

Why This Happens

This error pops up when Windows Media Player (WMP) tries to play a GIF file that has a version identifier it doesn't recognize. The GIF format has two official versions: GIF87a and GIF89a. Anything else — like GIF89 without the a, or a corrupted header that reads GIF89a but then fails a checksum — triggers error 0xC00D1026.

The culprit here is almost always one of two things:

  1. Corrupt file — A download that got truncated or a bad conversion. The header bytes are mangled.
  2. Old or buggy encoder — Some ancient photo editors or screenshot tools write the version string wrong. I've seen this with old versions of Paint Shop Pro and some web-downloaded GIFs from the early 2000s.

Rarely, it's a WMP registry corruption that forgets the GIF decoder version. That's the easy fix below.

Step-by-Step Fix

Step 1: Check the GIF File

Open the GIF in any modern browser (Chrome, Firefox, Edge) or an image viewer like IrfanView. If it plays fine there, the file itself is likely okay. If it fails everywhere, skip to Step 3 — the file is probably corrupt.

Step 2: Registry Fix (The Real Fix for 80% of Cases)

  1. Press Win + R, type regedit, hit Enter.
  2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Player\Upgrade.
  3. Look for a value named GifVersion. If it exists, delete it. If the whole Upgrade key is causing issues, delete the entire key (right-click → Delete).
  4. Close Regedit and restart WMP. Try the GIF again.

If you get an access denied error, you need admin rights. Run Regedit as administrator (right-click → Run as administrator).

Step 3: Re-encode the GIF

If the registry fix didn't work, the file is corrupt or uses a non-standard version. Re-encode it with a reliable tool:

  • Using GIMP (free): File → Open → File → Export As → choose GIF → check “As animation” if needed. Export. Overwrite.
  • Using ImageMagick (command line): convert broken.gif fixed.gif — that rewrites the header clean.
  • Using an online tool (if you trust it): Upload to ezgif.com, re-encode, download.

Step 4: Reset WMP (Nuclear Option)

If WMP still won't play any GIFs — and Step 2 didn't help — reset WMP entirely:

  1. Close WMP.
  2. Open Command Prompt as admin (Win + X → Command Prompt (Admin)).
  3. Run: regsvr32 %systemroot%\system32\msdxm.ocx
  4. Run: regsvr32 %systemroot%\system32\dxmasf.dll
  5. Restart your PC.

Yes, those are old DLLs from the Windows Media Player redistributable. They still work on Windows 10 and 11.

Alternative Fixes

  • Use a different player — VLC or MPC-HC play GIFs without issue. This error is strictly a WMP thing. If you only need to view the file, don't bother with the registry — just switch players.
  • Run SFC /Scannow — Only if you suspect system file corruption. Open admin CMD, type sfc /scannow. I've never seen this fix the GIF version error, but it won't hurt.
  • Reinstall WMP — In Windows Features (turn Windows features on or off), uncheck “Media Features” → Windows Media Player, reboot, re-check it. This can fix a corrupted WMP install, but it's overkill for this specific error.

Prevention Tips

  • Always use a modern encoder — GIMP, Photoshop, or ImageMagick. Avoid ancient shareware tools from 2005.
  • If you convert from video to GIF, use FFmpeg: ffmpeg -i input.mp4 output.gif. It writes clean headers.
  • Batch-check GIFs with a simple script: findstr /m "GIF89a, GIF87a" *.gif in Command Prompt. If a file doesn't match, re-encode it.

That's it. This error is annoying but easy to squash. If you hit 0xC00D1026 again after fixing it, you likely downloaded another bad file — not a recurring system issue. WMP is finicky about GIF headers, but once you know the trick, it's a 2-minute fix.

Related Errors in Windows Errors
0X00000015 Fix ERROR_NOT_READY (0X00000015) - Device Not Ready 0XC00A0007 STATUS_CTX_NO_OUTBUF (0XC00A0007): Fix Terminal Server Output Buffer Errors 0X000020F9 Fix ERROR_DS_DRA_DN_EXISTS (0x20F9) in AD Replication 0XC0262517 Fix 0XC0262517: OPM Resolution Too High Error

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.