VirtualBox

Opened 16 years ago

Closed 16 years ago

Last modified 14 years ago

#1680 closed defect (fixed)

\vboxsvr shared folders in XP guest required administrator rights -> Fixed in 1.6.6

Reported by: jwithana Owned by:
Component: shared folders Version: VirtualBox 1.6.4
Keywords: shared folders Cc:
Guest type: Windows Host type: other

Description

http://www.virtualbox.org/ticket/649 claims this would be fixed in 1.6.2 but the problem still persists

Host Ubuntu 8.04 64-bit Guest Win XP Pro 32-bit

\vboxsvr shared folders still cannot be accessed by ordinary user (without administrator priviledges) if administrator didn't log before and mount them

Attachments (4)

install.log (2.3 KB ) - added by Zhongke Chen 16 years ago.
jwithana-install.log (2.0 KB ) - added by jwithana 16 years ago.
jwithana's install.log
services.JPG (125.3 KB ) - added by jwithana 16 years ago.
serivces present
fix_vbox_share_folder.reg (2.8 KB ) - added by Sun Hao 16 years ago.
Fix the missing reg info

Download all attachments as: .zip

Change History (64)

comment:1 by Zhongke Chen, 16 years ago

I have the same problem.

Windows Xp home sp3 32-bit guest, Ubuntu 8.04 32-bit host

comment:2 by Sander van Leeuwen, 16 years ago

Did either of you upgrade the additions?

in reply to:  2 comment:3 by Zhongke Chen, 16 years ago

Replying to sandervl73:

Did either of you upgrade the additions?

upgraded. the icon of the guest addition is a blue cube now

comment:4 by Frank Mehnert, 16 years ago

... and still the same problem?

in reply to:  4 comment:5 by Zhongke Chen, 16 years ago

Replying to frank:

... and still the same problem?

yes. i have to log in as administrator first, then log in as normal user.

comment:6 by pentagonik, 16 years ago

Please check the following:

  • Is there a service called VBoxService in the service manager? What's the status of this service (started, stopped, ...)?
  • Open "regedit.exe" and lookup HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VBoxService\. Please paste the values you found there here.

comment:7 by Zhongke Chen, 16 years ago

No service called VBoxService in service manager. No HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet?\Services\VBoxService\ in registry. There is HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VBoxGuest\ VBoxMouse VBoxSF vboxvideo.

comment:8 by pentagonik, 16 years ago

It seems that it didn't update/install the additions right. Please repeat the installation. Additionally, you could specify the parameter /L when starting the setup from the command line to get a log in the installation directory.

by Zhongke Chen, 16 years ago

Attachment: install.log added

comment:9 by Zhongke Chen, 16 years ago

I reinstalled the guest addition. the problem is still the same. the install log is attached.

comment:10 by Zhongke Chen, 16 years ago

I completely removed guest addition, and reinstalled it again. now I have the virtualbox guest addtion service. its startup type is automatic, but its status was stopped.

comment:11 by pentagonik, 16 years ago

Status "stopped" is okay; did you reboot the machine after the installation? Does the shared folders work now?

comment:12 by Zhongke Chen, 16 years ago

it's ok now. it seems that the old guest addition must be uninstalled before new one installed

comment:13 by pentagonik, 16 years ago

Which additions did you have installed before the update? I'll try to reproduce the error then.

in reply to:  13 comment:14 by Zhongke Chen, 16 years ago

Replying to pentagonik:

Which additions did you have installed before the update? I'll try to reproduce the error then.

1.5.6 => 1.6.0 => 1.6.2

comment:15 by jwithana, 16 years ago

did u have to reboot after uninstalling 1.6.0 guest additions, prior to installing 1.6.2?

comment:16 by jwithana, 16 years ago

perhaps the manual should make clear the upgrade path?

on the host i presume one can can install the new version of vbox without uninstalling the prior version?

comment:17 by gg, 16 years ago

