Technology Explained

VirtualBox’s Guest Additions: What They Are and How to Install Them

Ben Stegner Updated 05-03-2020

When working in VirtualBox, you may have seen a prompt or noticed a reference to Guest Additions. But what are Guest Additions, and should you use them?

Advertisement

Let’s take a look at what VirtualBox’s Guest Additions do, why you should install them, and how to activate them.

What Are Guest Additions in VirtualBox?

The VirtualBox Guest Additions are extra pieces of software, included with your copy of VirtualBox, that enable better performance and functionality in virtual machines. You install Guest Additions inside the virtual machine to activate this functionality.

VirtualBox Guest Additions Install

As you probably know, VirtualBox is a hypervisor, which allows you to create and use virtual machines. This means that you can install Windows and other operating systems inside VirtualBox and have them think that they’re running on actual hardware.

Read our full guide to using VirtualBox How to Use VirtualBox: User's Guide With VirtualBox you can easily install and test multiple operating systems. We'll show you how to set up Windows 10 and Ubuntu Linux as a virtual machine. Read More to get up to speed if you’re not familiar.

However, just because you get a working virtual machine running in VirtualBox doesn’t mean the experience is perfect from the start. There are certain elements of running an OS in an app window that are frustrating.

For example, on your main computer, Windows knows what resolutions it can display using the drivers from your graphics card. A virtual machine can’t do this, though, so it displays in a low resolution (such as 800×600) by default.

The Guest Additions of VirtualBox contain display drivers and other useful tools that make your virtual machine much more usable.

What Do the Guest Additions Do?

Now that we know what Guest Additions are, let’s look at what the VirtualBox Guest Additions actually do for you.

1. Shared Clipboard/Drag and Drop

Chances are that you’ll eventually want to move some content between your virtual machine (the guest) and your actual computer (the host). With the Guest Additions installed, VirtualBox packs a few features to make this easy.

First is the shared clipboard/drag and drop support. This allows you to copy items on one platform and paste them on the other, as well as dragging files between them. To adjust this, select your VM on the VirtualBox home page and choose Settings.

In the General section, switch to Advanced tab and you can choose options for Shared Clipboard and Drag’n’Drop. You can choose Disabled, Host to Guest, Guest to Host, or Bidirectional for both of them.

Unless you have a specific reason to choose something else, Bidirectional is the most convenient.

VirtualBox Clipboard Sharing

Once you have this enabled, both copy/paste and dragging will work across systems.

2. Shared Folders

If you’d rather make folders on your host system accessible in the VM, you can utilize shared folders. This Guest Additions feature lets you mount host folders as “network resources” in the guest OS without actually using a network.

To use it, click Settings on a VM and jump to the Shared Folders section. Select the Add Share button on the right side, then choose a folder on your computer to share with the guest.

Give it a name, choose Auto-mount if you want it to connect automatically, and hit OK.

VirtualBox Shared Folders

Now, that folder will appear as a network drive in the guest OS.

3. Improved Graphics Support

As mentioned earlier, virtual machines don’t support high-resolution graphics from the start. Once you install the Guest Additions, though, you’ll have full control over the resolution options in the guest OS’s settings menu. For instance, if you have a 1920×1080 monitor, you can display the VM in full-screen at 1080p.

VirtualBox Full Resolution

That’s not the only graphical enhancement that the Guest Additions add. Using them, the guest OS’s resolution will dynamically resize as you adjust the VirtualBox window on your computer. This lets you use the VM at any size you like without playing with resolution options.

Finally, with Guest Additions, the guest OS can take advantage of your computer’s graphics hardware. If you’re playing games or using other graphically intensive software in a WM, this makes a huge difference.

4. Seamless App Windows

Another neat benefit of the Guest Additions is a seamless mode. This lets you run app windows from the guest alongside apps from your host OS, so it feels like they’re all part of one system. It’s a lot like how Parallels runs Windows apps on a Mac Run Windows on Your Mac With Parallels Desktop 15 Need to run Windows apps on a Mac? Here's our look at Parallels Desktop, one of the best software solutions for the job. Read More .

