NS_E_SETUP_INCOMPLETE (0XC00D2AFC) Fix
This error means Windows Media Center setup didn't finish. Usually it's a corrupted cache or a missing system file. I'll show you how to clear it.
Quick answer (for advanced users)
Delete the folder C:\Users\[YourUserName]\AppData\Roaming\Microsoft\eHome and restart Media Center. That clears the corrupted setup cache.
Why this happens
The error NS_E_SETUP_INCOMPLETE (0XC00D2AFC) hits when Windows Media Center (WMC) on Windows 7 — sometimes Vista — can't finish its first-run setup. It's almost always because a previous setup attempt left behind a bad cache file in the eHome folder. That folder stores your TV tuner config, guide data, and setup state. If it gets corrupted — say from a crash during setup, a power loss, or a wonky TV tuner driver — Media Center bails out with this code. I've seen it happen right after installing a new TV card or updating a graphics driver. The fix is dirt simple: clear the cache and start over.
Step-by-step fix
- Close Media Center completely. If it's running, right-click its icon in the taskbar and pick Close window. Or press Alt+F4. Don't just minimize it.
- Open File Explorer. Click the folder icon on the taskbar or press Windows key + E.
- Type this path in the address bar (replace
[YourUserName]with your actual Windows user name):%appdata%\Microsoft\eHome
Hit Enter. You should see a folder with files likeepgx.obj,mcx2prov.dll, and aTunersubfolder. If you don't see this folder, skip to step 4 — it's already missing, which is weird. - Select everything inside the eHome folder — press Ctrl+A — then hit Delete. Say Yes if Windows asks for permission. You might get a warning about files in use (like
ehshell.exe). If so, close Media Center again, wait 10 seconds, and retry. If it still won't delete, reboot Windows and try again from step 1. - Open Media Center — go to Start > All Programs > Windows Media Center. It'll start the first-run wizard again. Click Continue and go through the setup. You'll need to re-enter your TV region and let it download the guide. That's fine.
- Test it. Once the wizard finishes, check if you can watch live TV or browse recorded shows. If it loads without the error, you're golden.
If that doesn't work
Sometimes the cache is stuck because of a deeper issue. Try these in order:
- Run the WMC setup tool from the command line. Hit Windows key + R, type
cmd, and press Enter. Then paste this command and press Enter:%windir%\ehome\ehshell.exe /regsetup
It'll re-register Media Center's components. You'll see a black window flash — that's normal. - Check your TV tuner driver. Open Device Manager (right-click Computer > Manage > Device Manager). Expand Sound, video and game controllers. If you see a yellow exclamation mark next to your tuner, right-click it and pick Update driver. Reboot after.
- Repair the Windows Media Center installation. Go to Control Panel > Programs and Features > Turn Windows features on or off. Uncheck Media Center, click OK, let it remove. Reboot. Then go back and re-check it. That forces a clean reinstall from the system files.
- If you're on Windows 7 Home Premium or higher, the real fix is often just giving up and using a third-party media center like Kodi. But I've never had to go that far — the cache delete works 95% of the time.
Prevention tip
Once you get Media Center running, avoid messing with the eHome folder. Don't delete it manually unless you're troubleshooting. And if you add or remove a TV tuner, always run the Media Center setup again from scratch — don't try to reuse an old config. That's what causes the corruption in the first place. Oh, and keep your graphics drivers updated. A stale driver can hammer the setup process and trigger this error.
Was this solution helpful?