Fix NS_E_ARCHIVE_GAP_DETECTED (0XC00D158F) Error in Windows Media Center
This error means a TV recording stopped because the signal was lost or interrupted. The fix is usually checking your antenna or cable connection.
What triggers this error
You'll see NS_E_ARCHIVE_GAP_DETECTED (0XC00D158F) in Windows Media Center when a scheduled TV recording ends early. The system logs: "The archive plug-in detected an interrupt in the source." This means the TV signal dropped for a few seconds during recording.
Common scenarios: a storm rolls in, someone unplugs the antenna by accident, or your cable provider has a brief outage. I've seen it happen when a lawnmower knocks over an outdoor antenna cable. The recording gets a gap, and Media Center gives up.
1. Loose or damaged antenna/cable connection
This is the most common cause. The signal goes out for a split second, and the recording has a hole. 90% of the time, the fix is physical.
- Check the coax cable at the back of your TV tuner card. Screw it tight. Sometimes a finger-tight connection isn't enough – use a wrench or pliers to snug it a quarter turn more.
- Look at the cable itself. Bend it a few inches from each end. If you see a kink or a flat spot, replace that cable. A crushed coax kills signal.
- Test the antenna or wall jack. Plug a different TV or tuner into the same outlet. If that device also loses signal, the problem is upstream – call your cable company or check the antenna for damage.
- Reseat all splitters. If you have a splitter in your house (two cables feeding different rooms), unscrew each connector, clean the threads with a dry cloth, and reconnect firmly.
After doing this, run a test recording in Media Center. Go to Tasks > Settings > TV > TV Signal > Recordings and start a 10-minute manual recording. If it finishes without errors, you're good.
2. Weak signal from bad weather or interference
Rain, snow, or heavy wind can mess with over-the-air signals. If you use an indoor antenna, a passing truck or even a neighbor's microwave can cause brief dropouts.
- Check your signal strength in Media Center: Tasks > Settings > TV > TV Signal > Signal Strength. Look for the channel that failed. A reading below 60% is weak and likely to drop.
- Reposition your antenna. Move it to a window or higher shelf. Avoid metal objects and electronics near it. Even a few inches can boost signal by 10%.
- Use a signal amplifier. Buy one from Amazon or Best Buy for about $20. Place it right after the antenna, before any splitters. This helps in weak-signal areas.
- Wait out the weather. If the recording fails only during rain, you can't fix the weather. But you can schedule recordings for clearer days, or accept that some will fail.
3. Faulty TV tuner card or driver
If the connections are solid and signal is strong, the tuner card itself might be the problem. Old drivers or a dying card can cause random gaps.
- Update the tuner driver. Open Device Manager (right-click Start > Device Manager). Expand Sound, video and game controllers. Find your tuner (like "Hauppauge WinTV" or "ATI TV Wonder"). Right-click it, choose Update driver > Search automatically for drivers. Reboot after.
- Check for Windows updates. Media Center updates come through Windows Update. Go to Settings > Update & Security > Windows Update and install all pending updates.
- Test with another tuner. If you have a second tuner (some cards have dual), switch the cable to the other input. If the error goes away, the first tuner port is bad.
- Replace the card. A tuner card costs $30–$80. If it's over 5 years old, it's probably failing. Swap it out.
Quick-reference summary table
| Cause | Fix | Time needed |
|---|---|---|
| Loose coax cable | Tighten all connections | 5 minutes |
| Damaged cable | Replace the coax | 15 minutes |
| Weak signal | Reposition antenna or add amplifier | 20 minutes |
| Bad weather | Wait or reschedule recordings | N/A |
| Outdated driver | Update driver in Device Manager | 10 minutes |
| Faulty tuner card | Replace the card | 30 minutes |
Start with the physical connections. They're the easiest and most common fix. If that doesn't work, move to signal strength. Only replace hardware as a last resort. You'll have your recordings back quickly.
Was this solution helpful?