VMware Workstation

 View Only
Expand all | Collapse all

All USB devices are greyed out

MattLedz186

MattLedz186May 04, 2022 02:02 AM

mc0123

mc0123Aug 16, 2022 01:58 AM

  • 1.  All USB devices are greyed out

    Posted Nov 15, 2021 10:37 AM

    All USB Devices are greyed out.

    VMWare Tools installed, both on host and guest.

    VMWare Wrkstation Player: 16.2.1

    VMWare Tools: 11.3.5

    Host OS: Windows 10 21H1 x64

    Guest OS: Windows 7 SP1 x86

    VMWare USB Arbitration Service is running, never stopped.

    Device that I want to redirect is named "Ethernet Gadget", connected to USB 2.0, USB controller in VM's setting also 2.0.

    VM just has been created in this version of VMWare Workstation Player.

     

    What could be the root of the problem?

    What additional logs could help to resolve the problem?

    zenficus_2-1636972399357.png

     

    zenficus_1-1636972356731.png

     

     



  • 2.  RE: All USB devices are greyed out

    Posted Nov 15, 2021 11:39 AM

    Is this happening for all Guests or just this one ?

     

    But suggest confirming, under the Settings - Hardware tab for the Guest [Win 7] in question that there is a 'USB Controller' entry present on the list of Devices.



  • 3.  RE: All USB devices are greyed out

    Posted Nov 15, 2021 01:06 PM

    >But suggest confirming, under the Settings - Hardware tab for the Guest [Win 7] in question that there is a 'USB Controller' entry present on the list of Devices.

    Yes, I haven't touched it at all, didn't removed and added again, it's there, I can choose 1.1, 2.0 & 3.1 versions of USB.

     

    >Is this happening for all Guests or just this one ?

    That was a very good question!

    I moved this VM to laptop and tried to launch it there - no luck, same problem.

    But, on the laptop I've had previous VM, created in another version of Workstation 16. I can't say it's version because I've upgraded application version to the same that I'm using on desktop.

    So, USB redirection works in other VM without any problems! And that's weird.

    Same settings for USB controller.

    The only difference I've noticed: "Version" field in VM's description.

    Old & functional one has "Workstation 16.x virtual machine", when new one has "Workstation 16.2.x virtual machine".

    Anyways, it's just giving us hint, but not solves the initial problem: non-functional USB redirect on new VM. Of course, I could download older version of Workstation 16, but to check if it's working - I should install OS completely, update it (because several drivers from VMWare Tools are signed with SHA-2 which is not supported natively by Win7 SP1), install VMWare Tools and only then - check if it works. Looks to me like a useless effort, but I could be wrong.



  • 4.  RE: All USB devices are greyed out

    Posted Nov 15, 2021 03:23 PM

    If I understand it correctly, this is only occurring on this particular Guest and not any of the other ones you have.  And, that when this Win 7 Guest is moved to another machine (laptop) the USB devices are also greyed out.  

    This would then imply that the issue is with this particular Guest.  May I then suggest a couple of things:

    • Create a new VM with Win7 and see if this is the same.
    • take a look at the .vmx files for this Guest and compare it with a VM that is working, ideally another Win 7.

    It's not entirely clear from the description as to whether this has only recently occurred or always been the case, or whether this is a newly created VM.

    However, with regards to whether it's related to the Workstations Player version . . . as an exercise I dusted off a copy of Win 7 Pro SP1, and created a VM on Workstation Player 16.2.1 and was able to present a USB drive, both with, and without the Tools installed on the Guest OS.



  • 5.  RE: All USB devices are greyed out

    Posted Nov 15, 2021 03:27 PM

    . .  . well done, that good news.



  • 6.  RE: All USB devices are greyed out

    Posted Nov 15, 2021 05:36 PM

    Did you used "Easy Setup" feature? As far as I know, it's taking responsibility of configuring Windows during installation with paramerets that you're setting. The issue could happen during this automatic configuration. From the other side: issue is not in Windows setup or OS config, it's in VM config, so maybe Easy Setup is not is not affecting VM's config file in a way of adding above mentioned line.

    Also could be helpful: do you have this line in *.vmx config file? Maybe the value has been set to "TRUE" on your side.

    Anyways, it's an undocumented configuration parameter that couldn't be changed in GUI. Googling this parameter gave me nothing. It is not mentioned in VMWare Docs. There is no way of knowing what is blocking USB redirection in case you don't have other fully functioning VM. So, is there a way to report issue to knowledge base or something similar?



  • 7.  RE: All USB devices are greyed out
    Best Answer

    Posted Nov 15, 2021 03:06 PM

    I found the solution!

    Thanks  for idea to check behavior of other VMs, and good that I'e had one.

    I've compared configuration files for two VMs mentioned before: created in older version of VMWare Workstation and newest one (at the moment 16.2.1). There were some differences caused by a way of creating VM (I suspect that I've created old one without using VMWare's Easy Install), but that's not the case, I assume.

    I've found one very interesting line in "*.vmx" configuration file:

    usb.restrictions.defaultAllow = "FALSE"

    It's very interesting because looks like it has been added automatically in the VM creation process, and it is NOT configurable from the GUI. I am considering this as a major flaw, but don't know how to report that problem to VMWare bug-tracking team. Also, there's not enough documentation about configuring VMs directly in "*.vmx" files, all of the docs I've seen so far are explaining configuration in GUI only.

    After deleting this line from VM's configuration file all listed USB devices became able to be connected to VM. Problem solved.

     

    tl;dr

    Open VM config file (with ".vmx" extension) with a text editor, find line mentioned above and delete it completely. Do this when VM is powered off.



  • 8.  RE: All USB devices are greyed out

    Posted Nov 16, 2021 05:34 AM

    I just upgraded to 16.2.1 build-18811642 and created a new virtual machine and had the same exact USB issue as you. I've been trying stuff from different forums and confirming my settings and nothing worked

    I changed from:

    usb.restrictions.defaultAllow = "FALSE"

    To:

    usb.restrictions.defaultAllow = "TRUE"

     and this worked for me. Thank you for the advice.



  • 9.  RE: All USB devices are greyed out

    Posted Jan 22, 2022 07:05 PM
      |   view attached

    I have the same problem too. I just updated VMware Workstation Pro to 16.2.2 build-19200509. I created a new openSUSE Linux VM and the option to connect a USB flash drive was greyed out.

    Your solution by editing the "VMware virtual machine configuration (.vmx)" file works.
    However, VMware needs to fix this so we don't have to manually edit the configuration file.



  • 10.  RE: All USB devices are greyed out

    Posted Oct 13, 2022 09:51 AM

    Cool! It's works! Thank you so much!



  • 11.  RE: All USB devices are greyed out

    Posted Oct 13, 2022 10:02 AM
     

    changed from:
    usb.restrictions.defaultAllow = "FALSE"
    To:
    usb.restrictions.defaultAllow = "TRUE"

    Works greate!



  • 12.  RE: All USB devices are greyed out

    Posted Jan 02, 2023 04:02 PM

    For those with encryption, you have to remove encryption so you can edit your .vmx file, then you can re-add it.

    What a PITA.

    Wow, Why would the default be to remove access to USB devices?!!, This is VMWare Workstation, which is run on a desktop that has ... you know ... USB devices.

    I just wasted 3 hours troubleshooting this.

    Why do i pay for this software again?!

     



  • 13.  RE: All USB devices are greyed out

    Posted Jan 03, 2023 03:21 PM

    Same issue happening as of 2023 (VMware Workstation Pro v17).



  • 14.  RE: All USB devices are greyed out

    Broadcom Employee
    Posted Jan 12, 2023 07:22 AM

    As you faced this issue in 17.0 build also, can you please share your host guest details. 

    Specifically if possible please attach your vmx file, We need to see if there anything else interesting there. 



  • 15.  RE: All USB devices are greyed out

    Posted Jan 12, 2022 07:03 PM

    Removing this line resolved the issue for me as well (Workstation 16.2.1 on Windows 11).



  • 16.  RE: All USB devices are greyed out

    Posted Mar 04, 2022 11:46 AM

    Hi

    I have the same problem, however the fix is not working for me, since my vm is encrypted so the config file too. 

    Is there any way to still edit the config file?



  • 17.  RE: All USB devices are greyed out

    Posted Mar 07, 2022 07:51 PM

    In what folder were you looking for the config file? 

    At first I was looking in the VMWare program directory and the only file with vmx anywhere was a .exe file.

    Where I found was under the following path C:\Users\*****\Documents\Virtual Machines\(whatever you have named your virtual machine)

    This is where the .vmx file with the editable line - usb.restrictions.defaultAllow = "FALSE" - was located

    My virtual machine is named Windows 8.x x64 (yes, very original) so the file is named - Windows 8.x x64.vmx



  • 18.  RE: All USB devices are greyed out

    Posted Mar 22, 2022 01:20 PM

    THANK YOU, Zenficus! I have been looking for this solution for a long time. That was exactly what I needed. 



  • 19.  RE: All USB devices are greyed out

    Posted May 04, 2022 02:02 AM


  • 20.  RE: All USB devices are greyed out

    Posted May 31, 2022 08:54 PM

    On 6/1/2022, I just installed the latest version of Workstation Pro and Player, both have USB devices greyed out. Where are the VMware's developers? Why does VMware not acknowledge this issue and not fixing it? It is so hard to find good technical support from the vendors.

    Thanks for getting us the solution.

     



  • 21.  RE: All USB devices are greyed out

    Posted Jun 02, 2022 08:38 AM

    Yes still broken for me also yesterday, after months of waiting for fixes.

    Crap software. Going to move to dual boot again.



  • 22.  RE: All USB devices are greyed out

    Posted Jun 02, 2022 08:40 AM

    And various other issues with window resizing, USB drives connected to it are super slow and freezes, only dx10.2, wtf.



  • 23.  RE: All USB devices are greyed out

    Posted Aug 16, 2022 01:58 AM

    You saved the day!!!!



  • 24.  RE: All USB devices are greyed out

    Posted Aug 19, 2022 02:45 PM

    Had this issue too.  Windows 11 host.  Debian 11 guest.  VMware Workstation Player v16.2.4 Used the quick vm setup.  USB devices plugged into the host were visible but greyed out.  Could not connect to them.  Tried removing the USB controller and adding it back in the GUI vm settings but that did not work.  Changing that line in the vmx file to "TRUE" solved my problem.  Thank you for sharing this!



  • 25.  RE: All USB devices are greyed out

    Posted Aug 20, 2022 06:50 AM

    Gotta add this to my notes. Thanks for the detailed post. 



  • 26.  RE: All USB devices are greyed out

    Posted Oct 16, 2023 01:03 AM

    Also experienced the problem with a Debian 12 guest VMware® Workstation 16 Player 16.2.5 build-20904516.

    Thanks zenficus.



  • 27.  RE: All USB devices are greyed out

    Posted Apr 24, 2025 09:40 AM

    I have been working on this issue for about three days, and finally, this fixed it. Big thanks! :)




  • 28.  RE: All USB devices are greyed out

    Posted Dec 29, 2021 12:19 PM

    same thing.. New Ubuntu guest VM with 16.2.1 cannot connect any removal USB device. VMWARE PLS FIX



  • 29.  RE: All USB devices are greyed out

    Broadcom Employee
    Posted Jan 14, 2023 06:39 AM

    We are working on it, and this will be fixed in Workstation next release. 

    Thanks,

    Gaurav



  • 30.  RE: All USB devices are greyed out

    Posted May 05, 2023 11:54 AM

    This issue affected me too on VMWare Workstation 16.2.5 build-20904516, with guest OS Fedora 36 & 38. When the .VMX file was manually edited it worked OK. 

     - Has this now been fixed?



  • 31.  RE: All USB devices are greyed out

    Broadcom Employee


  • 32.  RE: All USB devices are greyed out

    Posted Aug 25, 2023 07:00 PM

    Appears to stil not be fixed. I have no redirect option, can't pass my headset or webcam in / out the vm. Workstation 17.02 on arch linux

    . usb.restrictions.defaultAllow = "TRUE" did not exist in .vmx file. I added it, but still no change. Windows 11 VM, with latest Vmware tools installed as well.



  • 33.  RE: All USB devices are greyed out

    Posted Aug 29, 2023 03:08 PM

    I am still having issues with this, one of the three Linux guests I installed is not grayed out (MX Linux) and works as intended. A Windows 11 guest works mounting the same usb volume no issues. The Ubuntu LTS is grayed out and I removed the usb.restrictions.defaultAllow = "TRUE" from mx file and restarted VMware.

    Not sure of how to fix this.



  • 34.  RE: All USB devices are greyed out

    Posted Sep 02, 2023 02:08 PM

    Try explicitly setting this thing in configuration, not removing it.

    Also, this was relevent for Workstation 16, not 17. If you're using 17, some of newer version - try to play around with this setting. I mean, instead of 

    usb.restrictions.defaultAllow = "TRUE"

    try to remove quotes completely

    usb.restrictions.defaultAllow = TRUE

    or to replace them with apostrophes 

    usb.restrictions.defaultAllow = 'TRUE'

    We never knew how this feature works because it was never (openly) documented, so the only way to figure that out - is just to experiment with it.



  • 35.  RE: All USB devices are greyed out

    Broadcom Employee
    Posted Sep 04, 2023 10:08 AM

    Please note this issue is fixed in 17.0.1 onwards, you shouldn't see this issue because of below setting in vmx default getting added:

    > usb.restrictions.defaultAllow = "FALSE"

    In case you are seeing this issue, it might be because of  something else. 

    Thanks,

    Gaurav



  • 36.  RE: All USB devices are greyed out

    Posted Sep 07, 2023 05:10 AM

    I just installed Windows 11 on 17.0.1 and connect options are still greyed out. I checked the VMX file and verified that there isn't an entry for usb.restrictions.defaultAllow. I've tried to add it and set it to true in various ways to no avail. Are there any other workarounds here? 



  • 37.  RE: All USB devices are greyed out

    Posted Sep 08, 2023 08:01 PM

    Still no go, clean install of a linux ARCH, Installed VMWorkstation, Built a Windows 10 VM. No usb sharing to be found.

    Made no difference either way with true or false setting as others are trying. For now I went back to QEMU / Libvirt till I can figure this out.



  • 38.  RE: All USB devices are greyed out

    Broadcom Employee
    Posted Sep 09, 2023 02:39 AM

    Can we please get the support bundle for Linux as host and Windows as host where WS pro is installed whoever is facing this issue? 

    For windows, can you please confirm if VMUSBArbService service  (VMware USB Arbitration Service) is up and running? 

    Thanks,

    Gaurav

     



  • 39.  RE: All USB devices are greyed out

    Posted Nov 30, 2023 04:52 PM

    I never had this problem, but I have it now after upgrading to 17.5.0 build-22583795 (Windows 10 host, Windows Server 2022 guest). Commenting out the above mentioned line fixes it.

    Edit: I've noticed that the issue was also present in 17.0.2 build-21581411 (Windows 10 host, Windows Server 2022 guest).