robot
2024.10
true
Admin Guide
Last updated 2024年10月21日

机器人许可

A licensing process most commonly starts with activating your Orchestrator license. Afterward, you license your Robot by connecting it to Orchestrator or from the Command Line, using the LicenseTool utility.

When your Robot is not connected to Orchestrator, you can activate the license with the help of the Command Prompt.

Attended licenses

To execute attended automations, you need to allocate one or more user licenses to your robots.

For this, you need to have a robot account in Orchestrator. Once the user license is assigned to a specific username, that user can run one or more attended automations on the computer under their username.

The following user licenses are available for attended automations:

  • 有人值守

  • Citizen Developer

  • Automation Developer

Unattended licenses

To execute unattended automations, you need to allocate one or more robot licenses (or runtimes) to your robots, specifically to the machine that hosts your robots. The number of runtimes assigned to a machine represents the execution capacity. For example, with one runtime, you can execute only one unattended automation at a time. With five runtimes, you can execute up to five unattended automations at the same time, on the same host machine.

Depending on the type of automation, allocate the runtimes as follows:

  • For foreground automations - allocate one runtime, as this type of automations are executed one at a time.

  • For background automations - Windows machines require one runtime, as they execute one background automation at a time. Windows-Server machines can execute several background automations simultaneously, which represents a concurrent execution.

  • For concurrent executions - allocate more than one runtime. The number of allocated runtimes determines how many automations you can execute simultaneously on the same machine.

The following runtimes are available for unattended automations:

  • Unattended (Production)

  • 非生产

  • 测试

LicenseTool utility

The UiPath.LicenseTool.exe is a command-line utility which enables you to activate your machine online or offline, and update your license information.

The LicenseTool utility activates your license locally, which requires you to select the Standalone license type when creating a robot in Orchestrator.

The following sections provide the most common commands for online, offline, and generic licensing operations. The commands need to be initiated in the same folder where the utility resides, which be default is the "C:\Program Files\UiPath\Studio" folder.

在线操作

以下命令需要有效的互联网连接才能处理您的请求。

激活

activate 命令用于通过现有的许可证代码在线激活许可证。支持的参数如下:

参数

描述

优先级

-l, --LicenseCode

激活所需的许可证代码。

必需

