title: Vagrant GuestAdditions seems to be installed (5.1.20) correctly, but not running
body: <p>I want to copy one entire folder present on my windows machine to a vm hosting ubuntu/trusty64.</p>
  
  <p>But every time I try to bring my vagrant up i get below error message.</p>
  
  <pre><code>vagrant up
  Bringing machine 'default' up with 'virtualbox' provider...
  ==&gt; default: Checking if box 'ubuntu/trusty64' is up to date...
  ==&gt; default: Clearing any previously set forwarded ports...
  ==&gt; default: Clearing any previously set network interfaces...
  ==&gt; default: Preparing network interfaces based on configuration...
      default: Adapter 1: nat
      default: Adapter 2: hostonly
  ==&gt; default: Forwarding ports...
      default: 22 (guest) =&gt; 2222 (host) (adapter 1)
  ==&gt; default: Booting VM...
  ==&gt; default: Waiting for machine to boot. This may take a few minutes...
      default: SSH address: 127.0.0.1:2222
      default: SSH username: vagrant
      default: SSH auth method: private key
  ==&gt; default: Machine booted and ready!
  ==&gt; default: Configuring proxy for Apt...
  ==&gt; default: Configuring proxy environment variables...
  [default] GuestAdditions seems to be installed (5.1.20) correctly, but not running.
  vboxadd: unrecognized service
  vboxadd-service: unrecognized service
  bash: line 4: setup: command not found
  ==&gt; default: Checking for guest additions in VM...
  The following SSH command responded with a non-zero exit status.
  Vagrant assumes that this means the command failed!
  
   setup
  
  Stdout from the command:
  
  
  
  Stderr from the command:
  
  bash: line 4: setup: command not found
  </code></pre>
  
  <p><strong>Note:</strong><br/>
  Ubuntu version is up to date as you can see in the third line.<br/>
  Vagrant version : Vagrant 1.9.3<br/>
  Windows version : Windows 7 Enterprise Service Pack 1<br/>
  Oracle VirtualBox version : Version 5.1.20 r114628 (Qt5.6.2) <br/></p>
  
  <p>On running the command vbguest status i get </p>
  
  <pre><code>$ vagrant vbguest --status
  [default] GuestAdditions seems to be installed (5.1.20) correctly, but not running.
  </code></pre>
  
  <p>My vagrant file contents are</p>
  
  <pre><code># All Vagrant configuration is done below. The "2" in Vagrant.configure
  # configures the configuration version (we support older styles for
  # backwards compatibility). Please don't change it unless you know what
  # you're doing.
  Vagrant.configure("2") do |config|
    # The most common configuration options are documented and commented below.
    # For a complete reference, please see the online documentation at
    # https://docs.vagrantup.com.
  
    # Every Vagrant development environment requires a box. You can search for
    # boxes at https://atlas.hashicorp.com/search.
    config.vm.box = "ubuntu/trusty64"
    config.ssh.insert_key = false
    # Disable automatic box update checking. If you disable this, then
    # boxes will only be checked for updates when the user runs
    # `vagrant box outdated`. This is not recommended.
    # config.vm.box_check_update = false
  
    # Create a forwarded port mapping which allows access to a specific port
    # within the machine from a port on the host machine. In the example below,
    # accessing "localhost:8080" will access port 80 on the guest machine.
    # config.vm.network "forwarded_port", guest: 80, host: 8080
  
    # Create a private network, which allows host-only access to the machine
    # using a specific IP.
    config.vm.network "private_network", ip: "xxxxx"
  
    # Create a public network, which generally matched to bridged network.
    # Bridged networks make the machine appear as another physical device on
    # your network.
    # config.vm.network "public_network"
  
    # Share an additional folder to the guest VM. The first argument is
    # the path on the host to the actual folder. The second argument is
    # the path on the guest to mount the folder. And the optional third
    # argument is a set of non-required options.
    #config.vm.synced_folder "../data", "/vagrant_data" , "/vagrant"
    config.vm.synced_folder ".", "/mydata", :mount_options =&gt; ['dmode=775','fmode=664']
    #config.vm.synced_folder "./", "/vagrant", id: "vagrant-root", type: "nfs"
  
    # Provider-specific configuration so you can fine-tune various
    # backing providers for Vagrant. These expose provider-specific options.
    # Example for VirtualBox:
    #
    # config.vm.provider "virtualbox" do |vb|
    #   # Display the VirtualBox GUI when booting the machine
    #   vb.gui = true
    #
    #   # Customize the amount of memory on the VM:
    #   vb.memory = "1024"
    # end
    #
    # View the documentation for the provider you are using for more
    # information on available options.
  
    # Define a Vagrant Push strategy for pushing to Atlas. Other push strategies
    # such as FTP and Heroku are also available. See the documentation at
    # https://docs.vagrantup.com/v2/push/atlas.html for more information.
    # config.push.define "atlas" do |push|
    #   push.app = "YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME"
    # end
  
    # Enable provisioning with a shell script. Additional provisioners such as
    # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
    # documentation for more information about their specific syntax and use.
    # config.vm.provision "shell", inline: &lt;&lt;-SHELL
    #   apt-get update
    #   apt-get install -y apache2
    # SHELL
    if Vagrant.has_plugin?("vagrant-proxyconf")
      config.proxy.http      = "xxxxx"
      config.proxy.https     = "xxxxx"
      config.proxy.ftp       = "xxxxx"
      config.apt_proxy.http  = "xxxxx"
      config.apt_proxy.https = "xxxxx"
      config.proxy.no_proxy  = "xxxxx"
    end
  
    if !Vagrant.has_plugin?("vagrant-proxyconf") 
      system('vagrant plugin install vagrant-proxyconf')     
      raise("vagrant-proxyconf installed. Run command again.");
    end
  
  end
  </code></pre>
  
  <p>Please suggest <br/>
  1. How can i correct this error?<br/>
  2. Share the complete folder from windows to vm?</p>