<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Managing passthru for USB to workstation desktop in VMware Workstation Pro Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Managing-passthru-for-USB-to-workstation-desktop/m-p/2982178#M182358</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We have a requirement to control the type of USB devices are passed through to a desktop using vmware workstation. We want to be able to allow USB passthru for mass storage devices but block the use of USB Ethernet adapter's being passed through to the desktop from the laptop. is there as way to specify the PID of a peripheral to create passthru rules?&lt;/P&gt;</description>
    <pubDate>Mon, 14 Aug 2023 14:04:16 GMT</pubDate>
    <dc:creator>cbreuser</dc:creator>
    <dc:date>2023-08-14T14:04:16Z</dc:date>
    <item>
      <title>Managing passthru for USB to workstation desktop</title>
      <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Managing-passthru-for-USB-to-workstation-desktop/m-p/2982178#M182358</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We have a requirement to control the type of USB devices are passed through to a desktop using vmware workstation. We want to be able to allow USB passthru for mass storage devices but block the use of USB Ethernet adapter's being passed through to the desktop from the laptop. is there as way to specify the PID of a peripheral to create passthru rules?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 14:04:16 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Workstation-Pro/Managing-passthru-for-USB-to-workstation-desktop/m-p/2982178#M182358</guid>
      <dc:creator>cbreuser</dc:creator>
      <dc:date>2023-08-14T14:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Managing passthru for USB to workstation desktop</title>
      <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Managing-passthru-for-USB-to-workstation-desktop/m-p/2982255#M182372</link>
      <description>&lt;P&gt;You could try either or both of these in the VMX&lt;/P&gt;&lt;P&gt;By USB Class&lt;BR /&gt;usb.numClassRestrictions = "n"&lt;BR /&gt;usb.classRestrictions1.allow = "FALSE"&lt;BR /&gt;usb.classRestrictions1.classID = "USB Class ID"&lt;BR /&gt;usb.classRestrictionsn.allow = "FALSE"&lt;BR /&gt;usb.classRestrictionsn.classID = "USB Class ID"&lt;/P&gt;&lt;P&gt;By Device&lt;BR /&gt;usb.numClassRestrictions = "n"&lt;BR /&gt;usb.DeviceRestrictions1.allow = "FALSE"&lt;BR /&gt;usb.DeviceRestrictions1.vendorID = ""&lt;BR /&gt;usb.DeviceRestrictions1.productID = ""&lt;BR /&gt;usb.DeviceRestrictionsn.allow = "FALSE"&lt;BR /&gt;usb.DeviceRestrictionsn.productID = ""&lt;BR /&gt;usb.DeviceRestrictionsn.vendorID = ""&lt;/P&gt;&lt;P&gt;I tried the Class restrictions and it seemed to worked on Workstation Pro 16.2.5 on an Ubuntu host&lt;BR /&gt;usb.numClassRestrictions = "2"&lt;BR /&gt;usb.classRestrictions1.allow = "FALSE"&lt;BR /&gt;usb.classRestrictions1.classID = "0xE0"&lt;BR /&gt;usb.classRestrictions2.allow = "FALSE"&lt;BR /&gt;usb.classRestrictions2.classID = "0x08"&lt;/P&gt;&lt;P&gt;This disallowed connecting bluetooth module (0xE0) and USB flash drive (0x08).&lt;/P&gt;&lt;P&gt;I would think USB Ethernet class ID would be 0xEF; see this &lt;A href="https://www.usb.org/defined-class-codes" target="_blank"&gt;https://www.usb.org/defined-class-codes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The Class would be broad and blunt while the blocking by Device would be like a game of whack-a-mole.&lt;/P&gt;&lt;P&gt;You might also try setting it in the config file for machine-wide setting instead of vmx so that it doesn't have to be applied for every VM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 03:00:10 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Workstation-Pro/Managing-passthru-for-USB-to-workstation-desktop/m-p/2982255#M182372</guid>
      <dc:creator>bluefirestorm</dc:creator>
      <dc:date>2023-08-15T03:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Managing passthru for USB to workstation desktop</title>
      <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Managing-passthru-for-USB-to-workstation-desktop/m-p/2982259#M182373</link>
      <description>&lt;P&gt;Have to correct myself,&lt;/P&gt;&lt;P&gt;the number starts from to 0 throught o n - 1 in the allow/classID restrictions.&lt;/P&gt;&lt;P&gt;So the example should have been&lt;/P&gt;&lt;P&gt;usb.numClassRestrictions = "2"&lt;BR /&gt;usb.classRestrictions0.allow = "FALSE"&lt;BR /&gt;usb.classRestrictions0.classID = "0xE0"&lt;BR /&gt;usb.classRestrictions1.allow = "FALSE"&lt;BR /&gt;usb.classRestrictions1.classID = "0x08"&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 05:21:15 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Workstation-Pro/Managing-passthru-for-USB-to-workstation-desktop/m-p/2982259#M182373</guid>
      <dc:creator>bluefirestorm</dc:creator>
      <dc:date>2023-08-15T05:21:15Z</dc:date>
    </item>
  </channel>
</rss>

