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
augustud

Win 7
 
 
Virtual PC seeing hosts HDD locally

Using the new Virtual PC in Win7 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
dmex

 

Quote   Quote: Originally Posted by augustud View Post
Using the new Virtual PC in Win7 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
Antman

 

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
Antman

 

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
augustud

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
Antman

 

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
augustud

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
dmex

 

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
Night Hawk

W7 Ultimate x64/W10 Pro x64 dual boot main build-remote pc W10 Pro x64 Insider Preview/W7 Pro x64
 
 

Quote   Quote: Originally Posted by augustud View Post
Using the new Virtual PC in Win7 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
-vpc-drives-shown.jpg   -install-vista23.jpg  
Attached Images
 
My System SpecsSystem Spec
Reply

 Virtual PC seeing hosts HDD locally




Thread Tools




Similar help and support threads
Thread Forum
Run as administrator / disable logon locally
Hi! Is there a way to prevent users from logging on locally with a spesific local user (first PC login) but still be able to Run as local user after logged on to the PC with a AD user?
General Discussion
Hosts file ignored and replaced with hosts.original
Hello. I am trying to use the hosts file. However both pings and web addresses still bypass the hosts file. I noticed that there is another file in the C:\Windows\System32\drivers\etc directory called 'hosts.original'. When ever I delete this file, it reappears seconds later. I have made sure that...
General Discussion
RDC not showing printers installed locally
Hi, I work off a Windows 7 Home Premium 64bit laptop when at home remoting into a Server 2003 R2. On the laptop I have a Epson Workforce 545 networked which won't display when I connect to the RDC. On the Local Resources tab, I have selected printers, clipboard, drives and ports on the RDC...
Network & Sharing
Can't print locally but can via network
I installed an HP C4680 all in one printer on my Windows 7 desktop. I set it up to do network sharing. A lot of my computing is done via my Macbook Pro which accesses my local network wirelessly. I configured it to do remote printing via my W7 desktop. Everything's been working ok there, but...
Hardware & Devices
HOSTS File - Create a "Edit HOSTS file" Shortcut
How to Create a "Edit HOSTS file" Shortcut in Windows 7 and Vista The HOSTS file is a .txt file used in Vista and Windows 7 to map hostnames to IP addresses. Your computer checks this file first to resolve any network names to its corresponding IP address before it tries to check the Internet....
Tutorials
Printer installs locally but not over network.
I have a Canon i560 printer that is hooked up to a box running XP Pro SP3. My main system, running Windows 7 can see "printer on XP box" but when it tried to find a driver for it (including searching windows update) if fails. For curiosity's sake, I plugged the printer in locally and after a...
Hardware & Devices


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 14:29.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App