UiPath Documentation
assistant
2022.4
false
Assistant 用户指南
  • UiPath Assistant
    • 关于 UiPath Assistant
    • 字段说明
  • 安装 UiPath Assistant
  • 配置 UiPath Assistant
  • MacOS 上的 Assistant
  • 画中画
    • PIP 和其他虚拟化环境
    • 已知问题和限制
    • 深入探索 PiP
  • 配置 Attended 自动化
  • 监管
  • Assistant 中的微件
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

已知问题和限制

使用画中画功能时,需要考虑以下几点:

  • 如果使用 PIN 登录 Windows 主会话,则您每次启动画中画会话时,系统都会要求您提供凭据。
  • 打开画中画会话时,启动程序也会在 PiP 会话中打开。因此,可以将外围设备的某些设置重置为其默认值(例如键盘和鼠标的照明设置)。
  • 如果在运行 PiP 流程期间出现提示时启用了远程桌面会话,则需要注销并重新登录到主 Windows 会话中,以使更改生效。
  • PiP 会话打开时,无法重新启动或关闭计算机,这是因为系统需要先关闭 PiP 会话。
  • 由于运行画中画的操作系统限制,不支持 Windows 8 和 10 的家庭版。
  • 剪贴板在 PiP 会话和主会话之间共享。
  • 在 PiP 会话中不能使用以管理员身份运行。
  • 一次只能启动一个“画中画”会话。
  • 要启动 PiP 会话,用户必须获得 Allow Log On Locally 权限。

Microsoft Office 自动化

如果资源已在主会话中打开,则使用 Microsoft Office 资源的自动化将无法在“画中画”中成功运行。为了确保自动化在 PiP 中顺利运行,您可以执行以下操作:

  • 从主会话中关闭 Microsoft Office 应用程序使用的资源,以便可以在 PiP 会话中将其打开。
  • Use an InvokeIsolatedWorkflow activity to invoke the part of the automation using Microsoft Office and set its Target Session to Picture-in-Picture from Studio.

在 PIP 会话中使用网页浏览器

默认情况下,画中画会话中的浏览器数据保存在主会话中。如果主会话中有一个打开的 Google Chrome 或 Microsoft Edge 实例,则必须在 PiP 中使用另一个用户配置文件。此操作由“打开浏览器”活动自动完成。我们无法同时在 PiP 会话和主会话中使用相同的用户配置文件打开特定的浏览器(例如 Chrome)。

但是,可以使用“打开浏览器”活动属性配置浏览器数据的模式和位置。

UserDataFolderMode 属性设置为 Automatic,可使浏览器在主会话和 PiP 会话中使用单独的用户数据文件夹。

请注意,如果在此模式下从 %LocalAppData%\UiPath\PIP Browser Profiles 文件夹中清除用户数据,则需要再次启用相应的浏览器扩展。

如果您需要使用来自主会话的数据(例如 Cookie 或保存的密码),请考虑将 UserDataFolderMode 属性设置为 DefaultFolder。这意味着主会话和 PiP 会话将使用同一个浏览器用户数据文件夹。

备注:

UserDataFolderMode 设置为 DefaultFolder 时,浏览器一次只能在一个会话中工作。如果已在主会话中打开浏览器,则其在 PiP 会话中不会工作。这是因为同一浏览器配置文件不能同时在两个会话中使用。

备注:

Target SessionUserDataFolderMode 这两个属性只能在 Studio 中修改。在 StudioX 中开发的项目需要在 Studio 中打开才能更改这些属性。

您可将“用户数据文件夹模式”属性设置为 CustomFolder,为主会话和 PiP 会话指定不同的用户数据文件夹。

备注:

The browser extension needs to be installed per machine in order to work by default in PiP browsers. Otherwise, you must install it in the PiP session.

PiP 每次都需要登录

某些 Windows 策略可能会导致 PiP 会话在每次启动时请求登录,具体取决于您的环境。

例如,如果以下设置的状态设定为 Disabled,则会触发 PiP 窗口在每次启动时都要求提供凭据:

  • Local Group Policy\Computer Configuration\Administrative Templates\System\Credential Delegation\Allow delegating default credentials

    使用 Windows Business Hello PIN 时也会发生这种情况。PIN 身份验证仅在首次启动 PiP 会话时有效。之后,只能使用用户名和密码认证 PiP 会话。

智能卡身份验证

如果您的环境需要使用智能卡登录,则 not 应将以下策略设置为 Enabled

  • Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Device and Resource Redirection\Do not allow smart card device redirection

工作流需要很长时间才能在 PiP 中启动

首次在 PiP 中启动流程时,实际开始执行所需的时间比平时更长。发生这种情况是因为 PiP 会话必须启动其所有 Windows 进程和启动程序。

建议:启动计算机时启动 PiP 会话,并使其全天保持打开状态。与为每个流程启动新的 PiP 会话相比,这使用的资源更少。

PiP 会话未启动

某些 Windows 策略会限制 PiP 会话的启动。为避免出现这种情况,启动 PiP 会话的用户必须采用以下策略:

  • Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Allow Log On Locally

  • Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Access this computer from the network

    备注:

    我们目前正在调查可能会影响 PiP 功能的其他策略。

VPN 客户端在 PiP 中不起作用

当 VPN 客户端与 PiP 一起使用时,在某些情况下可能会发生冲突。例如,如果将 VPN 客户端设置为在用户登录时启动,则在 PiP 启动时,系统将启动 VPN 客户端的另一个实例。这将导致两个会话之间发生冲突,因为 VPN 客户端设置为每个用户运行一个实例。

为避免这些情况,我们编制了一份最常见的 VPN 提供商及其特例的列表,以及可能发生的已知问题的解决方案。

Cisco Anyconnect

观察到的行为

当 Cisco Anyconnect 客户端在用户计算机上运行,同时已启动 PiP 会话时,另一个 Cisco Anyconnect 客户端也将在 PiP 会话中启动。

Cause The Cisco VPN server is set to accept one session per user at a time. When the PiP session starts, Cisco Anyconnect disconnects the VPN in the main session and throws an error in the PiP session.

这将关闭用户的 VPN 连接,使用户无法访问需要 VPN 连接的服务。

Resolution Do not set the VPN client to start automatically at Windows start-up. This stops the VPN client from starting a new connection when the PiP session starts and tunnels the PiP traffic through the main Windows session.

Zscaler

观察到的行为

PiP 会话启动后,另一个 Zscaler 客户端也将在 PiP 会话中启动。这将导致 Zscaler 客户端从 Windows 主会话中消失。在用户关闭 PiP 会话之前,一切正常。当 PiP 会话关闭时,Zscaler 客户端仍处于不确定状态,用户必须退出登录并重新登录,或重新启动计算机以打开 Zscaler。

Cause We are currently investigating this behavior with Zscaler to find the cause. Resolution We are currently investigating this behavior with Zscaler to find a resolution.

Pulse Secure

观察到的行为

PiP 会话启动时,用户将与 VPN 断开连接。

Cause The Pulse secure client cannot handle two Windows sessions for the same user. Resolution We recommend opening a ticket with Pulse Secure team.

Palo Alto GlobalProtect

PiP 启动时,GUI 会在两个会话中显示与 VPN 断开连接的用户。但 PiP 会话仍连接到 VPN。

Resolution We recommend opening a ticket with Palo Alto team.

PIP 和 Windows Server

在多个用户同时连接到一个 Windows Server 的情况下,计算机上只能启动一个 PIP 会话。这意味着无论使用哪种用户或会话类型打开 PiP 会话,一台计算机上都只能打开一个 PiP 会话。

PIP 和其他虚拟化环境

在其他虚拟化环境(如 AppV 或 Citrix XenApps)上无法使用 PIP 功能。

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新