Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When using XP Mode in Windows 7, you can attach a USB device. Is there anyway to automatically attach a USB device when running an application in XP Mode? For instance, a USB Printer?

share|improve this question
This is not availvable in windows 7 unlitmate, so i dont know what you are on a bout...there is nothing like "Manage USB Devices" when you right click the task bar all you get is start task manager and lock task bar amongst other unrelated stuff from the context unless you are sure of what you are saying can you be more specific where exactly you saw it ???? – user106706 Nov 24 '11 at 14:52
up vote 5 down vote accepted

No it is not currently possible, though you can right-click on the Windows 7 Taskbar Icon for the running program and under "Tasks" you can select "Manage USB Devices". That way you don't have to fully open then XP virtual machine and still attach and remove devices.

While I wish we could set it for automatic, I have yet to find a way!

share|improve this answer

Open the desired XP mode program from Windows 7. (The program must already be installed in XP mode.)

Once open, right click on the task icon in the task bar.

Then a Manage USB Devices window opens where you can attach the desired USB devices.

This allows for USB devices to be attached without starting the whole virtual desktop.

share|improve this answer
My experience with XP Mode was that it doesn't remember these attached devices after a restart. Has this been changed since the last year? – nixda Jan 14 '13 at 8:12

Use a Power Shell Script simular like this one (Adapt to your own needs and save to C:\XPmode-USB.PS1):

& 'C:\Users\%username%\Virtual Machines\Windows XP Mode.vmcx'
Start-Sleep -s 10
$vpc = new-object -com VirtualPC.Application
$vmName = "Windows XP Mode"
$vm = $vpc.findVirtualMachine($vmName)
$usb = "GW-USNANO"
$usbDevice = $vpc.USBDeviceCollection | ? {$_.DeviceString -eq $usb} | select -first 1

Create a Batch file containing:

%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe c:\XPmode-USB.PS1

Create a link anywhere you like!

(Thanks to and How to start a virtual machine via a scheduled task?)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .