VirtualBox

Opened 14 years ago

Last modified 4 years ago

#5732 new defect

Many executables refuse to run fom Shared Folders — at Version 32

Reported by: Technologov Owned by:
Component: shared folders Version: VirtualBox 3.1.0
Keywords: Cc:
Guest type: Windows Host type: Windows

Description (last modified by Frank Mehnert)

About 50% of all Windows executables refuse to run from Shared Folders (vboxsf).

The same executable work perfectly from mounted SMB shares.

Host: Windows XP, Core 2 Q6600, VBox 3.1.0

Guest: Windows 7, 64-bit.

-Technologov, 12.12.2009.

Change History (34)

comment:1 by Technologov, 14 years ago

Example: CPU-Z freeware

comment:2 by Technologov, 14 years ago

Another Example: 7-zip (v4.65)

comment:3 by Technologov, 14 years ago

This also happens with Windows 7 and Vista 32-bit.

by Technologov, 14 years ago

Win7 32bit VM Log

comment:4 by Technologov, 14 years ago

Correction about 7-zip: Only 32-bit version of 7-zip v4.65 fails to start on Windows 7 32 and 64-bit VMs. 64-bit version of 7-zip starts fine on Windows 7 64-bit VM. SMB works in all cases.

comment:5 by sunlover, 14 years ago

How exactly did you start applications? From Command Prompt window? With mouse click in Windows Explorer? etc?

Do you access the shared folder via \vboxsvr UNC path or it is mapped to a drive letter?

comment:6 by Technologov, 14 years ago

  1. Windows Explorer
  1. Mapped to a drive

-Technologov

comment:7 by Technologov, 14 years ago

One more detail: If I copy the problematic executables to the VM via Shared Folders, they are executed fine.

comment:8 by sunlover, 14 years ago

Do applications run when they are started from Command prompt? If they do not run, is there an error message?

by Technologov, 14 years ago

Attachment: win7_error_opening_exe.JPG added

win7_error_opening_exe.JPG screenshot

comment:9 by Technologov, 14 years ago

7-zip is Open-Source, and you can download it.

Tried twice from command prompt, and it fails. As you see in the attached screenshot, there is answer in command prompt, and answer in GUI.

-Technologov

comment:10 by Chris Brown, 14 years ago

I have also noted this exact behavior in windows guests. VirtualBox host OS being linux or windows does not change the behavior. My test case was to install the target guest OS and after adding the guest additions map a shared folder and try to run an executable from the share, one example was the Intel Storage Driver installer "IATA89ENU.exe" which failed to run with the above reported windows error.

I have observed this under the following guests

  • Windows XP Professional x64
  • Windows XP x86 SP3
  • Windows Vista Ultimate x64 SP2
  • Windows 7 Ultimate x64

Strangely I did not see this under a Windows Server 2003 R2 x64 SP2 guest, but I may have not been diligent enough to sift through enough executables to run the error.

comment:11 by Technologov, 14 years ago

Shared folders are still broken.

VBox 3.2.0-BETA1.

-Technologov

comment:12 by sunlover, 14 years ago

Technologov, did you run these executables from an administrator account or from a normal user account? Could you test if this makes any difference?

comment:13 by Technologov, 14 years ago

Problem happens only when you run normal user account. Works with Administrator account.

Try 7-zip, 32-bit, v4.65. It is Free/OSS.

Vista/7 guests only. (32/64-bit)

-Technologov

comment:14 by Technologov, 14 years ago

Any news on this one?

comment:15 by Technologov, 14 years ago

This problem still plagues me.

-Technologov

comment:16 by sunlover, 14 years ago

priority: criticalmajor

We do not know why it does not work. Workaround is of course to use an admin account.

comment:17 by Technologov, 14 years ago

Can you reproduce the scenario ? (using 32-bit 7zip installer.exe)

-Technologov

comment:18 by sunlover, 14 years ago

Yes, it is reproducible.

comment:19 by Technologov, 14 years ago

This problem still exists in 3.2.6-BETA1.

-Technologov

comment:20 by matteo sisti sette, 14 years ago

Still not fixed in 3.2.8

What do you mean by Administrator account? I use the default Window configuration where you have only one user, that "is" an administrator but not quite "the" administartor, and whenever you try to do something that needs admin privileges it simply asks you for a confirmation.

Still, executing some executables from a shared folder fails.

It seems to fail with ALL executable that would normally ask you for the confirmation, i.e. exes that need (and try) to run as admin. Normally they should ask for confirmation. Instead, they fail.

But it seems also SOME exes that don't need admin privileges fail as well.

comment:21 by Frank Mehnert, 14 years ago

This doesn't help, does it?

comment:22 by kermit, 14 years ago

Disable UAC (User Access Control) and it works. How to: http://www.petri.co.il/disable-uac-in-windows-7.htm

comment:23 by matteo sisti sette, 14 years ago

Yes of course, just like it works if you use the administrator account.

Anyway it's a major inconvenience to be obliged to disable UAC, not an acceptable solution in most cases. Still needs to be fixed.

However I still have to try the new version that was released a few days ago and see whether it's fixed.

comment:24 by Frank Mehnert, 14 years ago

No it's not fixed as we still have no idea _how_ to fix it.

comment:25 by kermit, 14 years ago

Agree, this is not a fix, however at least a workaround for all those not knowing how to logon as an Administrator.

comment:26 by Technologov, 13 years ago

Yes, disabling UAC solved the problem for me (Win 7 x64 guest).

This is not clear to me why this problem happens with some executables, but not others.

Maybe upping the priority of this service could help ? -- I mean running the service as a different system user. VBox Shared Folders is consolidated under "VBoxService" ?

-Technologov

comment:27 by Technologov, 13 years ago

For VBox Shared Folders, it seems, that there is no service at all, just a driver; VBoxGuest.sys

According to chapter "4.3. Shared folders", it is a pseudo-network redirector driver.

Since MS SMB works perfectly, the next question is: What's the difference between Microsoft SMB network redirector driver and VBox SF ?

-Technologov

comment:28 by matteo sisti sette, 13 years ago

@Technologov:

This is not clear to me why this problem happens with some executables, but not others.

I think it happens when the executable needs administrator privileges. If everything was working properly, a popup would appear asking for the administrator password. Instead, it just fails to run.

Not 100% sure however.

comment:29 by kniwor, 13 years ago

I'm sure someone has pointed this out before, this has clearly to do with this

http://support.microsoft.com/kb/303308

comment:30 by Technologov, 13 years ago

This bug still exists in 4.0.4

-Technologov

comment:31 by Alex Bobryshev, 12 years ago

I think this issue is effect from bug #7160. I found ways to fix it. Please retest this bug after applying patch

comment:32 by Frank Mehnert, 12 years ago

Description: modified (diff)

Could you try if this test Additions test build fixes your problems?

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use