Page 1 of 1

using network resources as administrator

Posted: 21. Nov 2010, 02:57
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?

Re: using network resources as administrator

Posted: 21. Nov 2010, 14:50
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.