> 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-intune.md).

# IntuneでDevice Protectionを展開する

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

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

## インストール

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

開始する前に、Aikido Device Protection ダッシュボードから次のものを入手していることを確認してください:

* あなたの **PowerShell インストール コマンド** （ダッシュボードのユーザー グループ セレクターからコピーします。トークンとインストーラーのダウンロードを含みます）

もし見当たらない場合は、に戻って [Aikido Device Protection ダッシュボード](https://app.aikido.dev/endpoint-protection/devices)、をクリック **デバイスを接続**.
{% endstep %}

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

ダッシュボード コマンドを、システム コンテキストで実行される一回限りのプラットフォーム スクリプトとして展開します。

1. Intune 管理センターで、次へ移動します **デバイス** → **スクリプトと修復** → **プラットフォーム スクリプト** → **追加** → **Windows 10 以降**.
2. の **基本** タブで、名前（例: "Aikido Device Protection install"）と任意の説明を入力し、次を選択します **次に**.
3. の **スクリプト設定** タブで、保存します **PowerShell インストール コマンド** Aikido ダッシュボードから、～として `.ps1` ファイル（ファイルは 200 KB 未満で ASCII として保存されている必要があります）として保存し、次に、を使用してアップロードします **スクリプト ファイル** 参照ボタン。
4. 設定 **このスクリプトを、ログオン中の資格情報を使用して実行する** を **いいえ** これにより、スクリプトは SYSTEM として実行されます。
5. 設定 **スクリプト署名チェックを強制する** を **いいえ**.
6. 設定 **64 ビット PowerShell ホストでスクリプトを実行する** を **はい**.
7. を選択します **次に**、必要なスコープ タグを追加し、次を選択します **次に**.
8. オン **割り当て**、対象の Windows デバイス グループを選択し、次を選択します **次に**.
9. オン **確認 + 追加**、次を選択します **追加**.

{% hint style="info" %}
Intune Management Extension は 8 時間ごと、および再起動のたびにチェックインします。テスト デバイスでより早く実行させるには、次を再起動します: **Microsoft Intune Management Extension** そのデバイス上のサービス。
{% endhint %}
{% endstep %}

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

Aikido Device Protection アプリケーションのアンインストールをブロックします。

**Aikido Device Protection アプリケーションのアンインストールをブロックする**

Intune には、特定の Win32 アプリケーションに対して「アンインストール」を単純に非表示にする組み込み設定はありません。アンインストールを防ぐには、Aikido アンインストーラーの実行を拒否する AppLocker ポリシーを展開します。

1. Intune 管理センターで、次へ移動します **デバイス** → **デバイスの管理** → **設定** → **作成** → **新しいポリシー**.
2. 設定 **プラットフォーム** を **Windows 10 以降** および **プロファイルの種類** を **テンプレート**、次に選択します **カスタム**。選択します **作成**.
3. プロファイルに名前を付けます（例: "Aikido Device Protection uninstall block"）。
4. Aikido アンインストーラーを拒否する AppLocker XML ポリシーを適用する OMA-URI 設定を追加します:
   * **名前**: `Aikido AppLocker アンインストール ブロック`
   * **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 テキスト全体をコピーして、ここに貼り付けます）
5. 同じ Windows デバイス グループにプロファイルを割り当てます。

{% hint style="info" %}
エンド ユーザーがローカル管理者である場合、AppLocker ルールは回避される可能性があります。より強力に適用するには、このポリシーを App Control for Business (WDAC) およびローカル管理者権限の削除と組み合わせてください。
{% endhint %}
{% endstep %}

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

1. Intune 管理センターで、次へ移動します **デバイス** → **すべてのデバイス** → **一括デバイス操作**.
2. の **基本** タブで、を設定します **OS** を **Windows** および **デバイスの操作** を **再起動**、次に選択します **次に**.
3. の **デバイス** タブで、対象のデバイス（1 回の一括操作につき最大 100 台）を選択し、次を選択します **次に**。より大きなグループの場合は、一括操作をバッチごとに繰り返すか、次を割り当てます **再起動** を、を介してデバイス グループにコンプライアンス アクションとして **エンドポイント セキュリティ** → **デバイス コンプライアンス** → **ポリシー** を代わりに使用してください。
4. オン **確認 + 作成**、次を選択します **作成**.

エージェントは次回の起動時に完全に有効化されます。
{% 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-intune.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.
