> For the complete documentation index, see [llms.txt](https://docs.nexthink.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](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).

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

## 概要 <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="https://3549141153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLm8O7QKZDn6z806e7Sv%2Fuploads%2Fgit-blob-42519161ef5689370d2faf351e64520514c3afa9%2F580px-citrix_regkey.png?alt=media" 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
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>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
