Studio
2023.10
バナーの背景画像
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 ユーザーです。

解決策

ブラウザーを自動化するには、以下で説明するように、NuGet フォルダーに <UserB> へのアクセスを許可するだけです。
他の種類のアプリケーションを自動化するには、NuGet フォルダーに <UserB> へのアクセスを許可し、以下の操作を実行する必要があります。
  • 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 ユーザーで実行しているアプリケーションを自動化できます。



  • 説明
  • 原因
  • 解決策

Was this page helpful?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
UiPath ロゴ (白)
信頼とセキュリティ
© 2005-2024 UiPath. All rights reserved.