See More About: , ,

How to Install Guest Additions in VirtualBox

by

Now that you have VirtualBox installed and you created your first virtual machine it’s time to use of some great tools that make the management of virtual machines painless and easy. VirtualBox includes a set tools named Guest Additions. These tools provide additional functionality to the interaction between the host machine and the guest/virtual machine. To help you understand what these tools do and how they can make your life simpler I will describe each one of them and then walk you through the steps necessary to install the Guest Additions to your virtual machine.

VirtualBox includes Guest Additions for Windows, Linux, and Solaris OS environments. Guest Additions provide the following features;

  • Mouse pointer integration - When using a virtual machine you will quickly develop an annoyance for the Alt + Ctrl key combination required to "recapture" your mouse pointer once it’s captured by the virtual environment. This tool will seamlessly integrate your host computer’s mouse pointer with that of the guest machine so you can switch from one another seamlessly.
  • Better video support – You will be able to use advanced graphics (Direct3D) and you wont have to worry about setting the resolution for the guest computer when you resize the window. This tool will automatically do it for you.
  • Time synchronization – This addition will ensure that the time on the guest machine matches that of the host.
  • Shared folders – You will be able to exchange files between the host and the guest pc. This is great for folks who are testing software and need access to files located in a specific directory on the host machine but want to prevent the back and forth transferring that occurs when files cannot be shared.
  • Seamless windows – This feature allows the mapping of windows on the guest machine to the host making it seem like the windows were running on the host rather than the guest machine.
  • Shared clipboard - This is one of my favorite features that VirtualBox supports. The ability to share clipboards between host and guest operating systems makes working with virtual machines that much easier.
  • Automated Windows logons – Passing credentials from the host to guest PC, this feature is only compatible with Windows guests.

The process is fairly simple, but I thought I’d cover it here for those of you who may not know how to install the Guest Additions. If you have any comments or questions, please post them below.

Note: I used VirtualBox and a Windows 7 virtual machine for this how-to.

Install Guest Additions

install guest additions in virtualbox How to Install Guest Additions in VirtualBox

1. With your Virtual Machine running, open the Devices menu

2. Click on Install Guest Additions from the drop-down menu..

install guest additions in virtualbox1 How to Install Guest Additions in VirtualBox

3. If AutoPlay is enabled you will see the prompt above, click on the Run VBox…..exe (depends on operating system running on the guest machine.

Note: If AutoPlay is disabled or the guest operating system does not support it then you need to browse to My Computer (guest/virtual machine) and double-click on the CD/DVD drive. VirtualBox inserts an image on the virtual drive that allows you to install the additions.


install guest additions in virtualbox2 How to Install Guest Additions in VirtualBox

4. If you’re using Vista or Windows 7 you may be prompted by User Account Control about proceeding. Just click Yes to proceed.

Note: User Account Control (UAC) in Windows Vista and 7 prevents software and other things from inadvertently installing themselves on your computer. In this case we know what we are installing so please proceed.

install guest additions in virtualbox3 How to Install Guest Additions in VirtualBox

5. The Guest Additions Setup Wizard will open, click Next to proceed.

install guest additions in virtualbox4 How to Install Guest Additions in VirtualBox

6. Click I Agree to proceed.

install guest additions in virtualbox5 How to Install Guest Additions in VirtualBox

7. If you wish to specify an install location other than the default, click Browse, otherwise click Next to proceed.

Note: Stick to the default installation location.

install guest additions in virtualbox6 How to Install Guest Additions in VirtualBox

8. Direct3D support enable the use of advanced graphics in your virtual machine, notice that it is still experimental so it’s up to you to select it.

9. Click Install to begin the installation process.

install guest additions in virtualbox7 How to Install Guest Additions in VirtualBox

Install progress...

install guest additions in virtualbox8 How to Install Guest Additions in VirtualBox

10. If you chose to include the Direct3D component you will get this dialog box, click Install to proceed, otherwise skip to the next step.

install guest additions in virtualbox9 How to Install Guest Additions in VirtualBox

11. You will be presented to restart your virtual machine. If you wish to take advantage of the Virtual Machine Additions right away choose Reboot now.

12. Click Finish to complete the installation and reboot your virtual machine.

 

Originally posted Feb 08, 2010

We close comments after 30 days on GilsMethod.com and ask that you post questions and issues on our Answers website.

This helps us better serve you by allowing us to keep track of unanswered questions that are usually hidden in long comment threads.

Answers.GilsMethod.com is a community-powered support website where you will be able to post questions, and other users including us will respond with expert advice.

So if you are having trouble with your PC, Mac, iPad, iPhone, or other piece of technology, head over to Answers.GilsMethod.com and ask away.

  • Bold_Sue

    I am lost at Step 1 because although I see the top line “Windows 7 [Running]“, I don’t see the horizontal menu “Machine Devices Help” so I can’t select “Devices”. Is there a Preference in my VirtualBox v3.2.8 that needs to be set to get VB to show this menu?

  • http://www.gilsmethod.com Gilberto J Perera

    Bold,

    The default setting for Virtual Box should display the menu. All of my virtual machines do the same…so I’m not sure why you are not seeing the menu. Have you tried holding down the Alt key? Please let me know. Thanks.

  • http://www.gilsmethod.com Gilberto J Perera

    Bold,

    The default setting for Virtual Box should display the menu. All of my virtual machines do the same…so I’m not sure why you are not seeing the menu. Have you tried holding down the Alt key? Please let me know. Thanks.

  • http://www.gilsmethod.com Gilberto J Perera

    Bold,

    The default setting for Virtual Box should display the menu. All of my virtual machines do the same…so I’m not sure why you are not seeing the menu. Have you tried holding down the Alt key? Please let me know. Thanks.