# Running in client mode : The number of valid offline licenses: 0

**URL:** <https://forum.katalon.com/t/running-in-client-mode-the-number-of-valid-offline-licenses-0/41963>\
**Category:** Integrations\
**Tags:** integrations, katalon-studio\
**Created:** [April 7, 2020, 12:59am UTC](https://forum.katalon.com/t/running-in-client-mode-the-number-of-valid-offline-licenses-0/41963 "2020-04-07T00:59:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![pgonzalez](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@pgonzalez](https://forum.katalon.com/u/pgonzalez)\
**Post date:** [April 7, 2020, 12:59am UTC](https://forum.katalon.com/t/running-in-client-mode-the-number-of-valid-offline-licenses-0/41963/1 "2020-04-07T00:59:13Z")

</div>

Hi, Im running this command in CMD: katalonc -noSplash -runMode=console -projectPath=“C:\Katalon-Projects\AT-CP\AT-CP.prj” -retry=0 -testSuitePath=“Test Suites/1. CP - Profile” -executionProfile=“QA” -browserType=“Chrome” -apiKey=“myapi”

And get this error:  
INFO: Katalon Version: 7.3.0  
INFO: Command-line arguments: -runMode=console -projectPath=C:\Katalon-Projects\AT-CP\AT-CP.prj -retry=0 -testSuitePath=Test Suites/1. CP - Profile -executionProfile=QA -browserType=Chrome -apiKey=\*\*\*\*\*\*  
INFO: User working dir: C:\Katalon\_Studio\_Engine\_Windows\_64-7.3.0  
INFO: Error log: C:/Users/\***/AppData/Local/Temp/session-a4f61fff/.metadata/.log  
INFO: Katalon TestOps server URL: [https://analytics.katalon.com](https://analytics.katalon.com)  
INFO: Katalon Store server URL: [https://store.katalon.com](https://store.katalon.com)  
INFO: User home: C:\Users\***  
INFO: Java vendor: Oracle Corporation  
INFO: Java version: 1.8.0\_181  
INFO: Local OS: Windows 10 64bit  
INFO: CPU load: 28%  
INFO: Total memory: 8083 MB  
INFO: Free memory: 1263 MB  
INFO: Machine ID: \*\*\*

Activating…  
Start activating offline…  
Search for valid offline licenses in folder: C:\Users\*\*\*.katalon\license  
The number of valid offline licenses: 0  
Offline activation failed.  
Start activating online…  
Invalid license.  
Your trial has expired. Please subscribe to continue using Katalon Runtime Engine.  
Online activation for console mode failed.  
Activation failed. Please make sure you are using a valid license.  
All launchers terminated

---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [April 7, 2020, 2:33am UTC](https://forum.katalon.com/t/running-in-client-mode-the-number-of-valid-offline-licenses-0/41963/2 "2020-04-07T02:33:16Z")

</div>

> [@pgonzalez](#):
>
> Your trial has expired. Please subscribe to continue using Katalon Runtime Engine.

You need to buy a KRE subscription.

---

<div class="post-metadata">

**Author:** ![pgonzalez](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@pgonzalez](https://forum.katalon.com/u/pgonzalez)\
**Post date:** [April 7, 2020, 6:42am UTC](https://forum.katalon.com/t/running-in-client-mode-the-number-of-valid-offline-licenses-0/41963/3 "2020-04-07T06:42:58Z")

</div>

I purchased it on Friday

---

<div class="post-metadata">

**Author:** ![Beo](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Beo](https://forum.katalon.com/u/Beo)\
**Post date:** [April 7, 2020, 7:25am UTC](https://forum.katalon.com/t/running-in-client-mode-the-number-of-valid-offline-licenses-0/41963/4 "2020-04-07T07:25:41Z")

</div>

Hi @pgonzalez,

Please make sure you have already followed all steps in [this tutorial](https://docs.katalon.com/katalon-studio/docs/re-offline-licenses.html) to activate KRE offline.

Thanks.

---

<div class="post-metadata">

**Author:** ![pgonzalez](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@pgonzalez](https://forum.katalon.com/u/pgonzalez)\
**Post date:** [April 7, 2020, 8:18am UTC](https://forum.katalon.com/t/running-in-client-mode-the-number-of-valid-offline-licenses-0/41963/5 "2020-04-07T08:18:28Z")

</div>

My KRE licence is a Katalon Runtime Engine (DevOps). Do I need an offline licence to run in CLI mode? Thanks

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [April 7, 2020, 8:43am UTC](https://forum.katalon.com/t/running-in-client-mode-the-number-of-valid-offline-licenses-0/41963/6 "2020-04-07T08:43:12Z")

</div>

Hi @pgonzalez

If you purchased a DevOps license, then you must use Docker or Azure DevOps to execute tests.

> **[GitHub - katalon-studio/docker-images: Docker images for Katalon Studio and...](https://github.com/katalon-studio/docker-images)**
>
> Docker images for Katalon Studio and other frameworks - GitHub - katalon-studio/docker-images: Docker images for Katalon Studio and other frameworks

Since you mentioned

> [@pgonzalez](#):
>
> Hi, Im running this command in CMD

This requires a node-locked KRE license which (I assume) you don’t have, hence the error.

---

<div class="post-metadata">

**Author:** ![pgonzalez](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@pgonzalez](https://forum.katalon.com/u/pgonzalez)\
**Post date:** [April 7, 2020, 11:13am UTC](https://forum.katalon.com/t/running-in-client-mode-the-number-of-valid-offline-licenses-0/41963/7 "2020-04-07T11:13:38Z")

</div>

Ahh ok I understand. Thanks for the information.
