using network resources as administrator

This is for discussing general topics about how to use VirtualBox.
Post Reply
Duhhh
Posts: 28
Joined: 18. Feb 2010, 04:51
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7, Windows Vista

using network resources as administrator

Post by Duhhh »

I'm running VirtualBox 3.2.10 on Ubuntu Maverick (64). My guest is Win7(64). From the guest, I'm mapping network drives to my shared folders. If I do the mapping from windows explorer, or from a normal command prompt, I can't use them when I'm running a command prompt as administrator. If I set up a mapping from a "run as administrator" command prompt, I can't use them from a normal command prompt (and can't even see the mapping from explorer).

To test, I open a normal command prompt, and verify (net use) I can see all the share mappings. if I try to see a DIR from a share mapped as administrator, I get: "The system cannot find the path specified." Same thing if I open a command prompt as administrator, and try to see a DIR of a share I mapped from a normal command prompt.

Is there a way to do a mapping that can be seen no matter what command prompt I use?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: using network resources as administrator

Post by Sasquatch »

I'm afraid that's not a VB problem. It's Windows that makes mapped drives a user based setting. User A can map drive Z: to \\server\share1, while user B can have Z: mapped to \\server\share2. Since XP it's possible to log in with multiple users at the same time (fast user switching) and having one share available for all users would be a serious security risk. Think about companies where log in to the computer of your boss while he locked his session. You would then be able to see, open and modify all the files he has access to, while your user wouldn't, simply because he has the shares mapped.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply