> For the complete documentation index, see [llms.txt](https://docs.nexthink.com/platform/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/library-packs/device-landscape/workflow_-device-restart-enforcement/usage-guide-device-restart-enforcement.md).

# 使用ガイド: デバイス再起動の強制

{% hint style="warning" %}
このページでは、パックのさまざまな使用方法と利用例を説明しています。

管理者は、[構成ガイド: デバイス再起動の強制](/platform/ja/library-packs/device-landscape/workflow_-device-restart-enforcement/configuration-guide-device-restart-enforcement.md)を参照し、インストールされたコンテンツを設定およびカスタマイズできます。
{% endhint %}

デバイスを定期的に再起動することは、パフォーマンスの維持やシステム更新の適用に重要です。 このライブラリーパックは、ITチームがユーザーエクスペリエンスとのバランスを取りながら、コンプライアントな再起動の行動を促進するのをサポートします。

**デバイス再起動の強制**ライブラリーパックは、ITチームに以下を可能にします:

* 特定の期間中に再起動されていないデバイスを特定します。
* ユーザーに自主的に再起動する機会を複数提供します。
* ターゲットキャンペーンとリモートアクションを使用して、非コンプライアントなデバイス上で自動的に再起動をトリガーします。
* 再起動の未完了によるパッチデプロイメントの失敗を減少させます。

## ライブラリパックは使用している

{% hint style="info" %}
このページの[使用ケース](#library-pack-uses)にジャンプして、関連するシナリオアプリケーションを確認してください。
{% endhint %}

以下の目的のためにライブラリパックのコンテンツを使用します。

### 可視性 <a href="#workflow-structure" id="workflow-structure"></a>

このライブラリーパックは「デバイス再起動の強制」[ワークフロー](/platform/ja/user-guide/workflows.md)に焦点を当てています。 このワークフローは、複数のレベルの確認とリマインダーを通じて、従業員にパスワード有効期限のリマインダーを自動で送信する事ができるように設計されています。 オンプレミスのActive DirectoryドメインとEntra ID環境の両方をサポートし、このワークフローはパスワード期限切れによる混乱を減らし、この問題に関連したITサポートの負荷を軽減するユニバーサルな方法を提供します。

### ワークフロートリガー <a href="#workflow-structure" id="workflow-structure"></a>

ワークフローは主に手動で実行されるように設計されています。 例えば、NQLクエリを使用して、1週間以上再起動されていない非サーバーのデバイスを照会する調査を実行することができます。

**NQL:**

{% code title="Code" lineNumbers="true" %}

```
デバイス 過去7日間
| where operating_system.name !in ["*server*"]
| where boot.days_since_last_full_boot > 10
```

{% endcode %}

あるいは、下記のようにワークフローを自動的にトリガーするスケジュールを設定することもできます。

**NQL:**

{% code lineNumbers="true" %}

```
デバイス 過去7日間
| where operating_system.name !in ["*server*"]
| where boot.days_since_last_full_boot > 10
```

{% endcode %}

### 事前定義されたワークフローの構造とステップ <a href="#workflow-structure" id="workflow-structure"></a>

デバイス再起動の強制ワークフローは、以下の主要ステップで構成されています。

1. ワークフローの中心的なポイントはNexthinkのリピート機能で、定義されたタイムアウト後、サイクル内で望ましい条件が満たされない場合には、デフォルトで3回反復します。 この場合、必要な条件は、デバイスを今すぐ再起動することのユーザー確認です。

   <figure><img src="/files/pNkb2k6YuQqVQRn7Qus1" alt="" width="375"><figcaption></figcaption></figure>
2. 繰り返しブロック内では、次のようなロジックが適用されます。
   1. まず、ワークフローはデバイスが最後に再起動されてから何日が経過したかを確認します。 デバイスが過去10日以内に再起動されている場合は、ワークフローが終了します。 もし10日以上前に再起動されている場合は、ユーザーにキャンペーンを送信します。 このキャンペーンは、ユーザーに再起動の必要性を知らせ、再起動する・1時間延期・1日延期の3つのオプションを提供します。
   2. ユーザーが「今すぐ再起動」を選択した場合、ワークフローはターゲットデバイスプラットフォーム（macOSやWindows）に対応するリモートアクションを実行します。
   3. ユーザーが1時間延期を選択した場合、1時間後にキャンペーンが再度繰り返されます。
   4. ユーザーが1日延期を選択した場合、1日後にキャンペーンが再度繰り返されます。
   5. ターゲットデバイスでキャンペーンが期限切れになると、3分後に再度トリガーされます。
   6. ユーザーが3回延期を選択した場合、ワークフローはデバイスを再起動せずに終了します。

***

* ​[ワークフロー：デバイス再起動強制](/platform/ja/library-packs/device-landscape/workflow_-device-restart-enforcement.md)​
* [​構成ガイド: デバイス再起動の強制](/platform/ja/library-packs/device-landscape/workflow_-device-restart-enforcement/configuration-guide-device-restart-enforcement.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 dynamically by asking a question.

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

```
GET https://docs.nexthink.com/platform/ja/library-packs/device-landscape/workflow_-device-restart-enforcement/usage-guide-device-restart-enforcement.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
