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

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

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

{% hint style="info" %}
すべてのデバイスは、次の方法で Miradore Windows 管理に登録されている必要があります。 **完全登録** 方式。Windows 10/11 Home では、ソフトウェアの展開とリモート再起動はサポートされていません。
{% endhint %}

## インストール

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

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

* お客様の **PowerShell インストール コマンド** （ダッシュボードのユーザー グループ セレクターからコピーします。トークンとインストーラーのダウンロードが含まれます）

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

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

ダッシュボードのコマンドを `.ps1` ファイルに入れ、Business Policy を介して Windows アプリケーションとして展開します。

1. ダッシュボードの PowerShell コマンドを次の名前のファイルとして保存します `install-aikido.ps1`.
2. Miradore 管理コンソールで、次へ移動します **管理** → **アプリケーション**.
3. クリック **追加** → **Windows アプリケーション** → **詳細設定（ファイルのアップロード）** → **次に**.
4. 必要な項目を入力します：
   * **アプリケーション名** （例: 「Aikido Device Protection インストーラー」）
   * **ファイル**：選択 `install-aikido.ps1`
   * **コマンドの種類**: **PowerShell を実行**
   * **インストール コマンド**: `powershell.exe -ExecutionPolicy Bypass -File .\install-aikido.ps1`
5. クリック **作成**をクリックし、その後 **閉じる**.
6. 移動先 **管理** → **ビジネスポリシー** に移動し、 **追加**.
7. ポリシーに名前を付け、作成した Windows アプリケーションを追加し、タグを使用して対象デバイスを割り当て、ステータスを **有効**.

Miradore Client は、次回チェックイン時に各対象デバイス上でスクリプトを実行します。Miradore Client は SYSTEM アカウントで Windows サービスとして実行されるため、インストーラーにはエージェントの登録とトークンの書き込みに必要な権限があります。
{% endstep %}

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

AppLocker の OMA-URI を使用してカスタム ポリシーを展開し、Aikido Device Protection のアンインストールをブロックします。

1. 移動先 **管理** → **構成プロファイル**、次をクリックします: **追加** → **Windows** → **カスタム ポリシー**.
2. 次の値を持つペイロードを追加します：
   * **OMA-URI**: `./Vendor/MSFT/AppLocker/ApplicationLaunchRestrictions/Aikido/MSI/Policy`
   * **データ型**：String
   * **値**：次の内容を貼り付けます [aikido-applocker-deny-mdm.xml](https://raw.githubusercontent.com/AikidoSec/safechain-internals/refs/heads/main/docs/aikido-applocker-deny-mdm.xml) （リンクを開き、XML テキスト全体をコピーして、ここに貼り付けます）
3. クリック **追加**。その後、そのプロファイルを、インストーラーで使用したのと同じ Business Policy に添付します。

補助的な制御として、MDM からの登録解除もブロックできます。次の値を持つ 2 つ目のペイロードを追加します **OMA-URI** `./Vendor/MSFT/Policy/Config/Experience/AllowManualMDMUnenrollment`, **データ型** 整数、 **値** `0`.

{% hint style="warning" %}
Aikido Device Protection のインストーラーは、OS レベルで EndpointProtection サービスの ACL を強化するため、標準ユーザーはそれを停止または無効化できません。ユーザーがローカル管理者として実行している場合は、上記の AppLocker アンインストール ブロックとローカル管理者権限の削除を組み合わせることで、より強力に適用できます。
{% endhint %}

{% hint style="info" %}
管理対象デバイスでローカル管理者権限を制限するには、既存の Windows グループ ポリシーまたは Active Directory の設定を使用します。Miradore はアカウントの権限制限を直接適用しません。
{% endhint %}
{% endstep %}

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

インストーラーが成功を報告した後、Miradore 管理コンソールから各対象デバイスの再起動をトリガーします。

1. 移動先 **管理** → **デバイス** そして対象デバイスを開きます。
2. ページのツールバーで、次をクリックします **アクション** → **デバイスを再起動**.
3. ウィザードで次をクリックして確認します **再起動**.
4. 管理対象デバイスごとに繰り返します。

デバイスは、アクションが届いてから約 5 分後に再起動します。エージェントは次回の起動時に完全に有効化されます。
{% 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-miradore.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.
