Cannot run setups from a vboxsvr mapped network drive on Windows within VirtualBox

Solution 1:

Yes I have faced the same problem like every one.

The most easy way to overcome this problem is to log in as an Administrator in the guest Windows OS. Here's a tutorial for enabling Administrator account in Windows 7

Another option is to disable the UAC (User Account Control). Here's a link for disabling UAC. Disabling UAC is dangerous , it makes the job easier for malicious programs.

Solution 2:

You can solve this issue by tweaking Local Group Policy:

Local Group Policy Editor (Run gpedit.msc) > Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options >

  1. User Account Control: Behavior of the elevation prompt for administrators... = Elevate without prompting

  2. User Account Control: Run all administrators in Admin Approval Mode = Disabled

  3. User Account Control: Switch to the secure desktop when prompting for elevation = Disabled

Restart.

Credits: https://www.virtualbox.org/ticket/5732