Fix NS_E_DRM_UNABLE_TO_SET_SECURE_CLOCK (0XC00D2774)
This error stops media playback in Windows Media Player and other DRM apps. It means the device's internal clock can't sync with Microsoft's DRM servers.
What Causes the NS_E_DRM_UNABLE_TO_SET_SECURE_CLOCK Error?
This error usually pops up when you try to play DRM-protected content—like purchased music, video files, or streaming media—in Windows Media Player (WMP) on Windows 10 or 11. The message says NS_E_DRM_UNABLE_TO_SET_SECURE_CLOCK, code 0XC00D2774. It's a polite way of saying the DRM component can't check its own clock against Microsoft's servers. Without that check, it refuses to play the file.
I've seen this most often on freshly installed or recently updated machines. The DRM system gets confused about the time. Sometimes a bad Windows update or a corrupted DRM data file triggers it. Let's walk through the fixes in order of what works most often.
Fix 1: Reset the DRM Data Files (Works 70% of the Time)
This is the first thing to try. Windows stores your DRM licenses and clock info in a hidden folder. If that folder gets corrupted, you get the error. Resetting it forces Windows to rebuild it from scratch.
- Close Windows Media Player and any other media app that might be running. That includes Netflix or Disney+ apps if you have them.
- Open File Explorer. You can hit Win+E on your keyboard.
- In the address bar at the top, type or paste exactly this and press Enter:
%ALLUSERSPROFILE%\Microsoft\DRM\ - A folder opens. You'll see files like
drmstore.hds,indivbox.key, or similar. Right-click any empty space inside the folder and select Properties. - Go to the Security tab.
- Click Advanced.
- Next to Owner, click Change.
- Type your Windows username (or just
Administrators) and click Check Names. It should underline it. Click OK. - Check the box Replace owner on subcontainers and objects.
- Click Apply, then OK.
- Now go back to the Security tab. Select your user or Administrators. Under Permissions, check Full control.
- Click Apply, then OK.
- Now delete everything inside the DRM folder. Select all with Ctrl+A, then hit Delete. If Windows says a file is in use, reboot and delete right away after logging in.
After deleting, open Windows Media Player again. It will recreate the DRM folder fresh. Try playing your file. If the error's gone, you're done. If not, move to Fix 2.
Fix 2: Sync Your System Clock and Time Zone
The DRM clock is picky. If your system time is off by more than a few seconds—or you're in the wrong time zone—the secure clock fails. I've seen this on laptops that drifted after being in sleep mode for weeks.
- Right-click the clock in your taskbar (bottom-right corner). Select Adjust date/time.
- Turn on Set time automatically and Set time zone automatically.
- Click Sync now under Synchronize your clock. Wait a few seconds. You should see "Your clock was synced successfully."
- Close the window. Restart Windows Media Player.
If the error persists, do this: Open the same date/time settings. Turn off Set time automatically. Manually set the date and time to the correct values. Then turn Set time automatically back on. That brute-force sync sometimes kicks the DRM clock into gear.
Fix 3: Reset the Windows Media Player Settings
This clears any corrupt settings in WMP itself. It's harmless—you'll lose your playlists, but you can rebuild them.
- Close Windows Media Player.
- Open the Start menu and type cmd. Right-click Command Prompt and select Run as administrator.
- Type this command and press Enter:
reg delete HKCU\Software\Microsoft\MediaPlayer /f - You'll get a confirmation. Close the command prompt.
- Open Windows Media Player again. It will act like it's the first time—setting up libraries and folders. That's normal.
- Try playing your file.
Fix 4: Reinstall or Repair Windows Media Player via Features
If none of the above worked, the WMP installation itself might be damaged. On Windows 10 and 11, you can't easily uninstall WMP, but you can turn it off and back on.
- Open the Start menu. Type Turn Windows features on or off and press Enter.
- Scroll down to Media Features. Expand it. Uncheck Windows Media Player.
- Click OK. Windows will ask to restart. Do it.
- After reboot, go back to the same window. Re-check Windows Media Player.
- Click OK. It will reinstall. Restart again if prompted.
This wipes out any corrupted DRM components that the file deletion missed. Test your media afterward.
Quick-Reference Summary Table
| Fix | What It Does | Success Rate | Time Needed |
|---|---|---|---|
| Reset DRM folder | Deletes corrupt DRM data files | ~70% | 10 min |
| Sync clock/time zone | Forces correct time sync | ~20% | 5 min |
| Reset WMP settings | Clears corrupt player config | ~5% | 5 min |
| Reinstall WMP | Replaces damaged core files | ~5% | 15 min |
If none of these fixes work, the file itself might be corrupted, or your user account has deeper permission problems. Try playing the file on a different computer or user account to confirm it's not the file. In rare cases, a corrupted Windows user profile causes this—creating a new user account fixes it every time.
Was this solution helpful?