我有一臺主機已經連續不關機幾個月之久,純做遠程桌面使用。用的時候發現,一開始往往是沒問題的,但是過了一周后就會出現剪貼板無法共享訪問的問題。癥狀就是純文本(注意不是文件)無法在機器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,運行即可。