Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Virtualization»Virtualbox Copy Paste Not Working? Here’s How to Fix it

Virtualbox Copy Paste Not Working? Here’s How to Fix it

NizzBy NizzSeptember 17, 2022
virtualbox-copy-paste-not-working

While running a Virtual Machine on your computer, you may have felt the need to copy and paste text or files from VirtualBox to the host PC or the reverse. Though being super useful, it isn’t something you can enjoy right after the normal installation of VirtualBox.

VirtualBox doesn’t enable this feature by default. However, you can have the workaround by installing VirtualBox’s Guest Additions on your virtual machine and toggling the settings.

Read through this article for detailed steps to enable copy-paste and fix its issues as well for Virtualbox.

Table of Contents

  • How to Fix Copy Paste on Virtualbox?
    • Install/Update Guest Additions
    • Enable Shared Clipboard
    • Restart VirtualBox Client 
    • Switch Virtual Box Version
    • Use Shared Folders

How to Fix Copy Paste on Virtualbox?

Some of the fixes that will help you solve the copy-paste not working problem are discussed below.

Install/Update Guest Additions

Copying and pasting from your PC to Virtual Box or vice-versa won’t work by default. You will have to Install the VirtualBox Guest Additions to enable the various tools along with the copy-paste feature. Proceed with the steps mentioned below:

On Windows

The steps mentioned below will help you in installing Guest Additions:

  1. Open your Virtual Machine and go to Devices in the top nav-bar menu.
  2. Select Insert Guest Additions CD image…
    insert-guest-additions
  3. Choose and open the CD drive with VirtualBox.
  4. Double-click the file named VBoxWindowsAdditions-amd64.exe
  5. It will start the installation process and locate your destination folder.
  6. Click on the Next button.
    click-next-button
  7. Go with the on-screen prompts till a dialog box with an Install button appears. Click on the button.
  8. Upon completing the installation process, choose Reboot now and go with the Finish button.

In case the Devices option isn’t showing in your nav-bar menu, you can follow the steps mentioned below to install the Guest Additions:

  1. Open VirtualBox and click on the Virtual Machine once to load a menu on the right section.
  2. Now within the Storage menu card, click on the [Optical Drive] Empty link corresponding to the storage controller.
    optical-drive
  3. Select the Choose disk image… option.
  4. It should open your VirtualBox installation folder. Choose VBoxGuestAdditions_”version number” among the files.
  5. Click on the Open button.
    click-on-open
  6. Now start your Virtualbox and check if it solves the issue.

On Mac

Follow the steps to install Guest Additions on Mac:

  1. Press Command + Space
  2. Type Terminal and hit Return.
  3. Enter Recovery Mode by running the commands:
    sudo nvram “recovery-boot-mode=unused”
    sudo reboot
  4. Deactivate System Integrity Protection with the commands:
    csrutil disable
    csrutil-disable
    spctl kext-consent add VB5E2TV963
    nvram -d recovery-boot-mode
    Reboot
    reboot-command
  5. Open Terminal in normal boot mode and run:
    sudo mount -uw /
    sudo chown :admin /System/Library/Extensions/
    sudo chmod 775 /System/Library/Extensions/commands-for-mac
  6. Then, Install Guest Additions from Devices. Now, open Terminal and execute:
    sudo chown :wheel /System/Library/Extensions/
    sudo chmod 755 /System/Library/Extensions/
    sudo nvram “recovery-boot-mode=unused’
    sudo reboot
  7. It boots you into the recovery mode, now re-activate System Integrity Protection by the commands:
    csrutil enable
    nvram -d recovery-boot-mode
    reboot

On Linux

