Studio
2023.10
False
横幅背景图像
Studio 用户指南
上次更新日期 2024年4月26日

自动化在其他 Windows 用户下运行的应用程序

描述

Automating an application running under a different Windows user (than the one running Robot/Studio) fails by default.

原因

为其他用户 (<UserB>) 运行的应用程序正在尝试从 C:\Users\<UserA>\.nuget\packages\uipath 加载文件,但它无权访问该文件夹。

在此场景中:

  • <UserA> is the Windows user under which the Robot/Studio runs.
  • <UserB> 是运行目标应用程序的其他 Windows 用户。

解决方案

如果要自动化浏览器,则只需向 <UserB> 授予 NuGet 文件夹的访问权限,如下所述。
如果要自动化其他类型的应用程序,则必须向 <UserB> 授予对 NuGet 文件夹的访问权限,并且:
  • If you're using UiPath.UiAutomation.Activities older than v23.10, run the Robot/Studio as Admin.
  • 如果您使用的是 UiPath.UiAutomation.Activities v23.10 或更高版本,则无需采取进一步的措施。
You need to grant Read & execute permissions to the different user (<UserB>) for the UiPath® NuGet folder of the current user (<UserA>).

为此,请按照以下步骤操作:

  1. 在 Windows 资源管理器中,转到 C:\Users\<UserA>\.nuget\packages
  2. 右键单击 uipath 文件夹,然后选择显示此文件夹的“属性”窗口。
  3. 转到“安全性”选项卡。
  4. 添加 <UserB> 并授予其读取和执行权限。
  5. 单击“应用”,然后关闭属性窗口。

现在您可以自动化在其他 Windows 用户下运行的应用程序。



  • 描述
  • 原因
  • 解决方案

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.