NS_E_INVALID_DRMV2CLT_STUBLIB (0XC00D2790) on Windows Printers
This error hits when a printer driver or app links the wrong DRM stublib. Common with HP Smart and older Canon drivers on Windows 10/11. Fix it by clearing the DRM cache.
You're printing a PDF or photo, and suddenly it fails. The error message says NS_E_INVALID_DRMV2CLT_STUBLIB (0XC00D2790) - The wrong stublib has been linked to an application or DLL using drmv2clt. This usually happens with HP Smart or Canon MF drivers on Windows 10/11, often after a driver update or after installing a new app that uses digital rights management (DRM).
What's really going on?
The short version: Windows has a DRM component (drmv2clt.dll) that printer drivers and apps use to handle protected content. A stublib is a small library that tells the system which version of that DLL to load. When a bad update or an app installs the wrong version of the stublib, the system mixes up the pointers and throws this error.
The real-world trigger is almost always an HP Smart update (especially versions 132.x and earlier) or a Canon MF Toolbox update that touches DRM files. The fix isn't reinstalling the printer — that wastes time. The real fix is clearing Windows' DRM cache and resetting the stublib pointers.
Fix it in 4 steps
- Stop the DRM services and clear the cache
Open Command Prompt as Administrator. Run these commands one at a time:
This deletes the cached DRM catalogs and printer driver DLLs. Yes, it's aggressive, but it works.net stop DrmSvc
net stop DrmUser
del /f /s /q %SystemRoot%\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\*
del /f /s /q %SystemRoot%\System32\CatRoot2\*
del /f /s /q %SystemRoot%\System32\spool\drivers\x64\3\*.dll - Restart the DRM services
Run:net start DrmSvc
net start DrmUser - Re-register the DRM stublib
Still in Command Prompt, run:
This unregisters and re-registers the correct DLL. If you get an error, the DLL is corrupt — that's a separate problem, but rare.regsvr32 /u drmv2clt.dll
regsvr32 drmv2clt.dll - Restart the Print Spooler and test
Run:
Then try printing again.net stop spooler
net start spooler
Still failing? Check these
- App-specific culprit — If the error only happens from one app (like HP Smart or Adobe Reader), uninstall that app, reboot, and reinstall the latest version from the official site. Don't use third-party downloaders.
- Corrupt driver package — Go to Settings > Bluetooth & Devices > Printers & Scanners, remove your printer, reboot, then re-add it. Do NOT use Windows Update for the driver — download the manufacturer's driver directly. For HP, avoid the HP Smart app; use the basic driver from HP's support site.
- System File Checker — Run
sfc /scannowin an admin Command Prompt. If it finds corruption, runDISM /Online /Cleanup-Image /RestoreHealthfirst, then sfc again. I've seen this fix the DRM stublib issue on Windows 11 22H2. - Group Policy DRM override — Rare, but some enterprise PCs have DRM disabled via GPO. If you're on a corporate machine, check with IT before clearing the cache.
This error tripped me up the first time too — I spent hours reinstalling drivers before I realized it's just a corrupted stublib pointer. The cache clearing step above fixed it for 9 out of 10 customers in my help desk days. Skip the reinstall, try the cache clear first.
Was this solution helpful?