Fix NS_E_DRM_LIC_NEEDS_DEVICE_CLOCK_SET (0xC00D2779)
Windows throws this when syncing protected media to a portable device whose clock is wrong. The DRM license checks the device date and rejects it if the clock's off.
Quick answer
Set the date and time on your portable device to match your PC's clock, then re-sync in Windows Media Player.
What's actually happening here
This error fires when you try to transfer DRM-protected content — purchased songs, rented movies, subscription tracks — from Windows Media Player to a portable device. The DRM license inside each file contains a validity period. Before the device decrypts and plays the media, it checks its own internal clock against that license date. If the device clock is wildly wrong — say, set to January 2000 or even just a few hours off — the DRM system assumes the license hasn't started yet or has already expired. It nopes out with 0xC00D2779.
I've seen this most often with older Zune devices, SanDisk Sansas, and cheap Android tablets synced via WMP. But any device that doesn't auto-update its clock from a network can trigger it. The key insight: the error message says "device clock is not set," but the clock is set — it's just wrong. Microsoft's phrasing is sloppy here.
Fix steps
- Check the device clock. Power on your portable device. Go to Settings > Date & Time (or the equivalent on your device). Note what date and time it shows. If it's off by more than a few minutes, you've found the culprit.
- Set it to the current date and time. Manually adjust the device's clock to match your computer's clock. Be exact — even a day off can break DRM checks. If the device has an option to sync from a network or mobile tower, enable that instead. Disable any "auto time zone" or "DST" features that might mess things up.
- Reconnect the device to your PC. Plug it back in via USB. Launch Windows Media Player. Go to the Sync tab. You'll likely see the device listed. Click Sync to retry the transfer.
- Re-sync the protected files. If the sync doesn't automatically resume, remove the failed items from the sync list and add them again. Start the sync. It should complete without the error this time.
- Restart the device and PC if it still fails. A cold boot clears any cached DRM state. Power cycle both machines, then repeat steps 3 and 4.
Alternative fixes if the main one fails
Re-acquire the DRM license. Sometimes the license itself is corrupted or out of sync. Open the file directly on your PC in Windows Media Player. If it plays fine, the license is okay — the device clock was the issue. If it doesn't play either, you need to re-download the file from the store or service where you bought it. For subscription services like Zune Pass or Rhapsody, sign out and sign back in to refresh your licenses.
Use a different sync method. Windows Media Player is ancient and cranky. Consider switching to a tool that bypasses DRM altogether — but only if the content terms allow it. For local files you own, you can strip the DRM with tools like TunesKit or NoteBurner. For subscription tracks, you're stuck with the player.
Update the device firmware. Some old devices have clock bugs that later firmware fixed. Check the manufacturer's site for a firmware update. This is rare but worth a shot if the clock keeps resetting.
Set your PC's clock first. Okay, this sounds backwards, but I've seen cases where the PC's clock was off by a few minutes and the device reflected that. Sync your PC to time.windows.com first, then adjust the device.
Prevention tip
The simplest fix that works forever: buy DRM-free music. Seriously. Any file from Amazon MP3, Bandcamp, or a CD rip won't trigger this error because there's no license check. For subscription services, accept that clock errors are part of the deal and make it a habit to set the device clock before every sync session.
Was this solution helpful?