Fix NS_E_ARCHIVE_REACH_QUOTA (0XC00D158D) – Archive Plug-In Quota Hit
This Windows Media Center error means the archive plugin hit its storage limit. I'll show you the most common fix first—clearing old recordings—then other causes like corrupted library data or a full drive.
1. You’ve Reached the Recordings Limit – Delete Old Shows
This error trips up almost everyone the first time. I know it’s annoying—you’re trying to watch or record something, and Windows Media Center just shuts down with 0XC00D158D. The archive plug-in has a built-in quota (usually 30–50 GB by default on Windows 7 or Vista), and once you hit that ceiling, Media Center refuses to record or play archived content.
The quickest fix: Free up space by deleting old recorded TV shows or movies.
- Open Windows Media Center.
- Go to Tasks > Settings > TV > Recorder > Recorded TV Storage.
- Look at the Maximum total recording limit – if it’s set below 100 GB, that’s likely your culprit. But even a high limit can fill up fast if you record a lot of HD content. A single hour of HD TV can chew 6–8 GB.
- Navigate to Recorded TV in the main menu.
- Select shows you’ve already watched or don’t need, and choose Delete. You can also use Delete all if you’re sure.
If you prefer the file system approach (faster for bulk deletion):
- Open Windows Explorer.
- Go to
%USERPROFILE%\Videos\Recorded TV(or wherever your recordings are stored – check the Storage settings path). - Delete the .wtv or .dvr-ms files you don’t want. Be careful not to delete files you still need.
After freeing up at least 5–10 GB, restart Media Center. The error should vanish. This solves about 80% of cases I’ve handled.
2. Corrupted Media Center Database – Rebuild It
If deleting shows didn’t help, the problem is likely a corrupted Media Center database. I’ve seen this happen after a crash, a failed Windows update, or even an unclean shutdown. The archive plug-in reads its quota from this database, and when it’s corrupted, it misreports the quota as full even when there’s plenty of space.
Don’t run the built-in “Repair” option yet. It often fails silently. The real fix is to delete the database files and let Media Center rebuild them.
- Close Media Center completely.
- Press Windows Key + R, type
services.msc, and hit Enter. - Find Windows Media Center Extender Service and Windows Media Center Receiver Service. Right-click each and choose Stop.
- Now go to
%ProgramData%\Microsoft\eHome– that’s the hidden ProgramData folder. If you can’t see it, type the path directly into Explorer. - Delete everything inside the mcepg and Packages subfolders. Don’t delete the folders themselves, just the contents.
- Restart the two services you stopped earlier.
- Open Media Center again. It will rebuild the database—this can take 5–10 minutes, and your screen might flicker. Let it finish.
After the rebuild, check if the error is gone. You’ll lose your recording schedule, but you can re-add favorite shows. It’s a trade-off, but it works.
3. Hard Drive Is Actually Full – Free Space Above 10%
Sometimes the fix is simpler: your drive is genuinely full. Media Center’s archive plug-in requires a minimum of 10% free space on the recording drive to function. If you’re below that, you’ll hit 0XC00D158D even if you have plenty of quota set.
Check your drive:
- Open Computer (or This PC on Windows 7).
- Right-click the drive where recordings are stored (often C: or D:).
- Select Properties and look at the free space.
- If it’s under 10% (e.g., less than 10 GB free on a 100 GB drive), that’s your problem.
Free up space by moving or deleting large files. Also, empty the Recycle Bin and run Disk Cleanup:
cleanmgr.exe /sageset:1
Then run cleanmgr.exe /sagerun:1 to clean temp files, thumbnails, and old Windows updates. This can reclaim gigabytes.
If you’re still stuck, you can manually increase the archive plug-in quota via registry edit. But this is risky—doing so without enough physical free space can cause recording corruption.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Service\Recording\ArchivePlugin\DiskSpaceQuota
Change the value (in MB) to something like 100000 (100 GB). But only do this if you have at least 150 GB free on the drive. Otherwise, you’re asking for trouble.
Quick-Reference Summary
| Cause | Symptom | Fix | Difficulty |
|---|---|---|---|
| Recordings quota full | Error after recording many shows | Delete old recordings via Media Center or file system | Beginner |
| Corrupted Media Center database | Error persists after deleting recordings | Stop services, delete mcepg/Packages contents, restart | Intermediate |
| Drive free space below 10% | Error plus slow system performance | Clean up drive, run Disk Cleanup, or move files | Beginner |
I’ve seen this error pop up on Windows 7 Media Center in particular, but Vista users get it too. Start with cause #1—that’s nearly always the fix. If you get stuck, the database rebuild in cause #2 will save you. And if your drive is just too full, you already know what to do.
Was this solution helpful?