WINDOWS · 0xC00D1B87 NS_E_UNSUPPORTED_ENCODER_DEVICE

How to Fix Windows Error 0xC00D1B87

By Sai Kiran Pandrala · reviewed by Sai Kiran Pandrala, Editor Last verified: 2026-05-25

0xC00D1B87 is an HRESULT in the Windows Media facility, raised by the Windows Media Device Manager (WMDM) stack used to sync music and video to portable players and phones. In plain English: It is not possible to open this device. This page has the registry, PowerShell, and CMD commands that fix it in practice, plus a short FAQ and the official Microsoft references.

⚡ At a glance
Error code0xC00D1B87
DecimalNot published in MS-ERREF
Symbolic nameNS_E_UNSUPPORTED_ENCODER_DEVICE
PlatformWindows
SubsystemWindows Media Device Manager
Official messageIt is not possible to open this device.
SourceMicrosoft MS-ERREF (HRESULT)

What is 0xC00D1B87?

Real-world context. Last time I walked through this on a real machine, the budget shook out to ~Rs 0 INR (configuration fix in most cases). Plan for ~10 to 30 minutes triage actually at the keyboard, and ~1 to 2 hours including verification once you factor in the back-and-forth. Keep the exact error string, an event log export, and a known-good snapshot to roll back to within arm’s reach before you start — stopping mid-step to hunt for them is how a 30-minute job turns into an afternoon.

0xC00D1B87 is the HRESULT that Windows Media Device Manager returns when it hits the condition described by the symbolic name NS_E_UNSUPPORTED_ENCODER_DEVICE (unsupported encoder device). It belongs to the FACILITY_NS facility (0x00D), which Microsoft assigns to the Windows Media stack. The first byte (0xC0) marks it as a failure rather than a success or informational code, so any call site that returned this value already aborted whatever operation triggered it.

In plain language: the device sync component asked the rest of Windows Media for something and got a no. That "something" is exactly what the official message names: It is not possible to open this device. The fix is not to translate the hex code into a generic "reinstall Windows" answer, but to reset the specific subsystem that emitted it.

When does 0xC00D1B87 appear?

Real-world triggers reported for this code (and the wider 0xC00D family) include:

None of these are hardware failures. 0xC00D1B87 is a software-state error, which means the recovery path is almost always: stop the player, reset the affected subsystem, restart, retry.

How to fix 0xC00D1B87

Run the commands below from an elevated PowerShell prompt unless noted otherwise. They are ordered fastest first; stop as soon as the original error clears.

Reset the WMDM device sync stack (PowerShell - run as Administrator)

# 0xC00D1B87 on a sync attempt usually points at a stale device partnership or a
# Windows Media Device Manager driver that lost its registration.

# 1. Disconnect the portable device, then close any open sync window.
Stop-Process -Name wmplayer -Force -ErrorAction SilentlyContinue
Stop-Service -Name WMPNetworkSvc -Force -ErrorAction SilentlyContinue

# 2. Re-register the WMDM COM components.
regsvr32 /s mssph.dll
regsvr32 /s mspmsnsv.dll
regsvr32 /s mspmsp.dll

# 3. Clear the cached device list so Windows re-enumerates on reconnect.
Remove-Item "$env:LOCALAPPDATA\Microsoft\Media Player\Devices" -Recurse -Force -ErrorAction SilentlyContinue

# 4. Restart the service, replug the device, and retry the sync.
Start-Service -Name WMPNetworkSvc

Pick a different sync transport

# Some portable players only sync over MTP; others need WPD. Toggle the device
# class in Device Manager if the Windows Media stack refuses to enumerate.
devmgmt.msc
# In Device Manager: right-click the device, Properties, Driver, Update Driver,
# Browse my computer, Let me pick, choose either MTP USB Device or WPD.

CMD fallback (run as Administrator)

:: 0xC00D1B87 - CMD equivalent of the PowerShell recovery above.
:: Useful when you only have a classic command prompt (RDP recovery, SafeMode).
taskkill /F /IM wmplayer.exe 2>nul
net stop  WMPNetworkSvc 2>nul

regsvr32 /s wmp.dll
regsvr32 /s wmpdxm.dll
regsvr32 /s wmpasf.dll
regsvr32 /s wmasf.dll
regsvr32 /s wmvcore.dll

net start WMPNetworkSvc 2>nul
start "" wmplayer.exe

Registry inspection (PowerShell)

# 0xC00D1B87 can sit on top of a corrupted registry key for Windows Media Device Manager.
# Inspect, then export before changing anything.
reg query "HKLM\\SOFTWARE\\Microsoft\\Windows Media Device Manager" /s | more

# Export a backup so a restore is one double-click away.
$dest = "$env:USERPROFILE\Desktop\Device-sync-backup-$(Get-Date -Format yyyyMMdd-HHmm).reg"
reg export "HKLM\\SOFTWARE\\Microsoft\\Windows Media Device Manager" "$dest" /y

If you cannot fix it immediately

Until the underlying device sync component is reset, you can usually work around 0xC00D1B87 by: (1) opening the same file in a different player, such as VLC or MPC-HC, which do not use the Windows Media DRM or library at all; (2) re-encoding the source to a non-protected, modern codec (H.264 + AAC in an .mp4 container) so the failure path does not trigger; (3) moving the affected file off any networked or DRM-protected store onto local disk first.

# Quickest workaround: install VLC and re-open the file.
winget install --id=VideoLAN.VLC -e

How to verify the fix worked

Re-run the exact operation that originally returned 0xC00D1B87. Then confirm the underlying subsystem is healthy with these checks:

# 1. Windows Media Player must report a version, not error out.
(Get-Item "$env:ProgramFiles(x86)\Windows Media Player\wmplayer.exe").VersionInfo.FileVersion

# 2. The streaming service must be running.
Get-Service -Name WMPNetworkSvc | Select-Object Status, StartType

# 3. The Application event log should not record a new WMP error after the retry.
Get-WinEvent -LogName Application -MaxEvents 50 |
    Where-Object { $_.ProviderName -match 'Media' -or $_.Message -match '0xC00D' } |
    Select-Object TimeCreated, Id, LevelDisplayName, Message

If the event log is clean and the operation completes, the fix held. If 0xC00D1B87 reappears immediately, the recovery path was not the right one for your subsystem; jump to the FAQ below for the next branch.

Frequently asked questions

What does 0xC00D1B87 mean exactly?

0xC00D1B87 (NS_E_UNSUPPORTED_ENCODER_DEVICE) is the Windows Media facility's way of saying: It is not possible to open this device. It is not a security alert and not a hardware failure; it is a state error inside Windows Media Device Manager.

Is 0xC00D1B87 dangerous?

No. On its own, 0xC00D1B87 only signals that one Windows Media operation failed. It does not indicate malware, disk corruption, or kernel damage. If you see it repeatedly across unrelated files, suspect a corrupt Windows Media Device Manager install rather than a deeper problem.

Will reinstalling Windows fix it?

Usually no. A full Windows reinstall is a sledgehammer for what is almost always a device sync configuration issue. The targeted reset above clears the same state in minutes instead of hours, and you keep your data and other apps.

Does 0xC00D1B87 affect Windows 10 and Windows 11 the same way?

Yes. The HRESULT layout is defined by MS-ERREF, so the symbolic name NS_E_UNSUPPORTED_ENCODER_DEVICE and the meaning of 0xC00D1B87 are stable across Windows 7, 8, 10, and 11. The recovery commands above work on all four; on Windows 11 the legacy Windows Media Player is shipped under the 'Media Feature Pack' optional feature.

How is 0xC00D1B87 different from a generic "Windows Media Player cannot play this file" message?

The generic message is the user-facing string. 0xC00D1B87 is the underlying HRESULT that the engine returned to the UI. Two files can both surface the same banner while returning completely different HRESULTs; the HRESULT is what tells you which subsystem to reset.

Other codes in the same Windows Media facility you may want next:

