How to Install a Keil MDK User-Based License (UBL)

Microchip icon with a padlock and checkmark, representing an activated Keil MDK license

Development Tools — Pertech Knowledge Center

Quick Answer

A Keil MDK User-Based License (UBL) is a software license type from Arm/Keil that links the license to a user's Arm account instead of a specific computer's hardware ID. This allows the user to activate and utilize the same license across multiple personal workstations, enhancing flexibility. To install a Keil MDK UBL, users register their product serial number on the Arm UBL portal to generate an activation code, which is then entered into the MDK µVision software.

How to Install a Keil MDK User‑Based License (UBL)

A User‑Based License (UBL) is the license type Arm/Keil uses for MDK today. Instead of locking your license to one PC's hardware ID, UBL ties it to your Arm account — so once it's activated, you can use the same license on any computer you personally work from. Below is the simple, first‑time setup, followed by what to do when you already have one or more licenses installed and need to add another.

Part 1Installing Your First MDK UBL License

1 Install MDK µVision 5.37+ or MDK6 / VS Code 2 Find your Serial Number Certificate of Authenticity 3 Activate on the UBL Portal Arm account → generate code 4 Enter code in License Mgmt ✓ Licensed
  1. Install Keil MDK. Install µVision (version 5.37 or later) or the MDK6 extension for VS Code, if you haven't already.
  2. Locate your Serial Number. When you purchase MDK, Arm/Keil (or your distributor) provides a Certificate of Authenticity containing a product Serial Number and a link to the UBL activation portal.
  3. Log in to the UBL portal. Open the link from your certificate and sign in with your Arm account — or create one if this is your first purchase.
  4. Add your product. On the portal, choose Add a product and enter the Serial Number from your certificate to register it to your account.
  5. Generate an activation code. The portal will generate a unique activation code for that product — copy it.
  6. Enter the code in µVision. Open File → License Management, select the UBL tab, click Activate/Deactivate, and paste in your activation code.
  7. Done. The tool now shows as licensed. Because the license belongs to your Arm account rather than one specific PC, you can use the same activation code to activate MDK on any other computer you personally work from.
Tip: Keep your Arm account credentials safe — every license you activate, now and in the future, lives under that one account.

Part 2Installing an Additional License

Already have one or more MDK licenses activated and just purchased another seat or product? You don't need to remove or redo anything — just add the new one alongside what's already there.

You already have 1+ licenses active same Arm account 1 New Serial Number from new purchase 2 Same UBL Portal, Add a Product generate new code 3 Enter new code in License Mgmt ✓ Both active
  1. Get the new Serial Number. Your new purchase (an additional seat, or a different product/tool) comes with its own Certificate of Authenticity and Serial Number.
  2. Return to the same UBL portal. Log in with the same Arm account that already holds your existing license(s) — don't create a second account.
  3. Add the product again. Choose Add a product and enter the new Serial Number.
  4. Generate a new activation code for this newly added product.
  5. Enter it in µVision. Open File → License Management → UBL tab, click Activate/Deactivate, and paste in the new activation code.
  6. Result: your original license stays exactly as it was, and the new one now appears alongside it — both active under the same account, ready to use.
Note: Generating and activating a code requires an internet connection. If your target machine has no internet access at all, see Part 3: Proxy Activation below.

Part 3Proxy Activation (No Internet on the Target PC)

Some development or lab machines — an isolated test bench, a secure network, a CI build machine — never get direct internet access. Proxy activation lets you generate the license on a different, internet-connected PC, then carry it over to the offline one as a file.

1 Networked PC armlm activate --code ... --to-file transfer.armlm generates a transfer file 2 Copy the File Over USB drive, shared folder, or internal network 3 Offline PC armlm import --file transfer.armlm ✓ Licensed (7–365 days)
  1. On the networked PC, open a terminal in the product's bin folder and run armlm activate --code <activation_code> --as-user <your_username> --to-file <transfer_filename> (use --server <server_URL> --product <product_code> instead of --code if your organization activates through a License Server rather than individual codes).
  2. Optional — extend how long it lasts. By default the license is only valid for 7 days. Add --borrow-period <days> to the same command (any value from 7 up to 365) to make it last up to a full year before you need to repeat this process — handy for a lab bench or CI machine you don't want to touch every week.
  3. Copy the generated transfer file to the offline machine — a USB drive or an internal network share both work, since this step needs no internet access.
  4. On the offline PC, run armlm import --file <transfer_filename> to activate the license locally.
  5. Renewal is off by default. A proxy-activated license won't try to reach the network on its own. If the target machine does get occasional network access and you'd rather it try to auto-renew every 24 hours, add --enable-renewal to the import command — just note that each successful renewal resets validity back down to 7 days, overriding whatever --borrow-period you set.
  6. Repeat before it expires. Whether that's every 7 days (default) or up to 365 days (with --borrow-period), generate a fresh transfer file and import it again before the current one runs out.
Tip: Proxy activation is also useful for activating the same product for the same user across many machines at once — for example, provisioning a batch of CI build machines.
Based on Arm/Keil's official MDK Licensing documentation. Reference: Keil Licensing User's Guide, Arm User-Based Licensing Administration Guide, Arm Proxy Activation Guide.

What are the Frequently Asked Questions about Keil MDK UBL?

1 What is a User-Based License (UBL) for Keil MDK?

A User-Based License (UBL) is a specific type of license for Arm/Keil MDK development tools. This page provides a guide on how to install and get started with this particular licensing model.

2 What does this guide cover regarding Keil MDK UBL installation?

This page offers a technical installation guide detailing the steps required to install and begin using a Keil MDK User-Based License (UBL). It focuses on the process of getting the license operational.

3 Does this guide address offline activation for Keil MDK UBL?

The main topics for this page include "Offline license activation," indicating that the guide likely covers or is relevant to activating a Keil MDK UBL in environments without direct internet access.

upbtn
Skip to content