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

# Scalefusion で Device Protection を導入

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

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

## インストール

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

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

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

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

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

ダッシュボード コマンドを、デバイス レベルで実行される PowerShell スクリプトとして展開します。

1. 保存する **PowerShell インストール コマンド** Aikido ダッシュボードから、…として `.ps1` ファイル。
2. Scalefusion ダッシュボードで、次へ移動します **アプリケーション管理** → **エンタープライズストア** → **新しいアプリをアップロード**.
3. 選択 **PowerShell (PS1)** ドロップダウンから選択し、次にアップロードする `.ps1` ファイル。
4. スクリプト名（例: 「Aikido Device Protection install」）を入力して Device Profiles で識別し、次を設定します。 **実行レベル** を次に設定します: **デバイス**、次にクリック **保存**.
5. Scalefusion の処理が完了したら、次をクリックします。 **公開**、スケジュールを次に設定します **公開時に 1 回実行**、対象の Windows Device Profile を選択します。

{% hint style="info" %}
その **実行レベル** 必須です **デバイス**。ユーザーレベルのスクリプトには、Aikido Device Protection サービスを登録するために必要な権限がありません。
{% endhint %}
{% endstep %}

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

Aikido アンインストーラーの実行を拒否する AppLocker ポリシーを展開して、Aikido Device Protection アプリケーションのアンインストールをブロックします。

1. Scalefusion ダッシュボードで、次へ移動します **デバイスプロファイルとポリシー** → **デバイスプロファイル** そして、対象の Windows Device Profile を編集します。
2. 移動先 **設定** → **カスタム設定** ペイロード エディターを開くには
3. Aikido アンインストーラーを拒否する AppLocker XML ポリシーを適用する SyncML ペイロードを入力します:

   ```xml
   <Add>
       <CmdID>1</CmdID>
       <Item>
           <Target>
               <LocURI>./Vendor/MSFT/AppLocker/ApplicationLaunchRestrictions/Aikido/MSI/Policy</LocURI>
           </Target>
           <Meta>
               <Format xmlns="syncml:metinf">chr</Format>
           </Meta>
           <Data>ESCAPED_APPLOCKER_XML_HERE</Data>
       </Item>
   </Add>
   ```
4. 置き換えてください `ESCAPED_APPLOCKER_XML_HERE` の内容を [aikido-applocker-deny-mdm.xml](https://raw.githubusercontent.com/AikidoSec/safechain-internals/refs/heads/main/docs/aikido-applocker-deny-mdm.xml) （リンクを開いて XML 全文をコピーし）、XML の特殊文字をエスケープして、ポリシーが次の中で有効になるようにします: `<Data>` 要素: すべての `&` を `&amp;`、すべての `<` を `&lt;`、およびすべての `>` を `&gt;`.
5. クリック **検証** そして、緑のチェックマークを確認します。
6. クリック **保存** ペイロードを同じ Windows Device Profile に適用するには。

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

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

1. Scalefusion ダッシュボードで、次へ移動します **デバイス** そして、各対象デバイスを選択します。
2. クリック **アクション** をクリックして、次を選択します: **再起動**.

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