USB-Passthrough with License-Dongle on VMWare Workstation not working












1














Problem:

I received a USB-Dongle for licensing a software product. My goal is to use the software in my virtual machine on VMWare Workstation. (Because i need to access the API of the software in my development machine)

Sadly i'm unable to connect the dongle to my virtual machine. My VMWare Workstation menu lists the device under "VM > Removable Devices" but when i try to connect the device, it shows the following error:




The connection for the USB device xxx was unsuccessful.

The device is currently in use.






What i did until now:

I installed the custom drivers that came with the dongle on my host and my guest operating system. The dongle's red led then started flashing, indicating that the device is operational now (sadly only for the host). I tried different things like




  • Only installing the driver on the guest operating system (I thought then it might not be in use at the time i'm trying to connect it to the virtual machine. But then it showed an "Driver error" when trying to connect the device)

  • Deactivating the device in the Device-Manager (Didn't work either, the device's led stopped flashing, but VMWare is still telling me that the device is still in use)

  • Killed all processes that obviously relate to the device (But i cannot assure that the ones i killed are enough)

  • I searched for the option to "safely remove" the device, but couldn't find anything.

  • I tried plugging the device in, before AND after i started the virtual machine, no differences.

  • I found a compatibility list (sadly for ESX/ESXi, not Workstation) from VMWare that shows that an earlier version of the dongle (3.21) is at least compatible with ESX/ESXi, so it might not be that unlikely that mine should work too. But couldn't find a similar list for workstation.




Sadly i do not have an idea how to get the device through to the VM. Do you know if there is a possible way to achieve that, or should i contact the vendor of the device with this problem? (Which i'd preferably like to avoid)





Some additional information about versions and stuff:




  • VMWare Workstation 9.0.0 build-812388

  • Host OS: Windows 7 Professional Service Pack 1, 64-bit

  • Guest OS: Windows Server 2012 R2 Standard, 64-bit

  • Dongle: Aladdin Knowledge HASP HL 3.25

  • Dongle Driver installed: Sentinel HASP/LDK v7.32 (This version was shipped with the device, but i also tried installing the newest version available (7.41) - without any effect)


If you need any further information that would help answering this question, feel free to comment!










share|improve this question
























  • Did you plug the device in after you booted into the VMware machine?
    – NetworkKingPin
    May 13 '16 at 9:47












  • @NetworkKingPin At first yes, but i also restarted the machine and the workstation after i plugged the device in.
    – Dr. Coconut
    May 13 '16 at 9:49










  • Alright because from my Experience working with VMware it Windows will keep the device on the main machine unless you unplug it and plug it in while you are in the Virtual machine.
    – NetworkKingPin
    May 13 '16 at 10:08










  • As I understand it, the VMWare USB "passthrough" is not a real passthrough, although it may depend on the VMWare product / version. I seem to recall it provides virtual USB 2 ports for compatibility reasons, rather than providing the USB ports provided by the host. It may well be that the mapping doesn't work well in your case; the behaviour while the driver is installed on both host and guest is supicious. Dongles tend to try to deploy methods beyond mainstream to make it difficult to copy them or provide their output to several machines.
    – Run CMD
    May 13 '16 at 10:43
















1














Problem:

I received a USB-Dongle for licensing a software product. My goal is to use the software in my virtual machine on VMWare Workstation. (Because i need to access the API of the software in my development machine)

Sadly i'm unable to connect the dongle to my virtual machine. My VMWare Workstation menu lists the device under "VM > Removable Devices" but when i try to connect the device, it shows the following error:




The connection for the USB device xxx was unsuccessful.

The device is currently in use.






What i did until now:

I installed the custom drivers that came with the dongle on my host and my guest operating system. The dongle's red led then started flashing, indicating that the device is operational now (sadly only for the host). I tried different things like




  • Only installing the driver on the guest operating system (I thought then it might not be in use at the time i'm trying to connect it to the virtual machine. But then it showed an "Driver error" when trying to connect the device)

  • Deactivating the device in the Device-Manager (Didn't work either, the device's led stopped flashing, but VMWare is still telling me that the device is still in use)

  • Killed all processes that obviously relate to the device (But i cannot assure that the ones i killed are enough)

  • I searched for the option to "safely remove" the device, but couldn't find anything.

  • I tried plugging the device in, before AND after i started the virtual machine, no differences.

  • I found a compatibility list (sadly for ESX/ESXi, not Workstation) from VMWare that shows that an earlier version of the dongle (3.21) is at least compatible with ESX/ESXi, so it might not be that unlikely that mine should work too. But couldn't find a similar list for workstation.




Sadly i do not have an idea how to get the device through to the VM. Do you know if there is a possible way to achieve that, or should i contact the vendor of the device with this problem? (Which i'd preferably like to avoid)





Some additional information about versions and stuff:




  • VMWare Workstation 9.0.0 build-812388

  • Host OS: Windows 7 Professional Service Pack 1, 64-bit

  • Guest OS: Windows Server 2012 R2 Standard, 64-bit

  • Dongle: Aladdin Knowledge HASP HL 3.25

  • Dongle Driver installed: Sentinel HASP/LDK v7.32 (This version was shipped with the device, but i also tried installing the newest version available (7.41) - without any effect)


If you need any further information that would help answering this question, feel free to comment!










share|improve this question
























  • Did you plug the device in after you booted into the VMware machine?
    – NetworkKingPin
    May 13 '16 at 9:47












  • @NetworkKingPin At first yes, but i also restarted the machine and the workstation after i plugged the device in.
    – Dr. Coconut
    May 13 '16 at 9:49










  • Alright because from my Experience working with VMware it Windows will keep the device on the main machine unless you unplug it and plug it in while you are in the Virtual machine.
    – NetworkKingPin
    May 13 '16 at 10:08










  • As I understand it, the VMWare USB "passthrough" is not a real passthrough, although it may depend on the VMWare product / version. I seem to recall it provides virtual USB 2 ports for compatibility reasons, rather than providing the USB ports provided by the host. It may well be that the mapping doesn't work well in your case; the behaviour while the driver is installed on both host and guest is supicious. Dongles tend to try to deploy methods beyond mainstream to make it difficult to copy them or provide their output to several machines.
    – Run CMD
    May 13 '16 at 10:43














1












1








1







Problem:

I received a USB-Dongle for licensing a software product. My goal is to use the software in my virtual machine on VMWare Workstation. (Because i need to access the API of the software in my development machine)

Sadly i'm unable to connect the dongle to my virtual machine. My VMWare Workstation menu lists the device under "VM > Removable Devices" but when i try to connect the device, it shows the following error:




The connection for the USB device xxx was unsuccessful.

The device is currently in use.






What i did until now:

I installed the custom drivers that came with the dongle on my host and my guest operating system. The dongle's red led then started flashing, indicating that the device is operational now (sadly only for the host). I tried different things like




  • Only installing the driver on the guest operating system (I thought then it might not be in use at the time i'm trying to connect it to the virtual machine. But then it showed an "Driver error" when trying to connect the device)

  • Deactivating the device in the Device-Manager (Didn't work either, the device's led stopped flashing, but VMWare is still telling me that the device is still in use)

  • Killed all processes that obviously relate to the device (But i cannot assure that the ones i killed are enough)

  • I searched for the option to "safely remove" the device, but couldn't find anything.

  • I tried plugging the device in, before AND after i started the virtual machine, no differences.

  • I found a compatibility list (sadly for ESX/ESXi, not Workstation) from VMWare that shows that an earlier version of the dongle (3.21) is at least compatible with ESX/ESXi, so it might not be that unlikely that mine should work too. But couldn't find a similar list for workstation.




Sadly i do not have an idea how to get the device through to the VM. Do you know if there is a possible way to achieve that, or should i contact the vendor of the device with this problem? (Which i'd preferably like to avoid)





Some additional information about versions and stuff:




  • VMWare Workstation 9.0.0 build-812388

  • Host OS: Windows 7 Professional Service Pack 1, 64-bit

  • Guest OS: Windows Server 2012 R2 Standard, 64-bit

  • Dongle: Aladdin Knowledge HASP HL 3.25

  • Dongle Driver installed: Sentinel HASP/LDK v7.32 (This version was shipped with the device, but i also tried installing the newest version available (7.41) - without any effect)


If you need any further information that would help answering this question, feel free to comment!










share|improve this question















Problem:

I received a USB-Dongle for licensing a software product. My goal is to use the software in my virtual machine on VMWare Workstation. (Because i need to access the API of the software in my development machine)

Sadly i'm unable to connect the dongle to my virtual machine. My VMWare Workstation menu lists the device under "VM > Removable Devices" but when i try to connect the device, it shows the following error:




The connection for the USB device xxx was unsuccessful.

The device is currently in use.






What i did until now:

I installed the custom drivers that came with the dongle on my host and my guest operating system. The dongle's red led then started flashing, indicating that the device is operational now (sadly only for the host). I tried different things like




  • Only installing the driver on the guest operating system (I thought then it might not be in use at the time i'm trying to connect it to the virtual machine. But then it showed an "Driver error" when trying to connect the device)

  • Deactivating the device in the Device-Manager (Didn't work either, the device's led stopped flashing, but VMWare is still telling me that the device is still in use)

  • Killed all processes that obviously relate to the device (But i cannot assure that the ones i killed are enough)

  • I searched for the option to "safely remove" the device, but couldn't find anything.

  • I tried plugging the device in, before AND after i started the virtual machine, no differences.

  • I found a compatibility list (sadly for ESX/ESXi, not Workstation) from VMWare that shows that an earlier version of the dongle (3.21) is at least compatible with ESX/ESXi, so it might not be that unlikely that mine should work too. But couldn't find a similar list for workstation.




Sadly i do not have an idea how to get the device through to the VM. Do you know if there is a possible way to achieve that, or should i contact the vendor of the device with this problem? (Which i'd preferably like to avoid)





Some additional information about versions and stuff:




  • VMWare Workstation 9.0.0 build-812388

  • Host OS: Windows 7 Professional Service Pack 1, 64-bit

  • Guest OS: Windows Server 2012 R2 Standard, 64-bit

  • Dongle: Aladdin Knowledge HASP HL 3.25

  • Dongle Driver installed: Sentinel HASP/LDK v7.32 (This version was shipped with the device, but i also tried installing the newest version available (7.41) - without any effect)


If you need any further information that would help answering this question, feel free to comment!







usb vmware-workstation dongle






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 30 '16 at 10:09









Hennes

58.8k792141




58.8k792141










asked May 13 '16 at 9:43









Dr. Coconut

10614




10614












  • Did you plug the device in after you booted into the VMware machine?
    – NetworkKingPin
    May 13 '16 at 9:47












  • @NetworkKingPin At first yes, but i also restarted the machine and the workstation after i plugged the device in.
    – Dr. Coconut
    May 13 '16 at 9:49










  • Alright because from my Experience working with VMware it Windows will keep the device on the main machine unless you unplug it and plug it in while you are in the Virtual machine.
    – NetworkKingPin
    May 13 '16 at 10:08










  • As I understand it, the VMWare USB "passthrough" is not a real passthrough, although it may depend on the VMWare product / version. I seem to recall it provides virtual USB 2 ports for compatibility reasons, rather than providing the USB ports provided by the host. It may well be that the mapping doesn't work well in your case; the behaviour while the driver is installed on both host and guest is supicious. Dongles tend to try to deploy methods beyond mainstream to make it difficult to copy them or provide their output to several machines.
    – Run CMD
    May 13 '16 at 10:43


















  • Did you plug the device in after you booted into the VMware machine?
    – NetworkKingPin
    May 13 '16 at 9:47












  • @NetworkKingPin At first yes, but i also restarted the machine and the workstation after i plugged the device in.
    – Dr. Coconut
    May 13 '16 at 9:49










  • Alright because from my Experience working with VMware it Windows will keep the device on the main machine unless you unplug it and plug it in while you are in the Virtual machine.
    – NetworkKingPin
    May 13 '16 at 10:08










  • As I understand it, the VMWare USB "passthrough" is not a real passthrough, although it may depend on the VMWare product / version. I seem to recall it provides virtual USB 2 ports for compatibility reasons, rather than providing the USB ports provided by the host. It may well be that the mapping doesn't work well in your case; the behaviour while the driver is installed on both host and guest is supicious. Dongles tend to try to deploy methods beyond mainstream to make it difficult to copy them or provide their output to several machines.
    – Run CMD
    May 13 '16 at 10:43
















Did you plug the device in after you booted into the VMware machine?
– NetworkKingPin
May 13 '16 at 9:47






Did you plug the device in after you booted into the VMware machine?
– NetworkKingPin
May 13 '16 at 9:47














@NetworkKingPin At first yes, but i also restarted the machine and the workstation after i plugged the device in.
– Dr. Coconut
May 13 '16 at 9:49




@NetworkKingPin At first yes, but i also restarted the machine and the workstation after i plugged the device in.
– Dr. Coconut
May 13 '16 at 9:49












Alright because from my Experience working with VMware it Windows will keep the device on the main machine unless you unplug it and plug it in while you are in the Virtual machine.
– NetworkKingPin
May 13 '16 at 10:08




Alright because from my Experience working with VMware it Windows will keep the device on the main machine unless you unplug it and plug it in while you are in the Virtual machine.
– NetworkKingPin
May 13 '16 at 10:08












As I understand it, the VMWare USB "passthrough" is not a real passthrough, although it may depend on the VMWare product / version. I seem to recall it provides virtual USB 2 ports for compatibility reasons, rather than providing the USB ports provided by the host. It may well be that the mapping doesn't work well in your case; the behaviour while the driver is installed on both host and guest is supicious. Dongles tend to try to deploy methods beyond mainstream to make it difficult to copy them or provide their output to several machines.
– Run CMD
May 13 '16 at 10:43




As I understand it, the VMWare USB "passthrough" is not a real passthrough, although it may depend on the VMWare product / version. I seem to recall it provides virtual USB 2 ports for compatibility reasons, rather than providing the USB ports provided by the host. It may well be that the mapping doesn't work well in your case; the behaviour while the driver is installed on both host and guest is supicious. Dongles tend to try to deploy methods beyond mainstream to make it difficult to copy them or provide their output to several machines.
– Run CMD
May 13 '16 at 10:43










1 Answer
1






active

oldest

votes


















0














Although the question is a few months old, this might help, or help someone else.



Try a different approach. Instead of trying to attach the USB dongle, which it sounds like you can't get to work, use pass-through on the USB controller itself (or add a small cheap USB card and then pass through the PCI device for the card), so your VM gets exclusive unmodified control of the USB hub/controller itself. That way your VM gets an unmodified view of any devices attached to it.



You won't be able to connect/disconnect the dongle from host as usual (because the hub itself is grabbed for that VM) but that's rarely if ever a problem because most PCs have multiple USB controllers, and adding another is very cheap, and you can manually move the device to a USB port that's not passed through. Should work for any USB device.






share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1076459%2fusb-passthrough-with-license-dongle-on-vmware-workstation-not-working%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Although the question is a few months old, this might help, or help someone else.



    Try a different approach. Instead of trying to attach the USB dongle, which it sounds like you can't get to work, use pass-through on the USB controller itself (or add a small cheap USB card and then pass through the PCI device for the card), so your VM gets exclusive unmodified control of the USB hub/controller itself. That way your VM gets an unmodified view of any devices attached to it.



    You won't be able to connect/disconnect the dongle from host as usual (because the hub itself is grabbed for that VM) but that's rarely if ever a problem because most PCs have multiple USB controllers, and adding another is very cheap, and you can manually move the device to a USB port that's not passed through. Should work for any USB device.






    share|improve this answer


























      0














      Although the question is a few months old, this might help, or help someone else.



      Try a different approach. Instead of trying to attach the USB dongle, which it sounds like you can't get to work, use pass-through on the USB controller itself (or add a small cheap USB card and then pass through the PCI device for the card), so your VM gets exclusive unmodified control of the USB hub/controller itself. That way your VM gets an unmodified view of any devices attached to it.



      You won't be able to connect/disconnect the dongle from host as usual (because the hub itself is grabbed for that VM) but that's rarely if ever a problem because most PCs have multiple USB controllers, and adding another is very cheap, and you can manually move the device to a USB port that's not passed through. Should work for any USB device.






      share|improve this answer
























        0












        0








        0






        Although the question is a few months old, this might help, or help someone else.



        Try a different approach. Instead of trying to attach the USB dongle, which it sounds like you can't get to work, use pass-through on the USB controller itself (or add a small cheap USB card and then pass through the PCI device for the card), so your VM gets exclusive unmodified control of the USB hub/controller itself. That way your VM gets an unmodified view of any devices attached to it.



        You won't be able to connect/disconnect the dongle from host as usual (because the hub itself is grabbed for that VM) but that's rarely if ever a problem because most PCs have multiple USB controllers, and adding another is very cheap, and you can manually move the device to a USB port that's not passed through. Should work for any USB device.






        share|improve this answer












        Although the question is a few months old, this might help, or help someone else.



        Try a different approach. Instead of trying to attach the USB dongle, which it sounds like you can't get to work, use pass-through on the USB controller itself (or add a small cheap USB card and then pass through the PCI device for the card), so your VM gets exclusive unmodified control of the USB hub/controller itself. That way your VM gets an unmodified view of any devices attached to it.



        You won't be able to connect/disconnect the dongle from host as usual (because the hub itself is grabbed for that VM) but that's rarely if ever a problem because most PCs have multiple USB controllers, and adding another is very cheap, and you can manually move the device to a USB port that's not passed through. Should work for any USB device.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Oct 28 '16 at 1:22









        Stilez

        6631819




        6631819






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1076459%2fusb-passthrough-with-license-dongle-on-vmware-workstation-not-working%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How do I know what Microsoft account the skydrive app is syncing to?

            Grease: Live!

            When does type information flow backwards in C++?