To use this mode, press the Host key + L when your virtual machine is in focus. If you haven’t changed it, the default Host key in VirtualBox is the right Ctrl key.

VirtualBox Seamless Mode

Once you’ve done this, the VM will go full-screen and VirtualBox will remove its background. You’re then free to use its windows with your regular desktop software. Hit Host + L again to turn this off—if it doesn’t seem to work, make sure you select the VirtualBox VM first.

5. Other Benefits of VirtualBox Guest Additions

The above functions are the main features of VirtualBox’s Guest Additions. There are a few other useful perks to installing them, though these are not as generally useful.

One that may affect you, depending on the guest OS, is seamless mouse integration. With most modern OSes, VirtualBox allows you to seamlessly move your mouse between your host and guest system. However, some older OSes require exclusive control of your keyboard and mouse.

If this is the case, your mouse pointer will become “trapped” inside the VirtualBox window after you click inside it. This means that you must hit the Host key (right Ctrl by default) to bring the mouse control back to the host OS.

Otherwise, the Guest Additions bring time synchronization with your host machine, the option for automated logins, and can monitor communications between the guest and host. None of this has much use for the average user.

How to Install VirtualBox’s Guest Additions

It’s easy to install the Guest Additions on your VirtualBox system. In fact, every time VirtualBox receives an update, it includes a new version of the Guest Additions too. You don’t necessarily need to update the Guest Additions every time you update VirtualBox, but Oracle recommends it for best performance.

Keep in mind that the Guest Additions are available for Windows and Linux, but not macOS. You’ll need other workarounds if you’re running macOS in a virtual machine How to Run macOS on Windows 10 in a Virtual Machine Unsure if you will get along with a Mac? Learn how to run macOS on Windows 10 with the help of a virtual machine. Read More .

Install Guest Additions on Windows VMs

To install the Guest Additions for VirtualBox in a Windows VM, boot into your guest OS as normal. On the toolbar at the top, select Devices > Insert Guest Additions CD Image. This mounts a virtual disc to the VM.

VirtualBox Install Guest Additions

When you do this, Windows will respond as if you’ve just inserted a physical disc. If it doesn’t prompt you to run it, open a File Explorer window and go to This PC. You should see a device in the CD Drive named something like VBox_GAs_x.

VirtualBox Guest Additions CD Drive

Double-click this to open the disc’s contents. Inside, run the VBxWindowsAdditions file (or VBxWindowsAdditions-x86 on a 32-bit VM).

VirtualBox Guest Additions File Windows

From there, simply walk through the steps to install the Guest Additions like you would any other software. After it completes, you’ll be prompted to reboot the VM, which you should do as soon as possible.

Once you’re done, you can go to Devices > Optical Drives > Remove disk from virtual drive to “eject” the virtual Guest Additions disc.

Install Guest Additions on Linux VMs

The process to install VirtualBox’s Guest Additions into a Linux VM is quite similar. Once you’ve booted up, select Devices > Insert Guest Additions CD Image from VirtualBox’s menu bar. Depending on your flavor of Linux, you may see a message to automatically run the CD’s contents.

You can accept this, but if you don’t, you’ll find the CD available on the taskbar in many Linux distros. If it doesn’t appear there, open the file browser and look for VBox_GAs_x on the left sidebar.

VirtualBox Guest Additions Install Linux

On Ubuntu, a Run Software button appears at the top-right of the window. Click this to start the install process, then provide your admin password to continue. A Terminal window will open to keep you updated with its progress.

Once it’s done, reboot the VM and you’re all set. You can then eject the disk using the Devices > Optical Drives > Remove disk from virtual drive option, or by right-clicking it in your OS and choosing Eject.

VirtualBox Remove Guest Additions Disc

Guest Additions Make VirtualBox Even Better

As we’ve seen, the Guest Additions make running virtual machines with VirtualBox much smoother. You should always take a few moments to install the Guest Additions when setting up a new VM, as there’s no drawback to doing so.

