startvm: can you attach USB devices in vboxmanage?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
njoylif
Posts: 8
Joined: 15. Aug 2014, 02:46

startvm: can you attach USB devices in vboxmanage?

Post by njoylif »

I'm trying to figure out how to launch my VM guest with certain USB devices already attached to the guest when it starts up.
I've looked through the manual and searched the forums...hopefully I didn't just miss it...
is this currently possible?

Thx
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: startvm: can you attach USB devices in vboxmanage?

Post by Perryg »

You can try to use the USB filters but with a Windows host it can be very tricky.
http://www.virtualbox.org/manual/ch03.html#idp50164016
njoylif
Posts: 8
Joined: 15. Aug 2014, 02:46

Re: startvm: can you attach USB devices in vboxmanage?

Post by njoylif »

upon further digging, I see the option to:
VBoxManage controlvm "base" usbattach <uuid>|<address> |

This does not appear to "stay" as part of the core config. any options around that?

TIA
njoylif
Posts: 8
Joined: 15. Aug 2014, 02:46

Re: startvm: can you attach USB devices in vboxmanage?

Post by njoylif »

Perryg wrote:You can try to use the USB filters but with a Windows host it can be very tricky.
Ah, I thought filters only limited what could be attached to the guest. I'll test. Thx
njoylif
Posts: 8
Joined: 15. Aug 2014, 02:46

Re: startvm: can you attach USB devices in vboxmanage?

Post by njoylif »

Perryg wrote:You can try to use the USB filters but with a Windows host it can be very tricky.
http://www.virtualbox.org/manual/ch03.html#idp50164016
Perryg, that appears to be the ticket. appreciate the clarification.
Post Reply