我有一台主机已经连续不关机几个月之久,纯做远程桌面使用。用的时候发现,一开始往往是没问题的,但是过了一周后就会出现剪贴板无法共享访问的问题。症状就是纯文本(注意不是文件)无法在机器A上复制而在机器B上粘贴,在它们内部复制粘贴都是OK的。之前我实在束手无策,只能重启远程主机,重启本地机是没用的。我估计应该有更好的办法,只是苦于国内也没人讨论这个,当然也可能是我的搜索技术太差。搜了一下英文网站,有幸找到一个解决方案,根据他说的捣鼓一下,竟然解决了。
国外网站是这么说的:
Copy and Paste is not working on my Remote Desktop Connection… what’s wrong?
Written by Emmanuel Carabott on October 26, 2009 – 3:06 pm13 Comments
A very annoying occurrence that I sometimes suffer is when all of a sudden the copy and paste function stops working when I am connected to a remote machine. Turns out the problem is coming from a little process called rdpclip. Rdpclip (remote desktop clipboard) is responsible for managing a shared clipboard between your local host and the remote desktop (the process runs on the remote machine not your local host).
So what do I do when clipboard stops working?
Luckily fixing the issue is pretty straightforward and involves a few simple steps.
1. Load up task manager (right click taskbar and select Task Manager)
2. Go to the Processes Tab
3. Select rdpclip.exe
4. Click End Process
5. Go to the Application Tab
6. Click New Process
7. Type rdpclip
8. Click Ok
There, copy and paste should now work normally again.
It happens so often, this process is annoying! What do I do to fix it permanently?
Unfortunately I don’t know why rdpclip stops working nor how to fix it permanently; however, there is a way to make it easier if it happens often.
* Create a new bat file and call it whatever you want say, clipboard.bat.
* Write the following two commands on separate lines in the new bat file
o Taskkill.exe /im rdpclip.exe
o Rdpclip.exe
o Save the bat file and drag it into the toolbar quick launch section
Now whenever your copy and paste operation fails to restore it, all you need to do is click this new batch file which will kill rdpclip and restart it. Still a workaround but at least it’s a quick procedure.
稍作翻译:
1:打开任务管理器
2:找到结束进程rdpclip,找不到可以不管。
3:手工新建任务里输入rdpclip,运行即可。