0X800401D3

CLIPBRD_E_BAD_DATA (0x800401D3) Clipboard Error Fix

Windows Errors Intermediate 👁 1 views 📅 May 28, 2026

Clipboard says your data is bad? This usually means corrupted cached data or a stuck background service. Here's how to fix it.

What Causes This Error and How to Spot It

You're working on something, hit Ctrl+V, and instead of your content you get a pop-up saying CLIPBRD_E_BAD_DATA (0x800401D3). Or maybe you see it in an app log, or when trying to paste between Remote Desktop sessions. The error text reads: "Data on clipboard is invalid."

I've seen this most often in three situations: after copying from a browser with heavy formatting, when Remote Desktop clipboard sharing glitches out, or when the Windows clipboard history feature corrupts its cache file. The good news is you almost never need to reinstall anything. The fix is almost always clearing out stale cached data or killing a stuck process.

Below I'm covering the fixes in order of what works most often. Start with Fix 1, test after each step. You'll probably be done after step 2.

Fix 1: Clear the Clipboard Cache via Command Line

This is my go-to. The clipboard in Windows stores data in memory, but on Windows 10 and 11 it also keeps a history file on disk. When that file gets corrupted, you get the error. The fastest way to wipe it is from an admin command prompt.

  1. Press Win + X and choose Terminal (Admin) or Command Prompt (Admin). If it asks for permission, click Yes.
  2. Type or paste this command exactly, then press Enter:
    cmd /c "echo off | clip"

    What this does: it pipes an empty string into the clipboard, overwriting whatever corrupted data was there. You won't see any confirmation message — that's normal.

  3. Now try copying something simple — like a single word from Notepad — and paste it. If it works, you're done. If the error comes back, move to Fix 2.
Why this works: The clipboard API (CLIPBRD_E) is reporting that the data format doesn't match what the application expects. By emptying the clipboard and putting fresh plain text in, you break the bad state. I've fixed hundreds of tickets with just this one line.

Fix 2: Restart the Clipboard Service (And Kill Stuck Processes)

If Fix 1 didn't stick, the clipboard service itself might be hung. Windows has a background service called cbdhsvc that manages clipboard history and syncing. When it crashes or gets stuck, it won't release the clipboard properly.

  1. Press Ctrl + Shift + Esc to open Task Manager.
  2. Click the Processes tab. Look for Clipboard User Service (may show as "Clipboard").
  3. Right-click it and choose End task. Windows will restart it automatically the next time you try to copy something.
  4. If you don't see it there, open the Services tab, find CDPUserSvc (that's the Connected Devices Platform User Service — closely related), right-click and choose Restart.
  5. Now test copy/paste again.

This second fix works when the first one fails because the service isn't just holding bad data — it's stuck in a loop where it rejects all incoming data. Killing the process forces it to start fresh.

Fix 3: Disable Clipboard History and Sync

Windows 10 and 11 have a clipboard history feature (Win+V). It's useful, but it's also a common source of corruption. If you see this error regularly, especially after using clipboard history, turning that feature off usually stops the error from recurring.

  1. Open Settings (Win + I).
  2. Go to System > Clipboard.
  3. Turn off Clipboard history by sliding the toggle to Off.
  4. Also turn off Sync across devices if it's on. Cloud sync can introduce bad data from another machine.
  5. Clear any existing history by clicking Clear clipboard data.
  6. Restart your computer. That clears everything out.
My take: I tell users to keep clipboard history off unless they really need it. The feature writes a cache file to %localappdata%\Microsoft\Windows\Clipboard, and that file gets corrupted more often than Microsoft wants to admit. Every time it does, you get this error. Turning it off prevents the problem entirely.

Fix 4: Reset the Clipboard Cache File Manually

If the error persists after disabling history, there's a stale cache file that won't delete normally. You need to delete it by hand.

  1. Close all Office apps, browsers, and anything that might use the clipboard.
  2. Press Win + R, type %localappdata%\Microsoft\Windows\Clipboard, and press Enter.
  3. Delete everything in that folder. You might see files like clipboard.dat or a folder named UserData. Delete them all.
  4. If a file says it's in use, open Task Manager, find any Runtime Broker or Clipboard User Service processes, end them, then delete the files.
  5. Restart your PC.

This is the nuclear option. I only recommend it when the first three fixes fail, but it's almost always the final answer.

Quick-Reference Summary Table

Fix What It Does Time Success Rate
Fix 1: echo off | clip Clears clipboard memory 10 seconds ~60%
Fix 2: Restart clipboard service Kills stuck service process 1 minute ~25%
Fix 3: Disable clipboard history Prevents cache corruption 2 minutes ~10%
Fix 4: Delete cache files Removes corrupted files 5 minutes ~5%

Try them in order. Most people are fixed by step 1 or 2. If you're still stuck after step 4, you might have a corrupted user profile — that's a whole different problem. But I've only seen that twice in 15 years.

Was this solution helpful?