Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Virtual PC seeing hosts HDD locally


19 Jul 2009   #1

Win 7
 
 
Virtual PC seeing hosts HDD locally

Using the new Virtual PC in Windows 7 running XP is there a way to see the hosts HDD as local ones in the virtual machine?

Twas an option in Virtual PC 2007 but can't seem to find it in the new one. The nearest I've come is enabling the integrated features but that only maps network drives, no good for what I need.

This is on build 7100, is it an option in later builds?

My System SpecsSystem Spec
.

19 Jul 2009   #2

 

Quote   Quote: Originally Posted by augustud View Post
Using the new Virtual PC in Windows 7 running XP is there a way to see the hosts HDD as local ones in the virtual machine?

Twas an option in Virtual PC 2007 but can't seem to find it in the new one. The nearest I've come is enabling the integrated features but that only maps network drives, no good for what I need.

This is on build 7100, is it an option in later builds?
Hi Augustud,

Virtual PC has the same options on all builds on Windows 7 and Vista since its a separate installable component, it doesnt remove features based on the build of Windows your using just depends when Microsoft will update Virtual PC to allow physical access to HDDs, until then everyone is stuck using the mapped network drives

Steven
My System SpecsSystem Spec
19 Jul 2009   #3

 

Quote   Quote: Originally Posted by augustud View Post
...nearest I've come is enabling the integrated features but that only maps network drives, no good for what I need...
Can you SUBST an UNC? If yes, can it done in the VM? Just a thought.

As it turns out, No and Yes.

Subst.exe is used to associate a path with a drive letter.

If you use Subst.exe to connect to a network resource using a Universal Naming Convention (UNC) path, the command runs successfully, but when you try to gain access to the new drive letter you receive an error message similar to: The filename, directory name, or volume label syntax is incorrect.



To work around this behavior, use the NET USE command to connect to network resources instead of the SUBST command. For example, the command

net use * \\fileserver\share\path1\path2
Results in the next available drive letter being mapped to the root of path2.
My System SpecsSystem Spec
.


19 Jul 2009   #4

 

I do not know if you can do it in the VM, but you should try it.
My System SpecsSystem Spec
19 Jul 2009   #5

Win 7
 
 

Thanks for reply s all

@dmex Yeh that's what I realised after I posted as I remembered you download it separately

@Antman Don't think NET USE will work. Let me explain a little. I have to run HP digital sending software which is software for setting up and running my printer and needs to be running all the time etc etc. This only runs in a XP 32bit environment and is very very fussy. For example, when specifying which folder the printer should send scanned PDF's to it has to be a local folder on the computer. Now when I'm running it in a virtual machine you can see the problem. When I was using Vista and Virtual PC 2007 you could set it so the virtual PC could see all the hosts drives as local drives. Worked like a charm. However, as we've discussed, the new one doesn't seem to have this function and the HP software wont let me specify a network location, (mapped drives included).

So, it appears my only two options are install Virtual PC 2007 and use that instead. Or set it to copy the files to a folder in the virtual machine then set up a script that automatically moves everything in that folder across to the server.
My System SpecsSystem Spec
19 Jul 2009   #6

 

Quote   Quote: Originally Posted by augustud View Post
...Don't think NET USE will work. ...HP digital sending software...
Which version are you running, 4.0?

.
My System SpecsSystem Spec
19 Jul 2009   #7

Win 7
 
 

yep 4.


Your suppose to be able to specify network locations I think but i've never ever managed to get it to work with windows networking.
My System SpecsSystem Spec
20 Jul 2009   #8

 

Hi Augustud,

Since it doesn't allow the use of a network drive, have you tried creating a symlink folder using the path for a network drive? That should be enough to trick it considering a symlink behaves and acts like a real folder

You need to specify one of these options however (Im not sure which one will trick your HP software) otherwise it will create a symbolic file instead of a folder

(you will need to put all of the names in quotation marks)

mklink /D "thelocalfolder" "\\themachinename\folder"


/D Creates a directory symbolic link. Default is a file symbolic link.
/H Creates a hard link instead of a symbolic link.
/J Creates a Directory Junction.

Steven
My System SpecsSystem Spec
25 Jul 2009   #9

Windows 7 Ultimate x64, XP Mode, W8.1 Preview VM - 7 Pro x64 second remote tower
 
 

Quote   Quote: Originally Posted by augustud View Post
Using the new Virtual PC in Windows 7 running XP is there a way to see the hosts HDD as local ones in the virtual machine?

Twas an option in Virtual PC 2007 but can't seem to find it in the new one. The nearest I've come is enabling the integrated features but that only maps network drives, no good for what I need.

This is on build 7100, is it an option in later builds?
In the XP mode you have ready access to the main host drive while a custom install of Vista or 7 onto a vhd on the other hand only has access to the dvd drive used for the installation. That allows softwares to be installed from disk onto the VPC itself.

The first two images here show how the actually 5 sata, two optical, and a usb flash drive appear. The third was on completion of the Vista installation where you can see only the Virtual "C" and the dvd drive, floppy are available.

(now that the 32bit 7 is on I could use the XP mode's access for sure! )


Attached Thumbnails
Virtual PC seeing hosts HDD locally-vpc-drives-shown.jpg   Virtual PC seeing hosts HDD locally-install-vista23.jpg  
Attached Images
 
My System SpecsSystem Spec
Reply

 Virtual PC seeing hosts HDD locally




Thread Tools



Similar help and support threads for2: Virtual PC seeing hosts HDD locally
Thread Forum
Run as administrator / disable logon locally General Discussion
RDC not showing printers installed locally Network & Sharing
Can't print locally but can via network Hardware & Devices
Cant open my shared folders locally Network & Sharing
HOSTS File - Create a "Edit HOSTS file" Shortcut Tutorials
Apache - can access locally, but not other comps on LAN Network & Sharing
Cannot logon locally after joing domain Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 06:13 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33