HASP driver on M1 Max Macbook w/Parallels Windows 11

Discussion in 'Parallels Desktop for M Series Mac' started by ARGAS, Dec 1, 2021.

  1. patryk.okon

    patryk.okon Bit Poster

    Messages:
    1
    Hi, I have the same problem. My software requires a Sentinel HASP usb key and it doesn't work
     
  2. HuiM1

    HuiM1 Bit Poster

    Messages:
    9
    I also confirmed the solution mentioned by VincentB8 works for other software (BrainAnalyzer) that needed the Sentinel HASP dongle to work. Thank you VincentB8!
    As Thomas36 said, don't forget to replace YourMacHostName.lan with your own Mac's hostname.
     
  3. Jovian30

    Jovian30 Bit Poster

    Messages:
    6
    Hi,

    I am using a different software that requires a Sentinel hardware key. I installed the Mac Sentinel driver 8.5 (Sentinel_Runtime.dmg) and tried the netsh command. I replaced YourMacHostName.lan with the IP address of the Mac host... well, which I believe is the host address.

    How do I figure the Mac hostname or address? What network settings do I have to use in Parallels?

    Sorry, for all these questions. Would love to get my software working on my MacBook.
     
  4. Jovian30

    Jovian30 Bit Poster

    Messages:
    6
    Hi. That's good news. How do you show the actual hostname of the Mac host? What is the actual solution from VincentBB. It seems that it has been removed from the thread?!
     
  5. HuiM1

    HuiM1 Bit Poster

    Messages:
    9
    To know your Mac hostname, open Terminal and you will see it right away. The letters between "@" and "~ %" is your Mac host name.
    Network setting in Parallels: just use the default one - shared network.
    There are a few caveats that you may want to know as well.
    1) You may need to set the portproxy again each time you reinstall the runtime environment in your virtual windows 11.
    2) On the mac (the host), if you are using a commercial antivirus software that comes with a private firewall, remember to set an exception to let incoming TCP and UDP communication from your virtual windows 11 (you may need the ip address of your windows virtual machine to do this). Otherwise, Analyzer on your virtual windows 11 won't be able to detect the HASP key connected to your Mac.
    How to know the address? On your virtual windows 11, open a command prompt and type ipconfig and enter: your virtual windows 11 ip address = ipv4 address.
     
    Jovian30 likes this.
  6. HuiM1

    HuiM1 Bit Poster

    Messages:
    9
    To know your Mac hostname, open Terminal and you will see it right away. The letters between "@" and "~ %" is your Mac host name.
    Network setting in Parallels: just use the default one - shared network.
    There are a few caveats that you may want to know as well.
    1) You may need to set the portproxy again each time you reinstall the runtime environment in your virtual windows 11.
    2) On the mac (the host), if you are using a commercial antivirus software that comes with a private firewall, remember to set an exception to let incoming TCP and UDP communication from your virtual windows 11 (you may need the ip address of your windows virtual machine to do this). Otherwise, Analyzer on your virtual windows 11 won't be able to detect the HASP key connected to your Mac.
    How to know the address? On your virtual windows 11, open a command prompt and type ipconfig and enter: your virtual windows 11 ip address = ipv4 address.
     
  7. HuiM1

    HuiM1 Bit Poster

    Messages:
    9
    ~~~~~~~~~~~~~~~~~~~~~
    To know your Mac hostname, open Terminal and you will see it right away. The letters between "@" and "~ %" is your Mac host name.
    Network setting in Parallels: just use the default one - shared network.
    There are a few caveats that you may want to know as well.
    1) You may need to set the portproxy again each time you reinstall the runtime environment in your virtual windows 11.
    2) On the mac (the host), if you are using a commercial antivirus software that comes with a private firewall, remember to set an exception to let incoming TCP and UDP communication from your virtual windows 11 (you may need the ip address of your windows virtual machine to do this). Otherwise, Analyzer on your virtual windows 11 won't be able to detect the HASP key connected to your Mac.
    How to know the address? On your virtual windows 11, open a command prompt and type ipconfig and enter: your virtual windows 11 ip address = ipv4 address.
     
  8. HuiM1

    HuiM1 Bit Poster

    Messages:
    9
    I quoted again from VincentBB's solution:
    You have to install dongle drivers on MacOS. You must AVOID to redirect USB to the Windows VM.
    Then on the windows execute this command line with administrator rights :
    netsh interface portproxy add v4tov4 listenaddress=localhost listenport=1947 connectaddress=YourMacHostName.lan connectport=1947

    Please see also my post #47 in case you have any other questions.
     
  9. pasjac

    pasjac Bit Poster

    Messages:
    2
    Bonjour à tous,

    J'ai suivi vos procédure mais n'arrive pas à faire fonctionner ma clé et Windev du coup ne démarre pas, est ce que quelqu'un peut m'aider SVP.
    Cordialement,
    Pascal
     
  10. gabrieleb4

    gabrieleb4 Bit Poster

    Messages:
    1
    I can't see VincentBB solution post. can someone repost it. thanks
     
  11. Horacio

    Horacio Bit Poster

    Messages:
    3
    Hi HiuM1, is there a way, to CONFIRM in the Windows end, that the HASP dongle is properly being "mirrored" to Windows? I see it in localhost:1947, on the Mac end, but I don't see it on the windows end. When I type the command "netsh interface...." on cmd, there is no output or confirmation.
    Thanks in advance for all your help. I hope I can get this to work.
     
  12. HuiM1

    HuiM1 Bit Poster

    Messages:
    9
    Hi,
    There is no output for the command "netsh interface...." on cmd.
    But you could check on cmd by typing this: netsh interface portproxy show v4tov4
    it should show you something like this below:
    Address Port Address Port
    --------------- ---------- --------------- ----------
    localhost 1947 YourMacHostName.local 1947
     
  13. HuiM1

    HuiM1 Bit Poster

    Messages:
    9
    BTW,
    When you type this "http://localhost:1947/_int_/devices.html" in the browser on both mac and your virtual windows machines.
    you should see the dongle in mac but not in windows.
     
  14. ErkanM

    ErkanM Bit Poster

    Messages:
    1
    Hi,
    I understand windev program can overcome hasp issue. I've decided to give a chance to that method vincentBB has shared. When I searched the web for download the app I saw its licensing is one thousand dollar. Did you all pay for it or is there another way or trail version of it?
     
  15. TanB1

    TanB1 Bit Poster

    Messages:
    5
    hmm... I downloaded Sentinel_Runtime.dmg on my MacBook Air m1. Insert the dongle and went to "http://localhost:1947/_int_/devices.html". I only saw a Demoma - evaluation under sentinel key. Is that normal?
    ran the netsh and fail to open my app due to security key failed.
     
  16. HuiM1

    HuiM1 Bit Poster

    Messages:
    9
    Hello,

    You should be able to see your dongle in mac when you go to "http://localhost:1947/_int_/devices.html" but not on windows
    If you see only demoma, it means it didn't even been detected on mac an it is not possible for the virtual windows to see it through mac
     
  17. TanB1

    TanB1 Bit Poster

    Messages:
    5
    Hi Thanks for the fast response!
    I was checking on my Mac for "http://localhost:1947/_int_/devices.html". It did not detect my dongle in that case. Did I do something wrong? or my dongle is not compatible? I am using Superpro.
     
  18. HuiM1

    HuiM1 Bit Poster

    Messages:
    9
    Hi,
    I don't know if your software is compatible or not.... maybe you should ask the software company.
    However, a restart of your computer may help.
     
  19. pasjac

    pasjac Bit Poster

    Messages:
    2
    Bonjour,
    J'ai installé l'ensemble des fonctionnalité et mon dongle est bien actif et fonctionnel, mais j'ai des problèmes avec le logiciel WinDev qui plante régulièrement. est ce que quelqu'un a rencontré ce problème ?
    Dans l'attente de vous lire
    Cordialement,

    Good morning,
    I have installed all the features and my dongle is active and functional, but I have problems with the WinDev software that crashes regularly. has anyone encountered this problem?
    Looking forward to reading you
    Sincerely,

    **********************************************
    vTable invalide à l'adresse 0x313d000e
    Pile:
    0x313d000e
    0x3c355e50
    0xd8d1cac3
    0x02050478
    0x57606079
    ID(0)=0 ID(4)=0
    **********************************************
    Informations techniques
    Que s'est-il passé ?
    vTable invalide à l'adresse 0x313d000e
    Pile:
    0x313d000e
    0x3c355e50
    0xd8d1cac3
    0x02050478
    0x57606079
    ID(0)=0 ID(4)=0

    Code erreur : 0
    Niveau : pas d'erreur
    Module : WinDev64.exe (01F280051n - 28.0.183.3)
    *********************************
    Pascal
     
  20. LemonX

    LemonX Bit Poster

    Messages:
    3
    Can you please rec some video tutorial? I'm only basic user and not exactly understand how to solve the problem. THX regard Jiri
     

Share This Page