Knowledgebase

protection key not present on vmware fusion or parallels desktop on the MAC

What to do if the Aladdin HASP connector is connected but not recognized by the virtual machine

If you are using RADAR/EH on a MAC using VMware Fusion or Parallels Desktop and you have the error message

protection key not present (6)

please do the following. Make sure that the dongle is connected to a USB port, switch your virtual machine to windows mode so that you can see the VMware Fusion or Parallels Desktop menus on top.

Parallels Desktop

On Parallels Desktop you switch between full screen and window mode by pressing Alt+ENTER. If you can't move your mouse outside the guest operating system to the menu of Parallels Desktop press CTRL+ALT while moving the mouse to the top. It may be necessary to press CTRL+ALT twice to release the mouse to the MAC.

Now that you have access to the Parallels Desktop menus on the top choose the menu "Devices" then the sub-menu "USB" and click on "HASP x.xx" or "HASP HL x.xx"

You might see a message in windows "Hardware found" if it was not connected previously on this virtual machine.

To check if it is successfully connected choose again the menu "Devices" then the submenu "USB" and you will see that the option "HASP x.xx" is checked.

Otherwise if you get the following message "USB device you are trying to connect to the virtual machine is being used by another application. Close that application or unplug the device and plug it in again. Then try to connect the device again"

This means that the MAC is hooking the dongle and needs to release it to the virtual machine. Read below how to do this.
 

VMware Fusion

 

On VMware Fusion you press CTRL+Apple+ENTER to switch between full screen and window mode.

Now that you have access to the VMware Fusion menus on the top choose the menu "Virtual Machine" then sub menu "USB" and click on "Connect Aladdin Knowledge HASP x.xx"

You might see a message in windows "Hardware found" if it was not connected previously on this virtual machine.

To check if it is successfully connected, choose the "Virtual Machine" menu again, then the sub menu "USB" and you will see the option "Disconnect Aladdin Knowledge HASP x.xx".

If "Connect" is still visible instead of "Disconnect" then the MAC is hooking the dongle and needs to release it to the virtual machine.

 

Release the Aladdin HASP connector to the virtual machine

 
The aksusb daemon is most probably running on the MAC which hooks the dongle. In this case the red light in your USB dongle will be on before you have started a virtual machine. First ask the following question: Do I have any software running natively on the MAC protected by an Aladdin HASP connector?


If the answer is no, then it is safe to uninstall the daemon permanently from the MAC. To do so, minimize any application on the MAC and click once on the desktop so that you see the finders menu on the top. Choose the menu "Go" then the submenu "Go To Folder...". In the line type the path "/usr/libexec" and click on GO.

You can see the content of this folder. Look for a file called "aksusbd" and move it to the recycle bin.

If you are not sure if you want to delete it then copy it to another folder and then move it to the recycle bin.

This will require your password for the MAC.

Reboot the Mac to uninstall the Aladdin HASP daemon and thus prevent it from hooking the dongle.

 

If the answer is yes, i.e. if you need the daemon to run native MAC software with a dongle on the MAC there is no easy way to release the dongle for virtual machines as you will not be able to run both at the same time.

In the rare event that you need to keep the daemon on the MAC for your native MAC software protected by a dongle you must switch off the daemon before starting RADAR in a virtual machine and switch on again before starting your HASP protected MAC software.

 

To switch off the Aladdin USB daemon go to Applications, then Utilities and start the Activity Monitor.

Switch the filter in the drop down box to "All Processes" and sort the list alphabetically by clicking on "Process Name". Look for the line with the process name "aksusbd" and click on this line. On the top to the left, click on "Quit Process". Eventually this will need your password for the MAC.

Now you can connect the USB Dongle to your virtual machine until you reboot your MAC.

 

To switch on the Aladdin USB daemon minimize any application on the MAC and click once on the desktop so that you see the finders menu on the top. Choose the menu "Go" then the submenu "Go To Folder...".

In the line type the path "/usr/libexec" and click on GO. You can see the content of this folder.

Look for a file called "aksusbd" and double click on it. This will open a terminal. You can quit the Terminal. Now you can use your HASP protected MAC software again.

 


Entry from: 09.10.2008
This entry is located in category: Knowledge General

Search Knowledge Base

Please enter a searchword.