UiPath Documentation
robot
2026.10
false
Robot 管理ガイド

Service mode and user mode

UiPath Robot のサービス モードおよびユーザー モードのデプロイ オプションです。ユース ケース、機能、および各モードを Orchestrator に接続する方法について説明します。

UiPath Robot は、サービス モードとユーザー モードの 2 つのモードで動作します。

サービス モードは無人オートメーション向けに設計されており、画面がロックされている場合やユーザーがログインしていない場合でも動作できます。

一方、ユーザー モードは、人間の介入が必要な有人オートメーションのシナリオで使用されます。有人オートメーションはシステム トレイから実行され、その機能は現在ログインしているユーザーが利用可能なリソースに応じて異なります。

How the installation sets the mode​

The UiPath Platform Installer sets the mode from the install scope and, for a per-machine installation, from the Robot type option:

Install scopeロボットの種類モード
マシンごとUnattendedService Mode. The installer registers the Robot as the UiPath Robot Windows service (UiRobotSvc).
マシンごとAttendedUser Mode, for every user who signs in to the machine. The installer doesn't register a Windows service.
ユーザーごとNot offeredUser Mode, for the user who installed it. A per-user installation never registers a Windows service.

In a silent installation, the REGISTER_ROBOT_SERVICE parameter of the Robot package sets the same choice. For details, refer to Installing the Robot and Silent installation.

For more details about the Platform Installer, refer to Install the desktop clients and Update channels.

ユーザー モードの Robot またはサービス モードの Robot を Orchestrator に接続する​

次の表で、推奨する Orchestrator の接続方法を、Robot の操作モードに基づいて説明します。

ロボットのインストールの種類Robot の操作モードOrchestrator への接続方法
Attendedユーザー モード対話型サインイン
Unattendedサービス モードクライアント資格情報
Studio (開発用)ユーザー モード対話型サインイン

サービス モード​

サービス モードでは、Robot は Windows サービスとして実行されるため、システムの起動時に自動的に起動します。Robot はシステム全体に対するアクセス権を持つので、システムにログインしているユーザーがいなくても単独でタスクを完了できます。

Robot をサービス モードでインストールした場合、UiPath.Service.Host.exe が、ジョブの実行に関連するすべての処理をバックグラウンドで扱うサービスとして使用されます。

ユーザー モード​

ユーザー モードでは、Robot はユーザーがログインしてオートメーションを手動で起動した後でのみ起動します。Robot はログインしているユーザーと同じアクセス権を持ちます。タスクを実行するにはユーザー インターフェイスが必要です。アクティブなユーザー セッションがない場合、Robot はプロセスを実行できません。

Robot をユーザー モードでインストールした場合、UiPath.Service.UserHost.exe が、ジョブの実行に関連するすべての処理を扱うサービスとして使用されます。

対話型サインイン​

ユーザー モードの Robot では、対話型サインイン、または Assistant の [サービス URL] オプションが既定の認証オプションです。ユーザー資格情報を入力して Assistant にサインインします。

Azure Active Directory で SSO を使用するよう設定されている環境では、Robot のインストール時にアカウントへの自動認証を有効化できます ([自動的にサインイン] オプション)。

サービス モードの Robot は、対話型サインインを使用して無人セッションのトラブルシューティングを行うことができます。最初にユーザー セッションでマシンにログオンし、[サービス URL] で Assistant に対して認証してプロセスにアクセスします。

モードの比較​

以下の表は、サービス モードとユーザー モードの主な相違点についてまとめたものです。

Robot の機能サービス モードユーザー モード
システムの起動システムの起動時に自動的に起動します。Assistant の起動時に起動します。
ユーザー セッション特定のユーザーから独立して動作します。アクティブなユーザー セッション下で動作します。
アクセス権システム全体に対するアクセス権を持ちます。ログインしているユーザーと同じアクセス権を持ちます。
実行要件ログインしているユーザーがいない場合でもタスクを実行します。タスクを実行するにはユーザー インターフェイスとアクティブなユーザー セッションが必要です。
実行リソースより複雑なタスクを実行できるため、より多くの計算リソースが必要です。必要な計算リソースは少なくなります。
オートメーションの種類無人オートメーションのシナリオに適しています。有人オートメーションのシナリオに適しています。
スケーリング多くの場合、オートメーションの大規模なデプロイで使用されます。一般的に個人のデプロイや小規模なデプロイで使用されます。
管理サービスUiPath.Service.Host.exeUiPath.Service.UserHost.exe
表示動作中はほとんど非表示です。システム トレイに表示され、そこから管理できます。
セキュリティで保護された XAML (*)XAML ファイルのセキュリティ保護をサポートします。Does not support securing XAML files, meaning users can access these files without admin rights.

(*) セキュリティで保護された XAML は、Windows - レガシ プロジェクト専用の固有の機能です。

モードを切り替える​

On a per-machine installation, you can switch between User Mode and Service Mode by changing the Robot's configuration in the UiPath Platform Installer and selecting the other Robot type. When you switch to Attended, the installer removes the UiPath Robot Windows service. A per-user installation can't switch to Service Mode. To move it, uninstall it and install the Robot per-machine.

重要:

Avoid changing the operational mode after installation. Such a change breaks settings such as the proxy or the Orchestrator connection, because the Robot keeps them in %ProgramData%\UiPath in Service Mode and in %AppData%\UiPath in User Mode. The proxy settings are in %AppData%\UiPath\proxyBasicAuth.json or %ProgramData%\UiPath\Shared\proxy.json.

このページは役に立ちましたか?

接続

ヘルプ リソース サポート(opens in new window)

学習する UiPath アカデミー(opens in new window)

質問する UiPath フォーラム(opens in new window)

最新情報を取得