I had on a the same issues on Win2KPro guest. Previous 1.5.6 had no problems with the shares. However, I should mention that I had also previously upgraded from 1.5.6 to 1.6.0 but dropped back to 1.5.6 because of issues with 1.6.0. The machines were then upgraded again to 1.6.2:

Guest = Win2KPro was previously under 1.5.6 Host(s) = Ubuntu Linux Hardy 8.04 (2.6.24-19-generic)

and

Gutsy 7.10 (2.6.22-14-generic)

Guest Additions = 1.6.2.r31466 VBoxSF.sys = 1.6.2.0 VBoxMRXNP.dll = 1.6.2.0 Reg keys: VboxGuest, VBoxMouse, VBoxService, VBoxSF, vboxvideo

VirtualBox Guest Additions Service set to Automantic, is stopped and cannot be started manually. I receive: ==== Could not start the VirtualBox Guest Additions Service on Local Computer. Error 1053: The service did not repond to the start or control request in a timely fashion. ====

But I see from 06/10/08 13:18:09 changed by pentagonik that is OK.

I backed down to 1.5.6 on one of the machines (Gutsy) to see if 1.6.2 was the problem and noticed that I still had no shares. So, I uninstalled the Client for Microsoft Networks and reinstalled. That resolved the issue.

Did the same on the 1.6.2 machine (Hardy) and that also resolved the issue on that machine as well. While that provides a workaround, the question still remains why did an upgrade from 1.5.6 ==> 1.6.2 establish the problem to begin with?

comment:18 by jwithana, 16 years ago

Ubuntu 8.04 64-bit Host Win XP Pro SP3 32-bit Guest

I just uninstalled (& rebooted) and reinstalled Guest Additions but now I cannot map ANY shared folders (not even when logged in as Admin on XP!!)

yikes!

comment:19 by jwithana, 16 years ago

in Guest XP, under My Network Places/Entire Network/Virtualbox Shared Folders

nothing is visible

by jwithana, 16 years ago

Attachment: jwithana-install.log added

jwithana's install.log

comment:20 by jwithana, 16 years ago

i uploaded my install log.

in regedit, HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VBoxService\ does NOT exist

however, HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet?\Services\VBoxGuest,VBoxMouse,VBoxSF and vboxvideo DOES exist.

comment:21 by jwithana, 16 years ago

also in My Computer->Manage->Services there is NO shared folder service!

comment:22 by Sun Hao, 16 years ago

exactly same problem with jwithana's

comment:23 by jwithana, 16 years ago

anyone at innotek/sun able to replicate the issue? do you think it is an issue of how I installed Guest Additions, and if so any thoughts on how exactly i should re-install?

comment:24 by laurent laffont, 16 years ago

Cannot map any shared folders too. Debian sid with Linux 2.6.25 on macbook intel core duo 2, windows xp sp2, virtual box 1.6.2

comment:25 by Divius, 16 years ago

Clear installation of virtual box (not update!!) - shared folders work only after reinstallation of guest additions (once again) and reboot.

in reply to:  25 comment:26 by laurent laffont, 16 years ago

Replying to Divius:

Clear installation of virtual box (not update!!) - shared folders work only after reinstallation of guest additions (once again) and reboot.

It works ! Tha

comment:27 by jwithana, 16 years ago

uninstalled and re-installed guest additions -- still does not work!

in reply to:  27 comment:28 by Divius, 16 years ago

Replying to jwithana:

uninstalled and re-installed guest additions -- still does not work!

Did you try to install version 1.6.2 twice after uninstalling previous version?

comment:29 by jwithana, 16 years ago

just tried it. still no luck... the network icon show activity when the xp gues tries to looks for \vboxsvr\foo\bar but comes back with the msg not found

comment:30 by jwithana, 16 years ago

is there any way to check 1.6.0 guest additions were uninstalled correctly?

if 1.6.2 guest addition shared folder thing was installed is there something i could check for? is there a registry entry i could add to enable it? i presume the installer DLL added the correct code, its just that the system is not configured to use it? or perhaps do you think a M$ security update disabled it?

