[TC11.03] cannot access shared drive from within VirtualBox VM
Moderators: Hacker, petermad, Stefan2, white
[TC11.03] cannot access shared drive from within VirtualBox VM
I have a VirtualBox VM with Windows XP. I have a shared virtualbox drive (\\Vboxsvr\z_drive) which i have also mounted as a drive letter. Everything works fine except if i go to TC's command line and execute "\\Vboxsvr\z_drive" (or execute the same command though HotDir menu). This command either freezes TC from a few seconds and then does nothing, or causes TC to close without any error message. Files are normally accessible through the mapped drive letter though. Also, the shared drive is normally accessible from Windows explorer.
Host: Win10, latest version.
Guest: WinXP SP3, latest version.
TC: 11.03 x64.
Host: Win10, latest version.
Guest: WinXP SP3, latest version.
TC: 11.03 x64.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC11.03] cannot access shared drive from within VirtualBox VM
\\Vboxsvr\z_drive launches Explorer. Have you tried
cd \\Vboxsvr\z_drive
instead?
cd \\Vboxsvr\z_drive
instead?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC11.03] cannot access shared drive from within VirtualBox VM
Yes, sorry, my mistake. It should have been like this:ghisler(Author) wrote: 2024-02-22, 09:49 UTC\\Vboxsvr\z_drive launches Explorer. Have you tried cd \\Vboxsvr\z_drive instead?
if i go to TC's command line and execute "cd \\Vboxsvr\z_drive"
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
Re: [TC11.03] cannot access shared drive from within VirtualBox VM
I confirm this. It's not new, though, and not WinXP-specific either. I tried a few other combinations, all the way down to TC 7.04a, and all the way up to Win 11 guest OS, and could not access the shared folder via network address in any of them. The mounted drive letter works fine, though.
Also, I checked Explorer, and it successfully opens the shared folder by its network address. So it's not some system-wide issue. Maybe some difference in how VBox emulates the virtual server for shared folders, that works for Explorer, but throws TC off…
Also, I checked Explorer, and it successfully opens the shared folder by its network address. So it's not some system-wide issue. Maybe some difference in how VBox emulates the virtual server for shared folders, that works for Explorer, but throws TC off…
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
Re: [TC11.03] cannot access shared drive from within VirtualBox VM
This is a crash. You might try to create a dump file for fixing the bug.
Re: [TC11.03] cannot access shared drive from within VirtualBox VM
Wow! Nice work. Thanks for the confirmation.
Well, if it happens again (it happened 2 times consecutively but i couldn't reproduce it after that), i'll try to do as you suggest, provided i get some instructions on how to do it.browny wrote: 2024-02-22, 15:37 UTCThis is a crash. You might try to create a dump file for fixing the bug.

- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
Re: [TC11.03] cannot access shared drive from within VirtualBox VM
BTW, I didn't experience any crashes in my experiments. Forgot to mention, sorry. The network path simply wasn't opened, just TC got frozen for a few seconds, and then unstuck, just like with normal inaccessible network shares.
I'm using VBox 6.1.44 on Win10 host, in case that matters.
I'm using VBox 6.1.44 on Win10 host, in case that matters.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
Re: [TC11.03] cannot access shared drive from within VirtualBox VM
7.0.14 here, with the same version of guest additions...
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
Re: [TC11.03] cannot access shared drive from within VirtualBox VM
Creation of a dump file was explained in crash using UNC bug report.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC11.03] cannot access shared drive from within VirtualBox VM
This works just fine here, I'm using it all the time. Even accessing my raspberry pi via cd \\ip_address works. I need more information to find out what could be wrong.I confirm this. It's not new, though, and not WinXP-specific either. I tried a few other combinations, all the way down to TC 7.04a, and all the way up to Win 11 guest OS, and could not access the shared folder via network address in any of them.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC11.03] cannot access shared drive from within VirtualBox VM
2ghisler(Author)
Are you sure we are talking about the same thing? Access to normal network shares works fine, I'm using it too, all the time. The problem happens with one very specific kind of share, and that is when TC is installed inside a VirtualBox virtual machine, and tries to access a virtual network share created by guest tools for accessing host shared folders (which are configured in the virtual machine settings).
Are you sure we are talking about the same thing? Access to normal network shares works fine, I'm using it too, all the time. The problem happens with one very specific kind of share, and that is when TC is installed inside a VirtualBox virtual machine, and tries to access a virtual network share created by guest tools for accessing host shared folders (which are configured in the virtual machine settings).
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC11.03] cannot access shared drive from within VirtualBox VM
You mean Virtualbox shared drives? These have never worked for me, so I can't really test them. Just share a folder normally on your host system and then connect to it from your guest.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC11.03] cannot access shared drive from within VirtualBox VM
Shared folder have been working for me perfectly for years, both from Explorer and from TC. Only I don't remember using them via network share name, I've always used the drive letter (Z: by default, but can be changed in the VM settings).
Network share is not always an option, as the VM may not be connected to the network, or you may not want to share the folder for the whole network and bother with authentication. So shared folders are really useful and convenient.
Network share is not always an option, as the VM may not be connected to the network, or you may not want to share the folder for the whole network and bother with authentication. So shared folders are really useful and convenient.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
Re: [TC11.03] cannot access shared drive from within VirtualBox VM
2Ghisler
What Flint said. In addition, what puzzles me is why does it work from Windows Explorer? There must be something missing from TC. An idea could be for you to contact VBox people, to help you understand what's needed.
What Flint said. In addition, what puzzles me is why does it work from Windows Explorer? There must be something missing from TC. An idea could be for you to contact VBox people, to help you understand what's needed.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC11.03] cannot access shared drive from within VirtualBox VM
I have checked it in the debugger now: TC sees "\\Vboxsvr\share\" as a network share and tries to verify the connection, and connect to it if the connection cannot be verified. It first calls WNetGetUser("\\Vboxsvr\share\",UserName,length) to check if the share is valid. This should return error 0, but VirtualBox returns error 2250 (ERROR_NOT_CONNECTED = "This network connection does not exist.").
Then TC calls WNetAddConnection3,which returns error 67 (ERROR_BAD_NET_NAME = "The network name cannot be found.").
So TC assumes that the network path is invalid and doesn't try to access it. The errors don't give any clue that it's not really a network share, and the errors look normal for inaccessible locations too, so I don't really see a solution here.
Btw, you can use a button
cd \\Vboxsvr
to go to the list of shares and then proceed to the share you want to access.
Then TC calls WNetAddConnection3,which returns error 67 (ERROR_BAD_NET_NAME = "The network name cannot be found.").
So TC assumes that the network path is invalid and doesn't try to access it. The errors don't give any clue that it's not really a network share, and the errors look normal for inaccessible locations too, so I don't really see a solution here.
Btw, you can use a button
cd \\Vboxsvr
to go to the list of shares and then proceed to the share you want to access.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com