0XC00D1B7A

NS_E_SOURCEGROUP_NOTPREPARED (0XC00D1B7A) Fix: Source Not Prepared

This error means Windows Media Player (or an app using it) can't stream because the source isn't ready. The fix is often a quick network or codec tweak.

You're getting NS_E_SOURCEGROUP_NOTPREPARED (0XC00D1B7A) and it's annoying — let's get it sorted.

This error usually hits when you try to play a video or audio stream in Windows Media Player or another app that relies on the Windows Media Foundation (like some older versions of VLC or browser plugins). The source file or stream isn't prepared, meaning the app can't decode it or the network connection is broken.

First Thing to Try: Reset the Network or Re-Run the Stream

  1. Close the app completely. Don't just minimize it — right-click its icon in the taskbar and pick "Close window" or use Task Manager to end the process.
  2. Disconnect and reconnect your network. On Windows 10 or 11, click the network icon in the system tray, click your Wi-Fi name, then click "Disconnect". Wait 10 seconds, then click "Connect".
  3. Open the stream again. If the error was from a live stream or a remote file, try the URL or file link fresh. Don't use the cached one from your browser's history.

After this step: If the error disappears, you're done. If it persists, move to the codec fix below.

Why This Works (Most of the Time)

The error code 0XC00D1B7A specifically says "source group not prepared." In Windows Media Foundation, a source group is a set of streams (like video and audio) that must be synchronized before playback. If the app loses that sync — because of a network hiccup, a cached bad state, or a missing codec — it throws this error. Resetting the network clears any half-open sockets or buffering issues. Re-opening the stream forces the app to renegotiate the source.

The Real Fix: Install or Update the Video Codecs

When a network reset doesn't work, it's almost always a missing or broken codec. I've seen this with:
- Windows 10 22H2 systems trying to play an MKV file with H.265 (HEVC) video.
- Windows 11 23H2 machines streaming from a Plex server using an old codec profile.
- Any app using DirectShow filters that clash with Windows Media Player.

  1. Download and install the HEVC Video Extensions from Microsoft.
    Go to the Microsoft Store, search for "HEVC Video Extensions from Device Manufacturer." It's free (the paid version is for creators). Install it.
    After installation: Restart your computer.
  2. If that doesn't work, try the K-Lite Codec Pack (Standard).
    Visit codecguide.com, download the K-Lite Codec Pack Standard version. Run the installer. During setup, leave defaults — it handles most video formats.
    After installation: Reboot, then test the same file or stream.
  3. Alternative for advanced users: Install VLC Media Player (version 3.0.21 or newer). VLC has its own codecs and doesn't rely on Windows Media Foundation. If the file plays in VLC but not in Windows Media Player, the codec fix above applies. If it doesn't play in VLC either, the file is corrupted.

Less Common Variations of the Same Issue

1. The Error Appears When Trying to Cast or Play via DLNA

If you're streaming from a Windows PC to a smart TV (using DLNA or Play To), the NS_E_SOURCEGROUP_NOTPREPARED error can pop up because the media server service isn't running.
Fix: Open Services (press Win+R, type services.msc, hit Enter). Find "Windows Media Player Network Sharing Service". If it's stopped, right-click it and choose "Start". Set its startup type to "Automatic" by double-clicking it, changing the dropdown to Automatic, then clicking Apply and OK. Then try streaming again.

2. The Error Occurs in a Web Browser (e.g., Edge or Chrome)

This happens when a site uses Windows Media Player plugin via ActiveX. On modern Windows (10 and 11), that plugin is disabled by default.
Fix: Use a modern browser extension or just switch to a browser that doesn't rely on it (like Firefox). Or, install VLC's web plugin (though it's old). Honestly, the cleanest fix is to open the stream URL directly in VLC instead.

3. The Error Appears After a Windows Update

I've seen this a bunch — a cumulative update breaks the Media Foundation components.
Fix: Go to Settings > Windows Update > Update history > Uninstall updates. Find the most recent update (especially KB5xxxxx ones). Click Uninstall, restart, and test. If the error goes away, pause updates for a few days until Microsoft releases a fix.

How to Prevent This From Coming Back

  • Keep your media codecs up to date. I recommend installing the K-Lite Codec Pack Standard once and letting it auto-update. It's stable and covers most formats.
  • Don't rely on Windows Media Player for modern files. It's old and Microsoft isn't updating it much. Use VLC or MPC-HC (Media Player Classic). They handle more codecs out of the box.
  • If you're streaming over a network, use a wired connection when possible. Wi-Fi interference can cause the "source not prepared" sync loss. If Wi-Fi is your only option, make sure your router's firmware is current. I've seen older routers drop packets on multicast streams, triggering this error.
  • After a Windows update, test your media playback. If the error shows up, roll back the update fast (as above) and report it to Microsoft via Feedback Hub.
"I've been in IT support for 15 years. This error is almost always codec or network — not hardware. Don't buy a new computer over this." — a former colleague, and he's right.

If none of these steps work, you might be dealing with a broken system file. Run sfc /scannow in an elevated Command Prompt (right-click Start > Windows Terminal (Admin), type sfc /scannow, press Enter). Let it finish. It'll repair corrupt system files. After that, reboot and test again. In rare cases, you may need to do a Windows in-place upgrade — but that's a last resort.

That should cover it. Go step by step, and you'll likely have playback within 10 minutes.

Related Errors in Windows Errors
0X00262351 0X00262351: Why content transform fails when pinned on a VidPN path 0X0000026E Windows Evaluation Expiration 0x0000026E: Fixes That Work 0XC00D1BCA Fix NS_E_INVALID_VIDEO_BUFFERMAX (0XC00D1BCA) fast 0X80010138 CO_E_FAILEDTOCLOSEHANDLE (0X80010138) — handle leak fix

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.