comment:31 by pentagonik, 16 years ago

Hi,

  • Please post us the file versions of "VBoxSF.sys" (in windows\system32\drivers) and "VBoxMRXNP.dll" (in Windows\system32).
  • Make sure that there is a service called "VBoxService" in the services list.
  • Open the registry (run "regedit.exe") and go to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services". Which keys beginning with "VBox" are there?

comment:32 by jwithana, 16 years ago

VBoxSF.sys version 1.6.2.0 VBoxMRXNP.dll version 1.6.2.0

there is NO "VBoxService" in the services list (see attached window grab)

in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ i see: VBoxGuest, VBoxMouse, VBoxSF and vboxvideo

by jwithana, 16 years ago

Attachment: services.JPG added

serivces present

comment:33 by jwithana, 16 years ago

just to clarify, what is attached is a pic of the services present which does NOT include "VBoxservice"

comment:34 by gg, 16 years ago

I uninstalled the Client for Microsoft Networks and reinstalled. That resolved the issue for me. You might give that a try.

ControlPanel|Network etc. Uninstall Client for Microsoft Networks reboot Reinstall Client for Microsoft Networks

comment:35 by jwithana, 16 years ago

how do i uninstall/reinstall Client for Microsoft Networks? i cant find it in add/remove programs. is it somewhere else?

comment:36 by gg, 16 years ago

http://capd.ksu.edu/cns/support/network-setup-instructions/4-configure-your-local-area-connection/winxp32/d-install-client-for-microsoft-networks

Mind the wrap. This shows how to install, uninstalling is pretty much the reverse. Note: be sure to have your install CD handy as you may have to use it when reinstalling.

by Sun Hao, 16 years ago

Attachment: fix_vbox_share_folder.reg added

Fix the missing reg info

comment:37 by Sun Hao, 16 years ago

I get the missing registry , see attachment above. Just add it into your system's redistry, it works fine for me. Service still not shows in the services list, but it works!!!

comment:38 by jwithana, 16 years ago

wow! that works!! thanks seerhut!

in reply to:  description comment:39 by Bernhard Bock, 16 years ago

I was hit by the same bug on Windows Vista Ultimate SP1 guest. UAC on Vista is disabled (and was before the upgrade). Host is Kubuntu 8.04. Reinstalling the guest additions (multiple times, reboot in between) did not solve the problem. The installation was upgraded from 1.5.6 -> 1.6.0 -> 1.6.2.

The attached registry file solved the problem for me.

comment:40 by jwithana, 16 years ago

clearly the Guest Additions installer chokes and doesnt make the correct registry entries. hope this is fixed in the next release?

comment:41 by pentagonik, 16 years ago

@jwithana: Did you also try with a Windows XP SP2? We didn't test SP3 massively yet, so it highly can be that there's an error in combination with that service pack.

I tested the installation/update of the Guest Additions with XP SP2 again and again but didn't find any errors or not working features.

comment:42 by jwithana, 16 years ago

i did not test it on SP2

comment:43 by jwithana, 16 years ago

the other thing i forgot to mention was that this is a rawdisk image with 2 hardware profiles "Physical" and "Virtual"

comment:44 by jwithana, 16 years ago

also after seerhut's registry fix (fix_vbox_share_folder.reg) i still need to log in as Admin and map the drives prior to logging in as a non-admin user [even with VBoxSF.sys version 1.6.2.0 VBoxMRXNP.dll version 1.6.2.0]

comment:45 by pentagonik, 16 years ago

To all which still having problems with installing/upgrading the Shared Folders and/or needing administrative rights: Please send me an email with your nickname to "pentagonik at sun dot com". I'll then provide you a link to a test version.

comment:46 by Frank Mehnert, 16 years ago

Component: othershared folders

comment:47 by pentagonik, 16 years ago

Since I didn't get ANY feedback of the users I sent the test version, please try again with 1.6.4 and report back if the problem still exists.

