License Connection Network Card Setup
 
License Connection Error to Network Card

Sometimes when computers have more than one network card Pro/ENGINEER will have a licensing error. Pro/ENGINEER will try to find the MAC address or network card id that the license is tied too. Wirless network cards are usually the primary network card on a machine, therefore a reorder of networks cards has to performed in the registry.

Wrong HOST_ID displays when W2000 machine is not physically connected to the network. Ptcstatus shows license server up with available licenses before Pro/ENGINEER is launched. Pro/ENGINEER results with a licensing error. Ptcstatus displays as COUNTED after attempt to run Pro/ENGINEER.

Ptclmgrd.log shows wrong hostid. A closer look at the registry shows that when machine is booted off the network that the Network Cards in the registry (HKLM -> SOFTWARE -> MICROSOFT -> WINDOWS NT -> CURRENT VERSION -> NETWORK CARDS) are not in the correct order. When connected to the network the order is correct with the network card that the FLEXlm license was generated for in the first folder. When disconnected from the network the network card folders must be put in the correct order.

This issue is related to the 'media sensing' feature of Windows 2000. Disabling the 'media sensing' resolves the issue.

 
Resolution

  1. Boot machine while disconnected from the network.
  2. #START #RUN and type regedit then #OK
  3. Follow the path HKEY_LOCAL_MACHINE -> SOFTWARE -> MICROSOFT -> WINDOWS NT -> CURRENT VERSION -> NETWORK CARDS and Rename the Network folder that contains the desired Network card as '1'.
  4. Reboot machine. Execute ipconfig /all from a DOS prompt. The same HOST_ID should now appear when connected to the network and disconnected from the network.

OR

  1. Use Registry Editor (Regedit or Regedt32.exe) to view the following key in the registry: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters

    Add the following registry value:
    Value Name: DisableDHCPMediaSense
    Data Type:REG_DWORD -Boolean
    Value Data Range: 0, 1 (False, True) Default: 0 (False) - Set to 1

    Description: This parameter controls DHCP Media Sense behavior. If you set this value data to 1, DHCP, and even non-DHCP, clients ignore Media Sense events from the interface. By default, Media Sense events triggerthe DHCP client to take an action, such as attempting to obtain a lease (when a connect event occurs), or invalidating the interface and routes (when a disconnect event occurs).

  2. Restart your computer.