Solved Virtual XP - Assign a drive letter to a host drive

eddyq

New member
Member
Local time
7:07 PM
Messages
50
I loaded the Windows 7 Virtual PC then I loaded the "Windows XP Mode" virtual machine. I am able to see my W7 host drives as "C on EDDYS-E6440". But the software I'm using needs to use a drive letter. I would like to call it W. So I tried to use Tools->Map Network Drive. I used folder == \\eddys-e6440\c the user name == eddys-e6440\eddyq but it says it can't find it: "The network path \\eddys-e6440\c could not be found".

So I used "whoami" on the W7 side and it does in fact show the host and user name are eddys-e6440\eddyq. Then I went to the W7 side and mapped a drive there exactly the same way and that worked (so I know I have all the syntax, names and case correct).

Then I tried creating a new account on the XP side called eddyq (the same user/password as the W7 side). But when I use Start->Log Off the W7 side gets a message saying "Windows Virtual PC has stopped working" (a.k.a. crash). So I tried "shutdown /r" and while restarting the VM it again crashed.

Does Windows XP Mode have this restriction? If so is there any way to make "C on EDDYS-E6440" appear as a simple drive letter?
 

My Computer My Computer

At a glance

XP
OS
XP
I got it to work eddyq. First of all, make sure that you remove that drive from the Integration Features settings for the VM. On the host machine, create a share to the drive/folder you want to be your drive W:. In the VM, within Windows Explorer, go to Tools->Map Network Drive, set the drive letter to W: then click on Browse. Browse thru your network/Workgroup and find the share that you created and select that share. Depending on how the share is setup you may or may not need to use the link "Connect using a different user name". The click finish and you should now see the share appear as the drive W: in Windows Explorer.
 

My Computer My Computer

At a glance