If VirtualBox isn’t working for you, check out how VirtualBox compares to other virtualization tools VirtualBox vs. VMWare vs. Hyper-V: What's the Best Virtual Machine? VirtualBox, VMware, and Hyper-V dominate the market. Which virtual machine software is the best? Read More .

Explore more about: Virtual Machine, VirtualBox, Virtualization.

Whatsapp Pinterest

Enjoyed this article? Stay informed by joining our newsletter!

Enter your Email

Leave a Reply

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

  1. stratleray
    March 13, 2020 at 10:20 pm

    Thanks Danny!

    Great to have you back. Your articles are always good reading.

    -Cheers

    • Ben Stegner
      March 17, 2020 at 8:40 pm

      Hey Stratleray,

      As it turns out, this article was not written by Danny. Danny left MakeUseOf a few years ago. I recently updated this article but the author credit was mistakenly left the same. Thanks for your comment, as it helped me catch the error!

  2. Bummed
    December 8, 2017 at 11:49 am

    Based on what I've read online and on my own experience, guest additions mainly just locks up your computer requiring a reboot to recover, especially with a Windows 10 guest on Ubuntu.

  3. timo
    April 9, 2016 at 8:21 am

    Do I need to install the guest additions again when I want to install another Linux distro? For example I already have fedora and now I want ubuntu..

  4. Mina
    March 8, 2015 at 4:05 am

    I like both; what guest additions can do and the article itself :) :)

  5. kayla
    July 5, 2014 at 2:22 am

    Anyone else impressed with Modulates.com for increasing direct sales? Have to hand it to them, they totally "get" video.

  6. Hisham S
    June 20, 2014 at 12:14 am

    I entered the command :
    sudo apt-get install gcc g++ dkms
    and installed the Guest Additions.

    But I can't resize the display ;-(

  7. Avijit
    June 19, 2014 at 6:32 pm

    @Danny, Thanks for the great article. I remember when i want to run multiple OS instances parallel - and i have no solutions. The Seamless Mode works great for that purpose and that time i can't find a comprehensive guide about it. So, if possible, In any next article, Please Make a comprehensive detail on Seamless Mode and its settings/configurations.

    Thanks!

  8. ant
    June 18, 2014 at 9:15 pm

    I used VirtualBox for 3 years but moved on to VMware Workstation, because each update you need to manually update guest additions. VMware has a feature called easy install and it automatically installs VMware tools. VMware is much easier to use.

  9. jasray
    June 18, 2014 at 5:43 pm

    Used to use VirtualBox quite often, but lately distros seem to be running soooo slow, even with Guest Additions. Ubuntu, Mint, Fedora used to run at near native speeds; now, the speed is like qemu or kqemu--not worth the time. Somewhat odd for me is the speed with a USB Linux distro plugged in is remarkably fast.

    • bobrob
      June 20, 2014 at 3:17 am

      I'm glad i'm not the only one with this problem. Testing a different OS with VirtualBox just isn't worth it for me anymore. It runs so slowly that it is pretty much unusuable. I have started doing the same as you and install a test Linux OS on a USB stick instead. The only thing I can't figure out is with Ubuntu on a USB stick. It will run lightning quick unless I install it with persistent memory. If I install with the persistent memory it slows down to a crawl.

    • pmshah
      June 20, 2014 at 4:51 am

      I use BootITNg as my boot manager and have several operating systems installed on my machine, all in their own isolated primary partitions. However lately the trend for all the Lunux distributions has been to take over your entire hard disk and install the boot sector in MBR in stead of giving an option of installing it to the boot sector of the specific partitions. In this situation one has no alternative except to use Virtual Machine. Just because of slow and very often unreliable performance I have given up on working with Linux altogether. Since all my clients are on Windows there is no more question of my shifting to Linux !

  10. Chinmay S
    June 18, 2014 at 1:30 pm

    You didn't mention the main purpose of Guest Additions :- Full Screen.
    I don't think there is any Guest OS that runs fullscreen by default.