Saving the attached USB devices

This is for discussing general topics about how to use VirtualBox.
Post Reply
jmt
Posts: 1
Joined: 20. Mar 2014, 02:46

Saving the attached USB devices

Post by jmt »

Running ver 4.3.8. Running Windows XP in VMbox on top of Windows 7. I have 2 separate USB devices plugged in all of the time. When I bring up XP, I have to reselect all of the 3 USB devices all of time. How can I save the state of XP so I do not have to reselect the those 3 USB devices all of the time.

Thankyou,
jeff
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Saving the attached USB devices

Post by mpack »

If you want devices to be attached automatically, shut the VM down (not saved state) and enable a few USB filters in the VM settings.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Saving the attached USB devices

Post by socratis »

Pausing the guest is the only way that the USB will not be released to the host. Saving the state or shutting down releases all resources. It kinda makes sense if you think about it.

Edit: It doesn't work, even with filters as mpack suggested, I tried it. You have to release it from the host. Then it is auto-captured. But it's not what I think you were trying to do, which is as soon as you start the guest the USB devices are auto-captured.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: Saving the attached USB devices

Post by ChipMcK »

jmt wrote:Running ver 4.3.8. Running Windows XP in VMbox on top of Windows 7. I have 2 separate USB devices plugged in all of the time. When I bring up XP, I have to reselect all of the 3 USB devices all of time. How can I save the state of XP so I do not have to reselect the those 3 USB devices all of the time.
Curious. What kind of USB device, stick/flash or hard drive?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Saving the attached USB devices

Post by mpack »

socratis wrote:I tried it. You have to release it from the host. Then it is auto-captured.
Are you testing this on a Mac host? AFAIK, USB capture behaves differently on a Mac host.

I'm also assuming that the OP is potially powering down the host, and perhaps unplugging the USB devices, in between XP guest sessions. So the guest can't possibly retain ownership of the USB devices through all that.
Post Reply