-u, --ProxyUrl
The URL used for the proxy connection (such as http://your.proxy.server.com).

可选

-p, --ProxyPort

代理连接的端口号。

可选。必需(如果使用了 -u 参数)。
-s, --ProxyUser

与代理连接关联的用户名。

可选。必需(如果使用了 -u 参数)。
-w, --ProxyPassword

与代理连接关联的用户的密码。

可选。必需(如果使用了 -u 参数)。
C:\Program Files\UiPath\Studio\UiPath.LicenseTool.exe activate -l 1234-1234-2194-5598
License registration state: ActiveLicense
License successfully activated!C:\Program Files\UiPath\Studio\UiPath.LicenseTool.exe activate -l 1234-1234-2194-5598
License registration state: ActiveLicense
License successfully activated!

也可以在 Studio 中进行离线激活。

更新

update 命令用于在线更新现有的许可证。支持的参数如下:

参数

描述

优先级

-u, --ProxyUrl
The URL used for the proxy connection (such as http://your.proxy.server.com).

可选

-p, --ProxyPort

代理连接的端口号。

可选。必需(如果使用了 -u 参数)。
-s, --ProxyUser

与代理连接关联的用户名。

可选。必需(如果使用了 -u 参数)。
-w, --ProxyPassword

与代理连接关联的用户的密码。

可选。必需(如果使用了 -u 参数)。
C:\Program Files\UiPath\Studio\UiPath.LicenseTool.exe update
License registration state: ActiveLicense
License successfully updated!C:\Program Files\UiPath\Studio\UiPath.LicenseTool.exe update
License registration state: ActiveLicense
License successfully updated!

停用

deactivate 命令用于停用本地许可证。这样便可在其他计算机上激活该许可证。支持的参数如下:

参数

描述

优先级

-u, --ProxyUrl
The URL used for the proxy connection (such as http://your.proxy.server.com).

可选

-p, --ProxyPort

代理连接的端口号。

可选。必需(如果使用了 -u 参数)。
-s, --ProxyUser

与代理连接关联的用户名。

可选。必需(如果使用了 -u 参数)。
-w, --ProxyPassword

与代理连接关联的用户的密码。

可选。必需(如果使用了 -u 参数)。
C:\Program Files\UiPath\Studio\UiPath.LicenseTool.exe deactivate
License registration state: NoLicenseAvailable
License successfully deactivated!C:\Program Files\UiPath\Studio\UiPath.LicenseTool.exe deactivate
License registration state: NoLicenseAvailable
License successfully deactivated!

离线操作

激活请求

activation-request 命令用于为您的许可证生成更新令牌。需要在激活门户上使用更新令牌来生成相应的许可证文件。支持的参数如下:

参数

描述

优先级

-l, --LicenseCode

激活所需的许可证代码。

必需

o, --FileName

将许可证信息写入文件。如果未指定此参数,则许可证信息将显示在命令提示符窗口中。

可选

C:\Program Files\UiPath\Studio\UiPath.LicenseTool.exe activation-request -l 1234-2303-2194-5598
Activation Token: eyJsaWNlbnNlQ29kZSI6Ijk1NTUtMjMwMy0yMTk0LTU1OTgiL12345WFpbCI6InNvbWUuZW1haWxAZXhhbXBsZS5vcmciLCJtZXRhZGF0YSI6eyJyYW0iOiIzNDE0NjA0MTg1NiIsImRpc3BsYXlOYW1lIjoiSW50ZWwoUikgVUhEIEdyYXBoaWNzIDYzMCIsInZlcnNpb24iOiIxOS43LjAiLCJzeXN0ZW1MYW5nIjoiMDQwOSIsInN5c3RlbU1vZGVsIjoiT3B0aVBsZXggNTA2MCIsIm9zTmFtZSI6IlBDLURPRE9JVUIiLCJ1c2VyTmFtZSI6ImJvZ2Rhbi5kb2RvaXUiLCJzeXN0ZW1OYW1lIjoiUEMtRE9ET0lVQiIsImRpc3BsYXlSZXMiOiIxMDI0IGJ5IDc2OCBwaXhlbHMsIFRydWUgQ29sb3IsIDYwIEhlcnR6IiwicHJvY2Vzc29yIjoiSW50ZWwoUikgQ29yZShUTSkgaTctODcwMCBDUFUgQCAzLjIwR0h6Iiwic3lzdGVtVHlwZSI6Ing2NC1iYXNlZCBQQyJ9LCJsaWNlbnNpbmdNb2RlbERhdGEiOnsidXNlcklkIjoiYm9nZGFuLmRvZG9pdSIsIm1hY2hpbmVJZCI6IlBDLURPRE9JVUIifX0=
Go to https://activate.uipath.com and paste the activation token in the dialogue box to generate the license file for offline activation.C:\Program Files\UiPath\Studio\UiPath.LicenseTool.exe activation-request -l 1234-2303-2194-5598
Activation Token: eyJsaWNlbnNlQ29kZSI6Ijk1NTUtMjMwMy0yMTk0LTU1OTgiL12345WFpbCI6InNvbWUuZW1haWxAZXhhbXBsZS5vcmciLCJtZXRhZGF0YSI6eyJyYW0iOiIzNDE0NjA0MTg1NiIsImRpc3BsYXlOYW1lIjoiSW50ZWwoUikgVUhEIEdyYXBoaWNzIDYzMCIsInZlcnNpb24iOiIxOS43LjAiLCJzeXN0ZW1MYW5nIjoiMDQwOSIsInN5c3RlbU1vZGVsIjoiT3B0aVBsZXggNTA2MCIsIm9zTmFtZSI6IlBDLURPRE9JVUIiLCJ1c2VyTmFtZSI6ImJvZ2Rhbi5kb2RvaXUiLCJzeXN0ZW1OYW1lIjoiUEMtRE9ET0lVQiIsImRpc3BsYXlSZXMiOiIxMDI0IGJ5IDc2OCBwaXhlbHMsIFRydWUgQ29sb3IsIDYwIEhlcnR6IiwicHJvY2Vzc29yIjoiSW50ZWwoUikgQ29yZShUTSkgaTctODcwMCBDUFUgQCAzLjIwR0h6Iiwic3lzdGVtVHlwZSI6Ing2NC1iYXNlZCBQQyJ9LCJsaWNlbnNpbmdNb2RlbERhdGEiOnsidXNlcklkIjoiYm9nZGFuLmRvZG9pdSIsIm1hY2hpbmVJZCI6IlBDLURPRE9JVUIifX0=
Go to https://activate.uipath.com and paste the activation token in the dialogue box to generate the license file for offline activation.

离线激活

activate-offline 命令用于离线激活许可证。该命令使用激活门户通过提供的激活令牌(使用 activation-request 命令生成)生成的许可证文件。支持的参数如下:

参数

描述

优先级

-f, --LicenseFile

从激活门户获取的许可证文件的路径。

必需 1
-i, --LicenseContent
使用 Activation-Request 操作后收到的许可证文件的内容。
必需 1
  • 1 - 您只能在 activate-offline 操作中使用 -f-i 参数。不支持同时使用两个参数。
    C:\Program Files\UiPath\Studio\UiPath.LicenseTool.exe activate-offline -f c:\Downloads\license.txt
    License registration state: ActiveLicense
    License successfully activated!C:\Program Files\UiPath\Studio\UiPath.LicenseTool.exe activate-offline -f c:\Downloads\license.txt
    License registration state: ActiveLicense
    License successfully activated!

也可以在 Studio 中进行离线激活。

更新请求

update-request 命令用于为许可证生成更新令牌。该更新令牌需用于激活门户,进而生成相应的许可证文件。支持的参数如下:

参数

描述

优先级

-o, --FileName

将许可证信息写入文件。如果未指定此参数,则许可证信息将显示在命令提示符窗口中。

可选

C:\Program Files\UiPath\Studio\UiPath.LicenseTool.exe update-request
Update Token: eyJsaWNlbnNlQ29kZSI6Ijk1NTUtMj102345yMTk0LTU1OTgiLCJlbWFpbCI6bnVsbCwibWV0YWRhdGEiOnsicHJvY2Vzc29yIjoiSW50ZWwoUikgQ29yZShUTSkgaTctODcwMCBDUFUgQCAzLjIwR0h6Iiwic3lzdGVtTW9kZWwiOiJPcHRpUGxleCA1MDYwIiwidXNlck5hbWUiOiJib2dkYW4uZG9kb2l1IiwiZGlzcGxheVJlcyI6IjEwMjQgYnkgNzY4IHBpeGVscywgVHJ1ZSBDb2xvciwgNjAgSGVydHoiLCJ2ZXJzaW9uIjoiMTkuNy4wIiwicmFtIjoiMzQxNDYwNDE4NTYiLCJzeXN0ZW1MYW5nIjoiMDQwOSIsIm9zTmFtZSI6IlBDLURPRE9JVUIiLCJkaXNwbGF5TmFtZSI6IkludGVsKFIpIFVIRCBHcmFwaGljcyA2MzAiLCJzeXN0ZW1UeXBlIjoieDY0LWJhc2VkIFBDIiwic3lzdGVtTmFtZSI6IlBDLURPRE9JVUIifSwibGljZW5zaW5nTW9kZWxEYXRhIjp7InVzZXJJZCI6ImJvZ2Rhbi5kb2RvaXUiLCJtYWNoaW5lSWQiOiJQQy1ET0RPSVVCIn19
Go to https://activate.uipath.com and paste the update token in the dialogue box to generate the license file for offline update.C:\Program Files\UiPath\Studio\UiPath.LicenseTool.exe update-request
Update Token: eyJsaWNlbnNlQ29kZSI6Ijk1NTUtMj102345yMTk0LTU1OTgiLCJlbWFpbCI6bnVsbCwibWV0YWRhdGEiOnsicHJvY2Vzc29yIjoiSW50ZWwoUikgQ29yZShUTSkgaTctODcwMCBDUFUgQCAzLjIwR0h6Iiwic3lzdGVtTW9kZWwiOiJPcHRpUGxleCA1MDYwIiwidXNlck5hbWUiOiJib2dkYW4uZG9kb2l1IiwiZGlzcGxheVJlcyI6IjEwMjQgYnkgNzY4IHBpeGVscywgVHJ1ZSBDb2xvciwgNjAgSGVydHoiLCJ2ZXJzaW9uIjoiMTkuNy4wIiwicmFtIjoiMzQxNDYwNDE4NTYiLCJzeXN0ZW1MYW5nIjoiMDQwOSIsIm9zTmFtZSI6IlBDLURPRE9JVUIiLCJkaXNwbGF5TmFtZSI6IkludGVsKFIpIFVIRCBHcmFwaGljcyA2MzAiLCJzeXN0ZW1UeXBlIjoieDY0LWJhc2VkIFBDIiwic3lzdGVtTmFtZSI6IlBDLURPRE9JVUIifSwibGljZW5zaW5nTW9kZWxEYXRhIjp7InVzZXJJZCI6ImJvZ2Rhbi5kb2RvaXUiLCJtYWNoaW5lSWQiOiJQQy1ET0RPSVVCIn19
Go to https://activate.uipath.com and paste the update token in the dialogue box to generate the license file for offline update.

离线更新

update-offline 命令用于离线更新许可证。该命令使用激活门户通过提供的更新令牌(使用 update-request 命令生成)生成的文件。支持的参数如下:

参数

描述

优先级

-f, --LicenseFile

从激活门户获取的许可证文件的路径。

必需 1
-i, --LicenseContent
使用 Update-Request 操作后收到的许可证文件的内容。
必需 1
  • 1 - 您只能在 update-offline 操作中使用 -f-i 参数。不支持同时使用两个参数。
    C:\Program Files\UiPath\Studio\UiPath.LicenseTool.exe update-offline -f c:\Downloads\license-update.txt
    License registration state: ActiveLicense
    License successfully updated!C:\Program Files\UiPath\Studio\UiPath.LicenseTool.exe update-offline -f c:\Downloads\license-update.txt
    License registration state: ActiveLicense
    License successfully updated!

停用请求

deactivation-request命令用于离线停用本地许可证并生成停用令牌。系统会在本地计算机上立即停用该许可证,必要时可以激活其他许可证。系统需要在激活门户上使用生成的停用令牌来停用许可证。请注意,通过此命令离线停用的许可证只能在发布后重新使用。支持以下参数:

参数

描述

优先级

-o, --FileName

将许可证信息写入文件。如果未指定此参数,则许可证信息将显示在命令提示符窗口中。

可选

C:\Program Files\UiPath\Studio\UiPath.LicenseTool.exe deactivation-request
Deactivation Token: eyJsaWNlbnNlQ29kZSI6Ijk123458My0yMTk0LTU1OTgiLCJsaWNlbnNpbmdNb2RlbERhdGEiOnsidXNlcklkIjoiYm9nZGFuLmRvZG9pdSIsIm1hY2hpbmVJZCI6IlBDLURPRE9JVUIifSwibWV0YWRhdGEiOnsib3NOYW1lIjoiUEMtRE9ET0lVQiIsInVzZXJOYW1lIjoiYm9nZGFuLmRvZG9pdSIsInZlcnNpb24iOiIxOS43LjAiLCJkaXNwbGF5UmVzIjoiMTAyNCBieSA3NjggcGl4ZWxzLCBUcnVlIENvbG9yLCA2MCBIZXJ0eiIsInN5c3RlbU5hbWUiOiJQQy1ET0RPSVVCIiwicHJvY2Vzc29yIjoiSW50ZWwoUikgQ29yZShUTSkgaTctODcwMCBDUFUgQCAzLjIwR0h6Iiwic3lzdGVtVHlwZSI6Ing2NC1iYXNlZCBQQyIsInJhbSI6IjM0MTQ2MDQxODU2IiwiZGlzcGxheU5hbWUiOiJJbnRlbChSKSBVSEQgR3JhcGhpY3MgNjMwIiwic3lzdGVtTGFuZyI6IjA0MDkiLCJzeXN0ZW1Nb2RlbCI6Ik9wdGlQbGV4IDUwNjAifX0=
License successfully deactivated locally!
To release the license on the sever side and use it on another machine, go to https://activate.uipath.com and paste the deactivation request certificate as text in the <code>Deactivate your licence</code> tab.C:\Program Files\UiPath\Studio\UiPath.LicenseTool.exe deactivation-request
Deactivation Token: eyJsaWNlbnNlQ29kZSI6Ijk123458My0yMTk0LTU1OTgiLCJsaWNlbnNpbmdNb2RlbERhdGEiOnsidXNlcklkIjoiYm9nZGFuLmRvZG9pdSIsIm1hY2hpbmVJZCI6IlBDLURPRE9JVUIifSwibWV0YWRhdGEiOnsib3NOYW1lIjoiUEMtRE9ET0lVQiIsInVzZXJOYW1lIjoiYm9nZGFuLmRvZG9pdSIsInZlcnNpb24iOiIxOS43LjAiLCJkaXNwbGF5UmVzIjoiMTAyNCBieSA3NjggcGl4ZWxzLCBUcnVlIENvbG9yLCA2MCBIZXJ0eiIsInN5c3RlbU5hbWUiOiJQQy1ET0RPSVVCIiwicHJvY2Vzc29yIjoiSW50ZWwoUikgQ29yZShUTSkgaTctODcwMCBDUFUgQCAzLjIwR0h6Iiwic3lzdGVtVHlwZSI6Ing2NC1iYXNlZCBQQyIsInJhbSI6IjM0MTQ2MDQxODU2IiwiZGlzcGxheU5hbWUiOiJJbnRlbChSKSBVSEQgR3JhcGhpY3MgNjMwIiwic3lzdGVtTGFuZyI6IjA0MDkiLCJzeXN0ZW1Nb2RlbCI6Ik9wdGlQbGV4IDUwNjAifX0=
License successfully deactivated locally!
To release the license on the sever side and use it on another machine, go to https://activate.uipath.com and paste the deactivation request certificate as text in the <code>Deactivate your licence</code> tab.

一般操作

UiPath.LicenseTool.exe 实用程序还包含一些一般命令。它们提供许可证相关信息,可帮助您熟悉支持的命令和参数。

命令

描述

info

显示许可证相关信息,例如:

  • 激活 ID
  • 许可证注册状态
  • 许可证代码
  • 开始日期
  • 结束日期
  • 宽限期(天)
  • 结束日期包括宽限期
  • 下次检查日期

help

显示关于所有支持的命令和参数的信息。

version

显示 UiPath.LicenseTool.exe 实用程序的版本。
  • Attended licenses
  • Unattended licenses
  • LicenseTool utility
  • 在线操作
  • 离线操作
  • 一般操作

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。