Oracle’s VirtualBox allows you copy and paste from the host machine to the guest virtual machine and vice versa. Unfortunately, this feature sometimes does not work properly. In this post, I show you how to troubleshoot copy/paste operations in VirtualBox.

Install latest Guest Additions ^

Before you can work with copy and paste, you have to install the VirtualBox guest additions. Once you start the virtual machine, click the Devices menu, and then select Insert Guest Additions CD image.

Install VirtualBox Guest Additions

Install VirtualBox Guest Additions

The Guest Additions CD image should be mapped to drive D:.

CD Drive Virtual Guest Additions

CD drive Virtual Guest Additions

To install the Guest Additions launch VBoxWindowsAdditions.exe. After you reboot the virtual machine, you can enable copy/paste on the Devices menu of the VM under Shared Clipboard. If you are testing software that you don’t trust, you might want to only enable Host To Guest. I usually enable bidirectional shared clipboard when I am working with multiple virtual machines, so I can copy and paste from VM to VM.

Enable Copy and Paste in VirtualBox

Enable copy and paste in VirtualBox

You also can enable copy/paste in the VM’s General settings on the Advanced Tab. The VM settings can be opened in the VirtualBox Manager or through the key combination HOST + S.

Shared Clipboard in VM settings

Shared clipboard in VM settings

Update Guest Additions ^

This is the theory. In practice, I found that copy/paste often isn’t working properly. One possible cause is that you are working with outdated Guest Additions. This is often the case if you updated the VirtualBox but not the Guest Additions on the VM. If you didn’t use the VM for a while and copy/paste causes problems, you should reinstall the Guest Additions.

Reboot the virtual machine ^

Sometimes, the shared clipboard works just fine for a while, and then suddenly you no longer have access to the host clipboard on the VM. This can happen for various reasons. One problem I often encounter is that, after I hibernate the host or the guest, copy/paste no longer works even though it is still enabled in the VM settings. Rebooting the VM usually solves the problem. In some cases, I also had to reboot the host.

Restart the Guest Additions Tray Application ^

If you are in the middle of a test with numerous open applications and windows, rebooting the VM can be very annoying just for making copy and paste work again. In these situations, you can just restart the VirtualBox Guest Additions Tray Application. Open Task Manager by right-clicking the taskbar on the virtual machine and then selecting Start Task Manager (CTRL+SHIFT+ESC doesn’t work in VirtualBox VMs). Search for VirtualBox Guest Additions Tray Application on the Processes tab. (Don’t confuse it with the VirtualBox Guest Additions Service.) Right-click the process and select Open file location. Next, you can end the Guest Additions Tray Application task.

Restart VirtualBox Guest Additions Tray Application

Restart VirtualBox Guest Additions Tray Application

Now, locate VBoxTray.exe in File Explorer and double-click the file to restart the Tray Application.

VBoxTray.exe in File Explorer

VBoxTray.exe in File Explorer

If you often have problems with copy/paste operations in VirtualBox, restarting the Tray Application through the Task Manager is perhaps a bit cumbersome. As an alternative, you can restart the Tray Application with the little PowerShell script below.

Stop-Process -Name VBoxTray
Sleep 5
Start-Process C:\Windows\system32\VBoxTray.exe

  1. Eqbal 6 years ago

    Thanks much. Issue got resolved 🙂

  2. 5 years ago

    Great, thank you!

  3. DJ 5 years ago

    Awesome, I needed to reboot the VM to get it to work

  4. Mark Heleniak 5 years ago

    Yes, not convenient to reboot VM and sometimes host too.  Thanks for tips on work-around.  Can't wait to give it a try - sort of 🙂

  5. Christopher DePalma 5 years ago

    Thanks, that worked. Confusing UI they have. You can click it enabled but who would know you had to add guest additions also.

  6. Kevin Stein 5 years ago

    you absolute genius!!!!

    this fixed it for me 🙂

    "Devices menu, and then select Insert Guest Additions CD image."

  7. V 5 years ago

    Thnaks alot!!

  8. shai mor 4 years ago

    thanks very helpfull!

  9. Yehor 4 years ago

    Yey! Thanks a lot! That helped 🙂

  10. Alex 4 years ago

    Fixed in two steps

    Devices -> Insert Guest Additions CD image,
    Machine -> Reset

    Thank You, Mr. Michael Pietroforte! 🙂

  11. Trung 4 years ago

    EndProcess & Restart VirtualBox Guest Additions Tray Application.  This works for me.  Thanks

  12. Mayur Lanjwar 3 years ago

    Thanks it worked for me in Oracle Linux 7.5

  13. Mobeen Asghar 3 years ago

    Thanks, Man! Solved

  14. Johny Why 3 years ago

    Your method works on a bootable OS. Any way to get shared clipboard on the windows installer screen in the VM? Thx!

  15. Cornel 3 years ago

    Worked with:

    Devices -> Insert Guest Additions CD image,
    Machine -> Restart.

    Thank you!

  16. Mar 2 years ago

    Your restarting the Guest Additions Tray Application worked beautifully for me.. This was a big source of frustration.  Thanks a TON!!!!

  17. Mark 2 years ago

    Looks like I spoke too soon.  The Tray Application idea worked only briefly.  Back to the drawing board.  Rebooting is not ideal.  Thanks anyhow!

  18. vmwiz 2 years ago

    Issue not resolved.  Conclusion after years of use of virtualbox.  Its Crap at best.  No a production worthy product not even test or develop worthy.  Garbage Garbage Garbage.  What do you expect for free.

  19. Sana 2 years ago

    Thankyou Thankyou Thankyou!!

  20. Su 2 years ago

    Thanks that helped!

  21. Victor 2 years ago

    From this instruction here "launch VBoxWindowsAdditions.exe" It assumes the guest OS is a windows box too. What happens if the guest OS is a Linux Box instead?

    None in the post will work. 

  22. Matt 2 years ago

    Victor - on Linux run "sudo /media/cdrom/".  It works on Debian. I don't know about other distros.

  23. SadSack963 2 years ago

    I just had the same issue - unable to copy through the bidirectional clipboard from Windows Host to Linux Mint Client (I didn't try in the other direction).

    I had recently "upgraded" to VirtualBox-6.1.4-136177 running on Windows 10. I have only just noticed that copying didn't work and of the above solutions that I tried, none worked for me.

    So I "downgraded" back to VirtualBox-6.1.2-135663 (including Guest Additions of course), and the copying works perfectly.


  24. Heather 2 years ago

    The rebooting VM step works for me.  Thank you very much.

  25. vas 2 years ago

    Nice; there is some issue with 6.x version series , so when I upgraded from 5,x to 6.x it suddenly stopped copying between host and VM provided the text is longer(say 10000 lines) where as it used to work in 5.x


    I have downgraded it to 5.x , and things are working fine again.


    I hope, someone will face and resolve the issue from this comment.




Leave a reply to steve Click here to cancel the reply

Please enclose code in pre tags

Your email address will not be published. Required fields are marked *


© 4sysops 2006 - 2022


Please ask IT administration questions in the forums. Any other messages are welcome.


Log in with your credentials


Forgot your details?

Create Account