comment:48 by Michael DePaulo, 16 years ago

I tested this with Win XP SP3 on Vbox 1.6.4 on Ubuntu 8.04.1 64-bit. No luck.

fix_vbox_share_folder.reg did not help.

comment:49 by Michael DePaulo, 16 years ago

I was using a completely clean 1.6.4 install with 1.6.4 guest additions btw.

comment:50 by Frank Mehnert, 16 years ago

Version: VirtualBox 1.6.2VirtualBox 1.6.4

in reply to:  50 comment:51 by poulsbo, 16 years ago

Version: 1.6.4

Host: Mac 10.5.4

Guest: Win XP SP3

Same problem.

Not helped by fix_vbox_share_folder.reg.

Tried fix_vbox_share_folder.reg + reinstalling Guest Additions, and now accessing "My Network Places" causes ticket 1729 (http://www.virtualbox.org/ticket/1729) -- which is what I saw originally, but which had temporarily gone away, when I had uninstalled Guest Additions, then reinstalled, but not merged the fix_vbox_share_folder.reg file.

comment:52 by Frank Mehnert, 16 years ago

Guest type: otherWindows

in reply to:  52 comment:53 by AaronWang, 16 years ago

Replying to frank: I have the same problem. Uninstall Guest Additions, restart Guest OS, and Install Guest Additions again will resolve thie problem.

in reply to:  47 comment:54 by Pedro, 16 years ago

Replying to pentagonik:

Since I didn't get ANY feedback of the users I sent the test version, please try again with 1.6.4 and report back if the problem still exists.

Hi!

I have installed windows xp sp2 as guest in an Ubuntu 8 host with automatic updates off and I could see the shared folder after installing Vbox guest additions. Now, with the same host and the same WinXP CD but upgraded to SP3 I can't connect to the shared folder... even after trying all the possible solutions on this forum!

regards Pedro

comment:55 by Frank Mehnert, 16 years ago

Pedro, did you upgrade VBox in the meantime?

comment:56 by Pedro, 16 years ago

Frank, I have used the version 1.6.4 with both installations. Now I have installed the win xp for the 3rd time (this is not a weird fetish!!! I really need it working with a specific software and a shared folder!!! :)) and it works great with the SP2. The first thing I did was to install the Guest Addictions. Now I have a great snapshot!! :) Note that I turn all the automatics updates off... and I guess that they will remain like that!

I suppose that it is a incompatibility with the SP3, no?

comment:57 by Frank Mehnert, 16 years ago

Pedro, I assume you tried to open your shared folder with specifying \vboxsvr\share (replace share with your share name) in the explorer address line, right? If so, does \vboxsvr\share in a guest command line (cmd.exe) work? And/or does it work if you go to the explorer menu, select connect network drive, click browse in the following dialog, select VirtualBox Shared Folders and select your share there and finally click on ok. Does that work?

comment:58 by Pedro, 16 years ago

Yes, I mapped the shared folder at the command line with "net" and it worked perfectly. One of the softwares I have to install needs a newer version of the installer and I had to add the SP3. But the shared folders still work perfectly. I already copy some files through it and I had no problem at all.

comment:59 by Kyle Skrinak, 16 years ago

I am unable to access Shared Folders on my virtbox/WinXP machine as an admin user. I've tried the steps above, including the fix.reg file, un-and-re-installing the additions (1.6.4) and uninstalling and reinstalling the Client for Microsoft Networks (against my preferences) Regardless, I can not access any shared folders. When I try to access a shared folder, such as Run > \vboxsvr\<sharename> I get a dialog that it cannot access "\vboxsvr\iso" a folder I unshared some time ago.

comment:60 by sunlover, 16 years ago

Resolution: fixed
Status: newclosed
Summary: \vboxsvr shared folders in XP guest required administrator rights\vboxsvr shared folders in XP guest required administrator rights -> Fixed in 1.6.6

This problem has been fixed in 1.6.6. Please try it and reopen the ticket if the problem persists.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use