# フォーカスタイムメトリック

[Application](https://docs.nexthink.com/platform/ja/references/references-classic/glossary-classic/execution-classic) の実行は、従業員がどのアプリケーションを使用しているか、またデバイスリソースを消費しているものが何かについての良いアイデアを提供します。 フォーカスタイムを利用することで、分析をさらに進めて、最大の改善の機会がある場所を理解できます。 それは、特定のアプリケーションが[フォーカス](https://docs.nexthink.com/platform/ja/references/references-classic/glossary-classic/focus-time-classic)されていた時間の正確な測定です。

### 構成 <a href="#focustimemetric-configuration" id="focustimemetric-configuration"></a>

デフォルトでは、システムはフォーカスタイム機能を無効にします。 システムにレジストリキーを追加するか、好みのデプロイ方法を使用してレジストリキーをプッシュして手動で有効化します。

注意: これを有効または無効にするには、[Collectorを再起動](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/collector-configuration-tool-for-windows#collectorconfigurationtoolforwindows-options)する必要があります。

#### レジストリキー <a href="#focustimemetric-registrykey" id="focustimemetric-registrykey"></a>

この機能を特定のシステムで有効にするには、次のコマンドを実行してください：

{% code fullWidth="true" %}

```
REG ADD HKLM\SOFTWARE\Nexthink\Collector\WindowFocusTimeMonitoring /v Enabled /t REG_DWORD /d 1​
```

{% endcode %}

\
レジストリエディタを使用して有効にすることもできます：

1. 以下のキーを作成：

   ```
   HKEY_LOCAL_MACHINE\SOFTWARE\Nexthink\Collector\WindowFocusTimeMonitoring
   ```

2\. DWORD 値を **Enabled** として追加し、1 に設定します。

#### Library pack <a href="#focustimemetric-librarypack" id="focustimemetric-librarypack"></a>

**Collector Configuration** Library pack で、 リモートアクション [Collector Configuration の設定](https://www.nexthink.com/library/collector-configuration/#set-collector-configuration) を実行します。
