Copy and Paste from Virtual PC has stopped working

7

Up until the last week I was able to copy and paste text from my virtual PC (VPC) to my host machine, however I tried it today with no success...it doesn't error it will just paste whatever is in the host machines buffer/clipboard rather than what I have selected and copied from the VPC.

it has definitely copied to the clipboard on the virtual pc as you can paste into notepad on the VPC

has anyone else encountered this?

Dean

Posted 2009-10-26T12:01:23.957

Reputation: 418

I've encountered a similar problem in VPC2007 with a Windows Server 2003 R2 install... it would only sometimes copy things from the VM clipboard to the host clipboard. This was after the Virtual Machine Additions were installed. – Powerlord – 2009-10-26T14:14:12.577

Sorry, forgot to mention that the host machine was Windows XP. – Powerlord – 2009-10-26T14:14:48.317

Answers

7

Copy/Paste support is provided by the Virtual Machine Additions. Maybe you could try re-installing these?

fretje

Posted 2009-10-26T12:01:23.957

Reputation: 10 524

3

I found that the program rdpclip.exe was the culprit. I created a file called restart clipboard.bat on the XP desktop and run it after starting a VPC session.

The file contents are:

taskkill /im rdpclip.exe
start rdpclip.exe

Adrian

Posted 2009-10-26T12:01:23.957

Reputation: 31

Turns out mine never starts when i boot up. Just manually started it and all is working. Thanks for this answer! – Mungoid – 2014-08-21T16:40:44.683

3

I often find that special key combos as well as the clipboard get messed up when I'm using VPCs. The easiest way to fix it with with most special key combos is just to flick from the host to the virtual a few times and it usually sorts itself out. Also I often find that if I copy to the clipboard a couple of times then it catches and works, out of habit these days I always whack Ctrl + C two or three times whenever I copy something from the virtual, and this works nine times out of ten.

Clipboard is a bit more complicated to sort out properly than the other key combos, the sure-fire way to solve it is to reboot the host and the virtual but of course that's not always practical. The problem is usually down to problems in the "Clipboard Viewer Chain", this is a part of the clipboard that different apps (eg VPC, RDP, etc) subscribe to so that they can know about all clipboard changes and insert directly on there. Each app in the chain is supposed to pass all info onto the next app in the chain, but sometimes when you close one of the apps in the chain it doesn't take its link out of the chain cleanly. This means that the app before it is now trying to pass the info onto an app that's not running, and the app after never gets the info.

KB949229 The clipboard on the host computer may not function correctly when Virtual PC 2007 or Virtual PC 2004 is running talks about this problem from the opposite end that you're seeing it, but it's still part of the same problem.

If it's an RDP session that's caused the problem you can just use the Task Manager to kill and restart the rdpclip.exe process.

More on it here: The Old New thing: Why has my clipboard stopped working?

GAThrawn

Posted 2009-10-26T12:01:23.957

Reputation: 4 176

2

In the Oracle virtual box setting go to Settings > General > Advance

There is a an option Drag n Drop. Select the direction you want to copy the text.

Goulia

Posted 2009-10-26T12:01:23.957

Reputation: 21

1

Click Edit on the Virtual Window menu, then 'Select All' then 'Copy' then click anywhere on the virtual PC desktop. After this your Copy and Paste should work. Only thing is, you have to do it the next time you fire up the virtual machine again. Hope this helps.

Ahkai

Posted 2009-10-26T12:01:23.957

Reputation: 11