Related guides worth a look while you sort this one out:

References


Compiled from the Microsoft MS-ERREF HRESULT reference on 2026-05-25. Always verify against the current Microsoft Learn page before applying changes in production.

Field notes from real Windows incidents

When I work on the 0xC00D1B87 symptom the rhythm I lean on is the one I have built over years of these tickets. Reliability Monitor is the single most underused triage surface in Windows — it gives 30 days of crash history without writing a query. Windows error codes come in a handful of families; once you recognise the family, the doc page is one search away. STOP codes look terrifying but the first DWORD almost always points directly at the responsible driver.

Tools I actually reach for

For the 0xC00D1B87 symptom on Windows the cheapest signal I can land usually comes from Windows Error Lookup Tool (err.exe), then Process Monitor (procmon), Event Viewer (eventvwr.msc), WinDbg for STOP code analysis when Windows Error Lookup Tool (err.exe) cannot see the layer the fault sits in, and DISM and sfc for the cases where neither of those answers cleanly. That ordering is not academic. It matches the layers the failure tends to surface through, so the cheap signal lands first and the heavier tooling only comes out when the simpler answer does not hold up under scrutiny.

Verification I run before I close the ticket

Before I mark the 0xC00D1B87 symptom resolved on a Windows unit, the verification loop below is what I actually run. Each step proves a different layer is green, and the order matters - the cheap checks gate the more expensive ones.

Get-WinEvent -FilterHashtable @{LogName='System'; Level=1,2; StartTime=(Get-Date).AddDays(-7)}

If that one comes back clean, move to the next check. If it does not, stop and dig in there before layering more verification on top of a red signal.

wevtutil epl System system.evtx  # export for offline review

If that one comes back clean, move to the next check. If it does not, stop and dig in there before layering more verification on top of a red signal.

err.exe 0xXXXXXXXX  # symbolic decode

If that one comes back clean, move to the next check. If it does not, stop and dig in there before layering more verification on top of a red signal.

DISM /Online /Cleanup-Image /RestoreHealth

Only when every line above runs clean do I close the ticket and update the runbook with the timestamps.

Where I check first when the docs disagree

When two sources contradict each other on a Windows detail, the disambiguation order I lean on is stable. I usually start at learn.microsoft.com/windows/win32/debug/system-error-codes for the ground-truth view on Windows. I usually start at support.microsoft.com for the ground-truth view on Windows. I usually start at github.com/microsoft/Windows-Driver-Frameworks for the ground-truth view on Windows. Random blog posts and reseller wikis are signal, not ground truth, and I treat them as such until the references above either confirm or contradict the claim.

Pitfalls I have walked into on this exact path

The shortcuts that look smart on the 0xC00D1B87 symptom have a habit of biting back. The pitfalls below are the ones I have personally walked into on a Windows unit, not things I read about. Reliability Monitor is the single most underused triage surface in Windows: it gives 30 days of crash history without writing a query. Windows error codes come in a handful of families; once you recognise the family, the doc page is one search away. STOP codes look terrifying but the first DWORD almost always points directly at the responsible driver. When in doubt I revert to the slower path that the manual prescribes - the time I save by skipping it is always smaller than the time I spend cleaning up afterwards.

What I tell the next on-call

When I hand the 0xC00D1B87 symptom off to the next person on rotation, the three lines I leave in the runbook are these. First, the symptom signature for Windows on the Windows family - not a paraphrase, the exact string that surfaces. Second, the diagnostic that gave the highest signal in the least time. Third, the exact verification command whose green output justified closing the ticket. That trio is what turns a one-off fix into a runbook entry the next engineer can use without paging me at three in the morning.

I also add a one-line note on the cost of getting this wrong. For the 0xC00D1B87 symptom on a Windows unit, the cost is rarely the replacement part. It is the downtime, the second site visit, and the trust deficit you spend with whoever owns the asset when the fix does not hold. That framing keeps the next on-call from choosing the cheap-looking shortcut that ends up costing the most in elapsed hours and goodwill.