USB storage pass-through for Hyper-V

Hi everyone, I have a 2012R2 hypervisor with two guests running on it. I need to be able to set up a pass-through connection of a Tandberg RDX drive to one of the guests. The hypervisor recognizes the drive but I cannot make it offline, to be able to add it to the VM.  When trying via diskpart It gives this error:
DISKPART> offline disk

Virtual Disk Service error:
The operation is not supported on removable media.

Open in new window

Please note that this is the standalone hypervisor installation, not an app running on the standard server.

I've tried it with powershell to, using the below guide, but got a following error:

PS C:\Users\mandel> Get-Disk -Number 1 | Set-Disk -IsOffline $true
Set-Disk : Not Supported
At line:1 char:22
+ Get-Disk -Number 1 | Set-Disk -IsOffline $true
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (StorageWMI:ROOT/Microsoft/...
   _StorageCmdlets) [Set-Disk], CimException
    + FullyQualifiedErrorId : StorageWMI 1,Set-Disk

Open in new window

Any suggestions welcome.
Martin AndelSenior IT AnalystAsked:
Who is Participating?
David Johnson, CD, MVPOwnerCommented:
Hyper-V doesn't allow the pass-through of a USB-attached device on a host to a VM. This would break the desired abstraction of the VM from the hardware, and therefore stop VM mobility. however this doesn't mean there are no solutions. Either of these two solutons allow vm's to be move from host to host without losing connectivity
Martin AndelSenior IT AnalystAuthor Commented:
Although I am not too happy with the outcome, at least I do know now that it is just not possible the way I was trying to do it.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.