Keil Logo

LICENSE: µVISION Hangs With Enabled FlexNet

Information in this knowledgebase article applies to:

  • Keil MDK with FlexNet License


We use Keil MDK with a FlexNet License. But whenever I try to enable the Use Flex option in the License Management Dialog (even if there is no server address typed in) the software hangs indefinitely. After shutting down µVision it then also refuses to run again (hangs on splash screen).
After manually disabling the FlexNet usage again by setting:


in the TOOLS.INI file, µVision starts normally, but in lite mode.


There is some problem with the FlexNet tools and services on your PC. It is a PC related issue. So for other users with other computers using the same license this usually still works ok in this situation.


Please check, if one of the following options helps.

1) 7 day evaluation mode was used on that machine
In case, you had activated the 7 day evaluation mode before, try running the following command in the DOS command window:

C:\Keil\UV4\FlexNet\uninstallanchorservice.exe armlmd mdk_pro_eval

The Keil-path may needs adaption to your installation directory. Try staring µVision again with FlexNet enabled.

2) FlexNet license services are running
Please check on your machine, if FlexNet license services are running. You can in the Windows Start menu search field enter "services" and you should get the right thing to start. If there are some, stop and disable them and see, if µVision then starts with FlexNet enabled.

3) active "Trusted Storage Repository"
To check for this, see what the Process Monitor records on your machine: when µVision is started and hangs. You can prepare Process Monitor to limit what gets logged by setting up a filter to "include" only records from "Process Name" "contains" "UV4.exe". If there are records, that µVision accesses registry and or files similar to this:

HKLM\Software\WOW6432Node\Macrovision\FlexNet Publisher\Trusted Storage Repository\ 

rename/remove this entries from the registry/harddisk and see then what happens when starting µVision with FlexNet enabled.

4) Flex Server not available
When FlexNet works normally, but the server is really not available, e. g. because it is down or blocked due to firewall settings, it also takes up to 3 minutes until µVision times out while checking for the license on startup before it fully starts. This could be mistaken with the previous 3 scenarios.




The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Friday, November 13, 2020

Did this article provide the answer you needed?
Not Sure
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.