> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/aikido-device-protection/deploying-aikido-endpoint/device-protection-mdm-guides/windows/deploy-aikido-endpoint-with-hexnode.md).

# Hexnode でデバイス保護を展開

必要な権限を設定したうえで、Hexnode UEM を使用して管理対象の Windows フリート全体に Aikido Device Protection を展開します。

{% hint style="info" %}
開始する前に、すべてのデバイスを Hexnode の Windows 管理に登録しておく必要があります。
{% endhint %}

## インストール

{% stepper %}
{% step %}
**必要なもの**

開始前に、Aikido Device Protection ダッシュボードから次のものを用意してください:

* お客様の **PowerShell インストール コマンド** （ダッシュボードのユーザーグループ選択欄からコピー）

見つからない場合は、次に戻ってください: [Aikido Device Protection ダッシュボード](https://app.aikido.dev/endpoint-protection/devices)、次をクリックします: **Connect Device**.
{% endstep %}

{% step %}
**管理対象デバイスでインストール コマンドを実行する**

Hexnode の「カスタムスクリプトの実行」アクションを使って、Aikido ダッシュボードから PowerShell コマンドを Windows フリートにプッシュします。

1. Hexnode ポータルで、次へ移動します **管理** → **デバイス** そして、対象の Windows デバイスを選択するか、デバイスグループを開きます。
2. 開く **アクション** → **その他** → **カスタムスクリプトの実行**.
3. 次を選択します **Windows** をプラットフォームとして。
4. 選択 **PowerShell スクリプト** をスクリプトの種類として。
5. Aikido Device Protection ダッシュボードからコピーしたインストールコマンドをスクリプト本文に貼り付けます。
6. タイムアウトを少なくとも **30 分** に設定して、インストーラーのダウンロード時間を確保します。
7. クリック **実行** してコマンドをプッシュします。Hexnode は既定で Windows 上のカスタムスクリプトをデバイス（SYSTEM）コンテキストで実行しますが、Aikido インストーラーにはそれが必要です。

各デバイスの実行状況は次で確認できます **管理** → **アクション履歴**.
{% endstep %}

{% step %}
**ロックダウン ポリシーを適用する**

Aikido Device Protection アプリのアンインストールをブロックするには、カスタム構成ポリシーを使用します。

1. Hexnode ポータルで、次へ移動します **ポリシー** そして、Windows 用の新しい空のポリシーを作成します。
2. 次の下で **Windows** タブで、次へ移動します **設定** に移動し、 **設定** の横にある **カスタム構成を展開**.
3. クリック **ペイロードを追加** を選択し、次を入力します。
   * **名前**: `Aikido のアンインストールをブロック`
   * **OMA-URI**: `./Vendor/MSFT/AppLocker/ApplicationLaunchRestrictions/Aikido/MSI/Policy`
   * **データ型**: `文字列`
   * **値**：次の内容を貼り付けます [aikido-applocker-deny-mdm.xml](https://raw.githubusercontent.com/AikidoSec/safechain-internals/refs/heads/main/docs/aikido-applocker-deny-mdm.xml) （リンクを開き、XML テキスト全体をコピーして、ここに貼り付けます）
4. 移動先 **ポリシー対象**で、ポリシーを同じ対象デバイスまたはデバイスグループに割り当てて保存します。

2 層目として、Aikido Device Protection インストーラーを次に追加します **必須アプリ** これにより、削除された場合でも Hexnode が自動的に再インストールします:

1. Hexnode ポータルで、次へ移動します **ポリシー** そして、同じ Windows ポリシーを編集します。
2. 次の下で **Windows** タブで、次へ移動します **アプリ管理** に移動し、 **設定** の横にある **必須アプリ**.
3. Aikido Device Protection アプリ（Hexnode のエンタープライズアプリカタログにアップロード済み）を追加して保存します。

{% hint style="warning" %}
Aikido Device Protection サービスは、ユーザーによる改ざんに耐えられるよう、インストーラーによって OS レベルで強化されています。サービス保護のために追加の Hexnode ポリシーは不要です。
{% endhint %}
{% endstep %}

{% step %}
**インストール後にデバイスを再起動する**

1. Hexnode ポータルで、次へ移動します **管理** → **デバイス** そして、対象の Windows デバイスを選択するか、デバイスグループを開きます。
2. 選択 **アクション** → **デバイス制御** → **デバイスを再起動**.
3. クリック **再起動** 確認ダイアログで

エージェントは次回の起動時に完全に有効化されます。
{% endstep %}
{% endstepper %}

## トラブルシューティング

| 問題                           | 修正                                                                                                     |
| ---------------------------- | ------------------------------------------------------------------------------------------------------ |
| スクリプト実行後、デバイスがダッシュボードに表示されない | デバイスを再起動してください。次回の起動時にエージェントが完全に登録されます                                                                 |
| MDM コンソールでスクリプトがエラーで終了する     | 完全なエラーを確認するため、テストホストでスクリプトを SYSTEM として手動実行してください。また、インストーラーをダウンロードするためにデバイスがインターネットにアクセスできることを確認してください |
| エージェントサービスが実行されていない          | デバイスを再起動してください。サービスがまだ存在しない場合は、インストールスクリプトを再実行してください                                                   |
| 実行ポリシーによってスクリプトがブロックされている    | MDM 経由で実行されるスクリプトは SYSTEM として実行され、ユーザーレベルの実行ポリシー制限を回避します。MDM がスクリプト実行を制限する追加のポリシーを適用していないことを確認してください   |
| インストール後、デバイスが非アクティブとして表示される  | エージェントが完全に有効化されるには再起動が必要です。再起動後に確認してください                                                               |


---

# 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://help.aikido.dev/docs/docs-ja/aikido-device-protection/deploying-aikido-endpoint/device-protection-mdm-guides/windows/deploy-aikido-endpoint-with-hexnode.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.
