# 仮想化および組み込み環境でのユーザーインタラクションの表示

## 概要 <a href="#viewinguserinteractionsinvirtualizedandembeddedenvironments-overview" id="viewinguserinteractionsinvirtualizedandembeddedenvironments-overview"></a>

Citrix XenApp と組み込み型 (キオスクモード) の Windows における標準外のユーザーログオンプロセスのため、コレクタはこれらのシステムでの実行時、デフォルトの検出メカニズムを使用してユーザーログオンやユーザーインタラクションを報告できません。

Citrix XenApp あるいはキオスクモードで動作する Windows デバイスにコレクタをインストールする際は、*カスタムシェル* オプションを設定することを忘れないでください。 このオプションにより、コレクタは代替のメカニズムによってユーザーログオンイベントとインタラクションを検出するようになります。

コレクタでこの特別なモードを有効にするには、コレクタのインストール時に**CUSTOM\_SHELLS** [MSI パラメーター](/platform/ja/configuring_nexthink/bringing-data-into-your-nexthink-instance/deploying-nexthink-in-non-vdi-environment/installing-collector/windows-collector-references/collector-msi-parameters-reference-table.md) を使用するか、その後に [Windows 用のコレクタ設定ツール](/platform/ja/configuring_nexthink/bringing-data-into-your-nexthink-instance/deploying-nexthink-in-non-vdi-environment/installing-collector/windows-collector-references/collector-configuration-tool-for-windows.md) の **custom\_shells** オプションを使用してください。

もしも Citrix XenApp サーバーにコレクタをインストールした場合は、以下のセクションを注意深くお読みください。

## Citrix XenApp でのセッション終了 <a href="#viewinguserinteractionsinvirtualizedandembeddedenvironments-sessionterminationincitrixxenapp" id="viewinguserinteractionsinvirtualizedandembeddedenvironments-sessionterminationincitrixxenapp"></a>

[Citrix XenApp の既知の制限事項](https://support.citrix.com/article/CTX891671) により、場合によっては、ユーザーが正常にログオフした後でもセッションが終了しないことがあります。

ユーザーがログインすると、コレクタは *rundll32.exe* プロセスを起動します。 セッションをアクティブにしたままにしてリソースを浪費しないように、ユーザーがログオフしてセッションを終了する際に、このプロセスを終了できることを Citrix で確認してください：

1. 管理者として Citrix XenApp サーバーにログインします。
2. レジストリエディタで次のキーを探します：`HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix\wfshell\TWI`
3. **rundll32.exe** プロセスを、キー値 **LogoffCheckSysModules** のプロセスリストに追加します：

<figure><img src="/files/5Ih1L4pMQAFwrcDxdUwS" alt=""><figcaption></figcaption></figure>

***

関連タスク

* [コレクタ MSI パラメータリファレンステーブル](/platform/ja/configuring_nexthink/bringing-data-into-your-nexthink-instance/deploying-nexthink-in-non-vdi-environment/installing-collector/windows-collector-references/collector-msi-parameters-reference-table.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nexthink.com/platform/ja/configuring_nexthink/bringing-data-into-your-nexthink-instance/deploying-nexthink-in-non-vdi-environment/installing-collector/windows-collector-references/viewing-user-interactions-in-virtualized-and-embedded-environments.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
