Clipboard stopped working

23

15

I don't seem to be able to copy and paste any more. Not sure what I did to cause it.

I've tried doing it in several programs, including notepad.

Is there a quick and simple fix for this problem, that doesn't involve restarting my pc?

Urbycoz

Posted 2011-03-07T13:24:40.817

Reputation: 1 055

Answers

36

Found a solution here

Run the following: cmd /c "echo off | clip"

You can even make it into a desktop shortcut if the problem keeps happening.

Urbycoz

Posted 2011-03-07T13:24:40.817

Reputation: 1 055

Didn't work for me ! Any other suggestions please – The Beast – 2018-01-08T12:17:20.970

how did that make your clipboard work? – barlop – 2011-03-07T16:35:28.637

3This pushes the last app out of the clipboard. May cause a memory leak but as OP noticed, it give you the control back. – Aaron Digulla – 2011-04-12T07:20:38.643

8This is not working for me: I got an error "ERROR: Access is denied."; The clipboard stopped functioning after I put a big data inside it (around 128mb). – рüффп – 2012-06-22T10:12:18.580

7Can't copy paste that code.. :-) It worked, thank you! – Geo – 2013-04-03T16:54:26.140

12

For me the problem was happening only when there was a RDP session open to another machine. After closing RDC, clipboard started working again.

Oleg D.

Posted 2011-03-07T13:24:40.817

Reputation: 221

I had no RDP sessions open, but I started and then closed the client and this fixed it. – Stoinov – 2018-05-22T14:06:25.040

1You mean RDP? That's what was doing it to my clipboard. Once I closed my RDP session, clipboard came back. – davej – 2013-09-11T13:43:09.547

1I meant using RDC (Remote Desktop Connection client), which uses RDP (Remote Desktop Protocol) – Oleg D. – 2013-11-20T22:30:57.033

3

If this is over Remote Desktop (RDP) then ensure that rdpclip.exe is running on the remote machine. You can start it using Win+R and then rdpclip

Matthew Lock

Posted 2011-03-07T13:24:40.817

Reputation: 4 254

3for me killing rdpclip with taskmgr.exe first, then starting it... finally did it! – eddygeek – 2017-08-07T20:37:32.373

3

There's probably an app that's "locked" the clipboard. Try and work out what app has done that and close it.

In my case it was a hung Greenshot.

Matthew Lock

Posted 2011-03-07T13:24:40.817

Reputation: 4 254

3

None of the above solutions worked for me. This one however did: http://sys-talk.blogspot.com/2009/04/clip-board-not-working-in-windows-xp.html (I am pasting the urls from the browser:) ) Generally, this tool locates an app that is holding the clipboard. For me, it was Xserver. For you, who knows.

FractalSpace

Posted 2011-03-07T13:24:40.817

Reputation: 153

For me it was rdpclip.exe (I was connecting from ubuntu 16.04 to the windows PC) – ndemou – 2018-03-26T14:15:09.497

0

Windows Notepad may be unable to handle excessively large content, or content with special characters. Although Notepad will generally strip out unsupported character set encodings or control characters, it is first and foremost a simple text file editor.

In my case, I had pasted a large amount of code from my development environment, which apparently overwhelmed Notepad. Even running the command to manually clear the clipboard failed. [cmd /c "echo off | clip"]

As per Mathew Lock's suggestion of an Application that had locked the Windows clipboard, I narrowed down the culprit to that of Notepad. Immediately upon terminating my NOTEPAD process, the lock on Windows Clipboard was freed.

Michael M

Posted 2011-03-07T13:24:40.817

Reputation: 101

This can also occur in applications with tabs where a specific tab is the source of the excessively large content. Closing the source tab freed things up for me - without having to close the whole application. (Sql Server Management Studio in my case) – Simon – 2018-10-26T09:20:06.937

0

Kill "explorer.exe" process, it was the source of my problem, when I killed itm, copy/paste started working again. Note that you apps bar will disapper, and you will need to execute explorer.exe from taskmgr, New task.

Other option is from free Systernals app "process explorer", selected explorer.exe , then "Properties", "Threads" tab, select "Ole32.dll" and then click "kill".

After killing the thread i was not able to reproduce again the mistake.

Daniel Perez

Posted 2011-03-07T13:24:40.817

Reputation: 228

0

Simple fix: Try to restart your PC. Doesn't get more simple than that.

As for the possible reasons:

  • Bug in an application: It acquired the clipboard and never freed it
  • Windows ran out of memory a while ago and is now confused. It'll probably crash soon (blue screen).
  • Virus

Aaron Digulla

Posted 2011-03-07T13:24:40.817

Reputation: 6 035

2Thanks. I was hoping for a method that doesn't involve a restart. – Urbycoz – 2011-03-07T14:04:15.960

1Use the task manager to kill the process that has hung the clipboard. This will likely take an educated guess (you see an app there that you have already closed, yet it still lingers), a lucky guess (random roulette), or a reboot. The random/lucky guesses should be marked on a scrap of paper for next time, so you can make better guesses. – Chris Thornton – 2011-04-09T19:55:58.057