UiPath.LicenseTool.exe
是命令行实用程序,用于在线或离线激活计算机,以及更新许可证信息。系统默认将此实用程序保存在 C:\Program Files\UiPath\Studio
文件夹中。
Please note that this tool is only used to activate your license locally. If you choose to activate your license with this tool, it is important to specify that you use a Stand-alone license when you create a Robot in Orchestrator for that particular machine.
此页面上构建的所有示例均基于以下假设:您首先使用 cd
命令 (cd C:\Program Files\UiPath\Studio
) 导航到 UiPath.LicenseTool.exe
实用程序的位置。
在线操作
以下命令需要有效的互联网连接才能处理您的请求。
激活
activate
命令用于通过现有的许可证代码在线激活许可证。支持的参数如下:
Parameter | Description | Priority |
---|---|---|
-l , --LicenseCode | The license code required for activation. | Mandatory |
-u , --ProxyUrl | The URL used for the proxy connection (such as http://your.proxy.server.com). | Optional |
-p , --ProxyPort | The Port number of the proxy connection. | Optional. Mandatory if the -u parameter is used. |
-s , --ProxyUser | The username associated with your proxy connection. | Optional. Mandatory if the -u parameter is used. |
-w , --ProxyPassword | The password for the user associated with your proxy connection. | Optional. Mandatory if the -u parameter is used. |
C:\Program Files\UiPath\Studio\UiPath.LicenseTool.exe activate -l 1234-1234-2194-5598
License registration state: ActiveLicense
License successfully activated!
Online activation can also be done from Studio.
Update
update
命令用于在线更新现有的许可证。支持的参数如下:
Parameter | Description | Priority |
---|---|---|
-u , --ProxyUrl | The URL used for the proxy connection (such as http://your.proxy.server.com). | Optional |
-p , --ProxyPort | The Port number of the proxy connection. | Optional. Mandatory if the -u parameter is used. |
-s , --ProxyUser | The username associated with your proxy connection. | Optional. Mandatory if the -u parameter is used. |
-w , --ProxyPassword | The password for the user associated with your proxy connection. | Optional. Mandatory if the -u parameter is used. |
C:\Program Files\UiPath\Studio\UiPath.LicenseTool.exe update
License registration state: ActiveLicense
License successfully updated!
停用
deactivate
命令用于停用本地许可证。这样便可在其他计算机上激活该许可证。支持的参数如下:
Parameter | Description | Priority |
---|---|---|
-u , --ProxyUrl | The URL used for the proxy connection (such as http://your.proxy.server.com). | Optional |
-p , --ProxyPort | The Port number of the proxy connection. | Optional. Mandatory if the -u parameter is used. |
-s , --ProxyUser | The username associated with your proxy connection. | Optional. Mandatory if the -u parameter is used. |
-w , --ProxyPassword | The password for the user associated with your proxy connection. | Optional. Mandatory if the -u parameter is used. |
C:\Program Files\UiPath\Studio\UiPath.LicenseTool.exe deactivate
License registration state: NoLicenseAvailable
License successfully deactivated!
离线操作
激活请求
The activation-request
command is used to generate an activation token from your license code. The generated token needs to be used on the Activation Portal to generate the corresponding license file. The following parameters are supported:
Parameter | Description | Priority |
---|---|---|
-l , --LicenseCode | The license code required for activation. | Mandatory |
o , --FileName | Writes the license information to file. If this parameter is not specified, the license information is displayed in the command prompt window. | Optional |
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.
离线激活
The activate-offline
command is used to activate a license offline. It uses the license file generated by the Activation Portal from the provided activation token generated by the activation-request
command. The following parameters are supported:
Parameter | Description | Priority |
---|---|---|
-f , --LicenseFile | The path to the license file obtained from the activation portal. | Mandatory 1 |
-i , --LicenseContent | The content of the license file received after using the Activation-Request operation. | Mandatory 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!
Offline activation can also be done from Studio.
更新请求
The update-request
command is used to generate an update token for your license. The update token needs to be used on the Activation Portal to generate the corresponding license file. The following parameters are supported:
Parameter | Description | Priority |
---|---|---|
-o , --FileName | Writes the license information to file. If this parameter is not specified, the license information is displayed in the command prompt window. | Optional |
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.
离线更新
The update-offline
command is used to update a license offline. It uses the generated file by the Activation Portal from the provided update token generated by the update-request
command. The following parameters are supported:
Parameter | Description | Priority |
---|---|---|
-f , --LicenseFile | The path to the license file obtained from the activation portal. | Mandatory 1 |
-i , --LicenseContent | The content of the license file received after using the Update-Request operation. | Mandatory 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!
停用请求
deactivation-request
命令用于离线停用本地许可证并生成停用令牌。系统会在本地计算机上立即停用该许可证,必要时可以激活其他许可证。系统需要在激活门户上使用生成的停用令牌来停用许可证。请注意,通过此命令离线停用的许可证只能在发布后重新使用。支持以下参数:
Parameter | Description | Priority |
---|---|---|
-o , --FileName | Writes the license information to file. If this parameter is not specified, the license information is displayed in the command prompt window. | Optional |
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 `Deactivate your licence` tab.
一般操作
UiPath.LicenseTool.exe
实用程序还包含一些一般命令。它们提供许可证相关信息,可帮助您熟悉支持的命令和参数。
Command | Description |
---|---|
info | Displays information about the license, such as: Activation Id License registration state License code Start date End date Grace Period (days) End date including grace period Next check date |
help | Displays information about all the supported commands and parameters. |
version | Displays the version of the UiPath.LicenseTool.exe utility. |
4 个月前更新