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:
- Corrupt file — A download that got truncated or a bad conversion. The header bytes are mangled.
- 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)
- Press Win + R, type
regedit, hit Enter. - Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Player\Upgrade. - Look for a value named
GifVersion. If it exists, delete it. If the wholeUpgradekey is causing issues, delete the entire key (right-click → Delete). - 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:
- Close WMP.
- Open Command Prompt as admin (Win + X → Command Prompt (Admin)).
- Run:
regsvr32 %systemroot%\system32\msdxm.ocx - Run:
regsvr32 %systemroot%\system32\dxmasf.dll - 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" *.gifin 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.