W10 Pro desktop, W11 laptop, W11 Pro tablet (...3.7Ghz 8700K i7, i7-11800H, i7-1065G716G desktop, 16G laptop, 4G tabletAMD Radeon RX580, RTX 3060, Intel Iris Plus
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built desktop, Dell G15 5511 Gaming laptop,MS Surface Pro 7 tablet
OS
W10 Pro desktop, W11 laptop, W11 Pro tablet (all 64-bit)
CPU
3.7Ghz 8700K i7, i7-11800H, i7-1065G7
Motherboard
ASUS TUF Z370-Pro Gaming in desktop
Memory
16G desktop, 16G laptop, 4G tablet
Graphics Card(s)
AMD Radeon RX580, RTX 3060, Intel Iris Plus
Sound Card
High Definition Audio (Built-in to mobo)
Monitor(s) Displays
Samsung U32J59 32" (2x), 15.6", 12"
Screen Resolution
3840x2160, 3840x2160, 1920x1080, 2160x1440
Hard Drives
500G SSD for OS; 2T, 10T & 15T HDDs for Data on Desktop, 1TB SSD laptop, 128G SSD tablet.
PSU
Corsair CX 750M
Case
Antec 100
Cooling
CM 212+
Keyboard
IBM Model M - used continuously since 1986
Mouse
Microsoft Pro IntelliMouse
Internet Speed
400M down 8M up
Antivirus
Windows Defender
Browser
FireFox
Other Info
Built my first computer (8Mhz 8088cpu, 640K RAM, 20MB HDD, 2 360K floppy drives) in 1985 and have been building them for myself, relatives and friends ever since.
I tried what you said. I changed the settings to remove all drives from "Integration Features". Then it said I had to re-launch the VM. But the Start menu only has Log Off so I just closed the window and it said it was Hybernating. So I re-launched and the drives don't show up anymore (as expected).

But when I try to map using the GUI method you suggest nothing shows up under Workgroup. So I tried the traditional map again and it gives the same error ... that it can't find the path.

I wanted to just re-boot but there is no Restart option under Start, just Log Off. So I tried "shutdown /r" but that crashes while "Starting the virtual machine" is displayed (just like Log Off).
 

My Computer My Computer

At a glance

XP
OS
XP
You need to shut down the XP Mode then reboot it. To shut down XP mode change its settings as shown in screenshot below, then close XP Mode which now prompts for action you want to take. By default XP Mode hibernates when closed, now you can shut it down:

124254d1292627912-xp-mode-autologin-xpm_closing.png

Kari
 

My Computer My Computer

At a glance

Windows 10 Pro x64 EN-GB1.6 GHz Intel Core i7-720QM Processor6 GBATI Mobility Radeon HD 5850 Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
If you don't want to change that setting permanently, you can click on the Ctrl+Alt+Del button at the top of the VM window which will bring up a dialog that will allow you to select "Shutdown...".

But when I try to map using the GUI method you suggest nothing shows up under Workgroup. So I tried the traditional map again and it gives the same error ... that it can't find the path.
Did you create the share for the drive/folder you wish to map to?
 

My Computer My Computer

At a glance

W10 Pro desktop, W11 laptop, W11 Pro tablet (...3.7Ghz 8700K i7, i7-11800H, i7-1065G716G desktop, 16G laptop, 4G tabletAMD Radeon RX580, RTX 3060, Intel Iris Plus
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built desktop, Dell G15 5511 Gaming laptop,MS Surface Pro 7 tablet
OS
W10 Pro desktop, W11 laptop, W11 Pro tablet (all 64-bit)
CPU
3.7Ghz 8700K i7, i7-11800H, i7-1065G7
Motherboard
ASUS TUF Z370-Pro Gaming in desktop
Memory
16G desktop, 16G laptop, 4G tablet
Graphics Card(s)
AMD Radeon RX580, RTX 3060, Intel Iris Plus
Sound Card
High Definition Audio (Built-in to mobo)
Monitor(s) Displays
Samsung U32J59 32" (2x), 15.6", 12"
Screen Resolution
3840x2160, 3840x2160, 1920x1080, 2160x1440
Hard Drives
500G SSD for OS; 2T, 10T & 15T HDDs for Data on Desktop, 1TB SSD laptop, 128G SSD tablet.
PSU
Corsair CX 750M
Case
Antec 100
Cooling
CM 212+
Keyboard
IBM Model M - used continuously since 1986
Mouse
Microsoft Pro IntelliMouse
Internet Speed
400M down 8M up
Antivirus
Windows Defender
Browser
FireFox
Other Info
Built my first computer (8Mhz 8088cpu, 640K RAM, 20MB HDD, 2 360K floppy drives) in 1985 and have been building them for myself, relatives and friends ever since.
If you don't want to change that setting permanently, you can click on the Ctrl+Alt+Del button at the top of the VM window which will bring up a dialog that will allow you to select "Shutdown...".
... and to completely cover all options:

When you have closed XP Mode, by default it is only hibernated. When launched next time it will not restart but instead wake up from hibernation. If you want to change this, force XP Mode to make a full boot instead of waking it up you need to manually delete the XP Mode hibernation file when XP Mode is closed. The file name is Windows XP Mode.vsv and it is located on your host in C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines.
 

My Computer My Computer

At a glance

Windows 10 Pro x64 EN-GB1.6 GHz Intel Core i7-720QM Processor6 GBATI Mobility Radeon HD 5850 Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
[/QUOTE]Did you create the share for the drive/folder you wish to map to?[/QUOTE]

Yes. I set all permissions to full. In fact I can use my other W7 computer and a real XP computer and map just fine to the very same place and with the same user name/password.

Here is a clue ... I can't ping eddys-e6440. Hmm, I did ipconfig and found that it is not on the local network.
 

My Computer My Computer

At a glance

XP
OS
XP
Problem solved. Along with what you guys said and making one more change I fixed it.

The final problem was that Toos->settings->Networking needs to be set to one of the ethernet connections, not the default which is NAT.

Thanks everyone for your help.

PS, but I'm still wondering why a crash during Log Out. If that persists I'll start another thread.
 

My Computer My Computer

At a glance

XP
OS
XP
Back
Top