To install Guest Additions on Linux virtual machine, follow:

  1. Go to Terminal and run:
    sudo apt-get update
    sudo apt-install build-essentials
    sudo rebootcommands-on-linux
  2. Open VirtualBox and select Choose a disk file from Devices > Optical Disks
  3. Choose the VBoxGuestAdditions.iso file from the VirtualBox folder.
  4. Then, open the Terminal and run the commands:
    sudo mkdir /mnt/cdrom
    sudo mount /dev/cdrom /mnt/cdrom
    cd /mnt/cdrom
    sudo sh ./VBoxLinuxAdditions.run - nox11
    sudo restartcommands-for-linux

Enable Shared Clipboard

Even after you installed the Guest Additions for VirtualBox, the copy-paste may not work due to the misconfigured settings. You need to change settings to Bidirectional for Shared Clipboard and Drag’n’Drop features. Follow along the given steps to do so:

  1. Open VirtualBox Manager and select the desired Virtual Machine.
  2. Click on the Settings.
    Settings
  3. Go to the Advanced tab within the General section.
  4. Choose the Bidirectional option from the Shared Clipboard: dropdown menu.
    Select-bidirectional
  5. Select the same option from the Drag’n’Drop: dropdown menu situated below.
  6. Click on the OK button.
  7. Restart VirtualBox, power on your Virtual Machine, and check if it works.

Restart VirtualBox Client 

Users have reported copy-paste not working for guest OS of VirtualBox even after installing guest addition and changing settings to bidirectional. To fix it, you can manually restart your VirtualBox client, or you can run the following commands on your Ubuntu guest in the terminal:
$ killall VBoxClient
$ VBoxClient-all
restart-vbox-client

Switch Virtual Box Version

Users have reported issues with VirtualBox 6.1.4 version while trying the copy-paste feature, even if they had already enabled it. This might be a bug of that particular version. Thus, it is recommended to either downgrade/roll back to an earlier stable version, which in this case is VirtualBox 6.1.2. Or you can download the latest version available. 

Use Shared Folders

If nothing fixes the copy-pasting issue, you can try an alternative by using a shared folder to transfer files. Whichever file you want to copy and paste from the host machine to your VirtualBox can be placed within a folder. And that folder can be used from the Virtual Machine as a Shared folder. Follow the steps mentioned below to do so:

  1. Go to Devices>Shared Folders
  2. Within the Shared Folder Settings, click add new folder icon.
    add-shared-folder
  3. Browse and choose the desired folder of your host machine by selecting Other in Folder Path:
  4. Check on the Auto-mount and click on the OK button.
    shared-folder
  5. The shared folder on the host system will be the one you specified in Step 3. The folder should appear in the Guest OS as a new drive.
    shared-folder-in-guest-vm-os
fix
Nizz

Nizz is a self-learning web developer and a keen follower of all things tech. He has always been fascinated by the latest gadgets and innovations, and loves to keep up with the latest trends.

Related Posts

virtual machine disks consolidation is needed

4 Ways to Fix “Virtual Machine Disks Consolidation is Needed”

December 27, 2022
virtualbox shared folder

How to Create Shared Folder on Virtualbox

November 29, 2022
failed to open a session for the virtual machine

How to Fix “Failed to Open a Session For The Virtual Machine” Error?

September 30, 2022
how to uninstall virtualbox

How to Uninstall VirtualBox on Windows

September 28, 2022
how to use vmware

How to Use VMware (Detailed Guide)

September 23, 2022
virtualize a physical machine vmware

How To Virtualize A Physical Machine With VMware

September 17, 2022
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
Memory-Compression

What is Memory Compression in Windows? Should You Enable or Disable It

March 1, 2023
dism-vs-sfc-vs-chdsk

DISM, SFC, CHKDSK: What’s the Difference

February 28, 2023
bios-settings-for-gaming

Best BIOS Settings for Gaming

February 16, 2023
You may also like
how-to-clean-hp-printer-rollers

How to Clean HP Printer Rollers

March 3, 2023
keyboard input lag

9 Ways to Fix Keyboard Input Lag

March 3, 2023
keyboard key is stuck

How to Fix a Stuck Key on a Keyboard

March 3, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.