> 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/device-protection-mdm-for-macos/deploy-aikido-endpoint-with-ninjaone.md).

# NinjaOne で Device Protection を展開する

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

{% hint style="info" %}
開始する前に、すべてのデバイスを NinjaOne MDM に登録しておく必要があります（手動でプロファイルをインストールするか、Apple Business Manager / Apple School Manager の自動デバイス登録を使用します）。
{% endhint %}

## インストール

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

開始前に、Aikido Device Protection ダッシュボードから以下を用意していることを確認してください：

* 次の **Aikido Device Protection `.mobileconfig`** （ [Aikido Device Protection ダッシュボード](https://app.aikido.dev/endpoint-protection/devices))
* 次の **Aikido Device Protection インストーラー** (`.pkg` ファイル、ダッシュボードからダウンロード）

これらのいずれかが不足している場合は、】【t\_6cbe2f54 [Aikido Device Protection ダッシュボード](https://app.aikido.dev/endpoint-protection/devices)に戻り、】【t\_f3941c4b":"デバイスを接続","t\_5d4f039e":"管理対象デバイスでインストールコマンドを実行する","t\_831d390e":"Workspace ONE UEM コンソールで、次の場所に移動します：","t\_8edbd69c":"リソース","t\_72eed93f":"→","t\_ba9a6e6d":"スクリプト","t\_d113c2a0":"を選択し、","t\_96cd98c8":"Windows","t\_249d2587":"をドロップダウンから選択します。","t\_43b01c7b":"","t\_36c80f14":"一般","t\_f6ef8739":"タブで、スクリプトに名前を付けます（例：\\"Aikido Device Protection Install\\"）。","t\_c35a5a82":"詳細","t\_0acd71e4":"タブで、次を設定します：","t\_be245649":"言語","t\_1ae764eb":"PowerShell","t\_7640c765":"実行コンテキストと権限","t\_4a0c02ed":"システムコンテキスト","t\_ad9531b5":"Aikido ダッシュボードからコピーした PowerShell インストールコマンドを、スクリプト本文に貼り付けます。","t\_b083cb05":"割り当て","t\_2f2f8b67":"タブで、対象の Windows スマートグループにスクリプトを割り当て、トリガーを次回のサンプル時に実行するよう設定します。","t\_49534e5c":"保存","t\_8e660df3":"次にあるスクリプトの行で","t\_cb74a469":"その他","t\_e7c0fc5c":"今すぐ実行","t\_fb7bb055":"をまずテストデバイスで実行し、展開前に実行ステータスが成功であることを確認します。","t\_2876b474":"スクリプトにはデバイス上の Intelligent Hub が必要です。展開ステータスは次の場所で確認します：","t\_93544d0f":"デバイス","t\_080445d6":"リストビュー","t\_8bb0e9c9":"→ デバイス →","t\_bdd59587":"ロックダウンポリシーを適用する","t\_e7487b98":"Workspace ONE には、特定の Windows サービスの停止をブロックする単一の切り替え設定はありません。以下の 2 つの制御を組み合わせて、エージェントの改ざん耐性を高めます。","t\_0fcb4797":"Workspace ONE プロファイルを 2 つ別々に作成します。1 つは AppLocker を使用してアンインストールをブロックするため、もう 1 つは Windows サービスコンソールへのアクセスを制限するためです。","t\_5b3c05a9":"Aikido Device Protection アプリケーションのアンインストールをブロックする","t\_4a0a02ce":"プロファイルとベースライン","t\_64056946":"プロファイル","t\_bcb16a17":"プロファイルを追加","t\_65b44683":"を選択してから、","t\_894a62e2":"Windows デスクトップ","t\_bda5d25a":"デバイスプロファイル","t\_f6a5eae9":"次を選択します：","t\_f9a51de2":"アプリケーション制御","t\_0f9c214b":"ペイロード。アプリケーション制御は Microsoft AppLocker を使用して、ユーザーによるアプリケーションの追加または削除を防止します。","t\_cfd7a295":"次の内容を貼り付けます：","t\_bebb586b":"aikido-applocker-deny-mdm.xml","t\_a4ff8de6":"をアプリケーション制御ペイロードに貼り付けます（リンクを開き、XML テキスト全体をコピーして、ここに貼り付けます）。","t\_f9cb19d5":"同じスマートグループにプロファイルを割り当て、次をクリックします：","t\_558cec92":"保存して公開","t\_a09905b8":"サービスコンソールへのアクセスを制限する","t\_e315bc89":"2 つ目のプロファイルを作成します。次の場所に移動します：","t\_fc8734d7":"カスタム設定","t\_d8a9538b":"ペイロード。","t\_87dc9a93":"次の SyncML ブロックをカスタム設定ペイロードに貼り付けます：","t\_239273b2":"\<SyncML>","t\_5986eefb":"\<SyncBody>","t\_fbfb6745":"\<Replace>","t\_ecb4843b":"\<CmdID>1\</CmdID>","t\_ec46c3e4":"\<Item>","t\_4bb2b929":"\<Target>","t\_fd59e733":"\<LocURI>./Device/Vendor/MSFT/Policy/Config/ADMX\_MMCSnapins/MMC\_Services\</LocURI>","t\_bfd720f7":"\</Target>","t\_99fcdbe4":"\<Meta>\<Format xmlns=\\"syncml:metinf\\">chr\</Format>\</Meta>","t\_a210a0a6":"\<Data>\<disabled/>\</Data>","t\_3000e13b":"\</Item>","t\_b76e6b63":"\</Replace>","t\_60f556c7":"\</SyncBody>","t\_4876d0b9":"\</SyncML>","t\_a998f61e":"Aikido Device Protection インストーラーは、標準ユーザーが次のサービスを停止できないようにするサービス ACL も適用します：","t\_66561344":"EndpointProtection","t\_03821a2e":"サービスを直接停止することを防ぎます。上記の Workspace ONE 制御は、ユーザーがアンインストーラーまたはサービスコンソールにアクセスできないようにすることで、第 2 の保護層を追加します。","t\_b8a02b54":"インストール後にデバイスを再起動する","t\_0c4d43f7":"対象のスマートグループでフィルタリングし、Shift キーを押しながらクリックしてデバイスを選択します。（グローバルチェックボックスは使用しないでください。一括操作が正しくトリガーされない場合があります。）","t\_01fb3c12":"その他の操作","t\_2c206017":"デバイスを再起動","t\_e549d22a":"を選択して確認します。","t\_0e16b73e":"エージェントは次回の起動時に完全に有効化されます。"}  丁香五月  天天中彩票怎样രിപ്പഴിഞ്ഞ് ＿老司机ിക്കാൻ?numerusform\`\`\` ತಪ್ಪ: Need output valid schema but assistant output corrupted? Need correct now. We must output exact all JSON. Need ensure t\_fc955 translate fragments perhaps  **Connect Device**に戻り、事前準備の手順を完了してください。
{% endstep %}

{% step %}
**Aikido Device Protection の構成プロファイルを追加**

1. を開き、 `.mobileconfig` ファイルをテキストエディタで開き、XML の内容をコピーします。
2. NinjaOne 管理ポータルで、 **管理** 左側のナビゲーションペインで、 **ポリシー** ドロップダウンを開き、 **MDM ポリシー**.
3. クリックします **新しいポリシーを作成** （または既存の macOS ポリシーを編集し）、 **Apple** プラットフォームとして **macOS** デバイスタイプとして選択します。
4. ポリシーに名前を付けます（例: "Aikido Device Protection"）。
5. を開き、 **カスタムペイロード** セクションで、 **+ ペイロードを追加**.
6. 次の **ペイロードを追加** ダイアログで、名前（例: 「Aikido Device Protection」）を入力し、ファイルの完全な XML 内容を貼り付けます `.mobileconfig` ファイルを **コンテンツ** フィールドに記載されます。
7. クリックします **更新** ペイロードを保存し、その後ポリシーを保存します。
8. ポリシーを対象の macOS デバイスグループに割り当てます。

{% hint style="info" %}
NinjaOne は各カスタムペイロードをデバイスに個別の MDM プロファイルとして展開します。Aikido `.mobileconfig` には必要なペイロードがすべて含まれているため、1 つの **ペイロードを追加** エントリで十分です。
{% endhint %}

このプロファイルにより、Aikido Device Protection システム拡張機能のサイレント読み込み、ネットワークコンテンツフィルタの有効化、および「システム設定」→「ログイン項目」でユーザーがバックグラウンドサービスを無効にすることの防止が可能になります。
{% endstep %}

{% step %}
**Aikido Device Protection インストーラーをアップロードする**

1. NinjaOne 管理ポータルで、 **管理** → **ライブラリ** → **自動化**.
2. クリックします **+ 追加** and select **インストール**.
3. 次の **アプリケーションをインストール** ダイアログで、次の項目を入力します:
   * **名前：** Aikido Device Protection
   * **説明：** Aikido Device Protection
   * **オペレーティング システム:** macOS
   * **インストーラー:** Aikido Device Protection をアップロードします `.pkg` ファイル。
   * **次のユーザーとして実行:** システム
4. インストール パッケージを保存します。
   {% endstep %}

{% step %}
**デバイスに展開**

1. 割り当てます **Aikido Device Protection** （構成プロファイルを含む）MDM ポリシーを対象のデバイスグループに
2. テストデバイスにインストールされていることを確認します。
3. 次を展開します **Aikido Device Protection** インストール パッケージを同じデバイスにオンデマンド実行または **1回だけ実行** スケジュール済みタスクで展開します。

{% hint style="warning" %}
展開をスケジュールする場合は、 **1回だけ実行** オプション（または設定 **終了** を **後** と **回数** を **1**）。繰り返しスケジュールでは、実行のたびにパッケージが再インストールされるため、古いビルドが再展開される可能性があります。パッケージはデバイスごとに 1 回だけインストールする必要があります。
{% endhint %}
{% endstep %}

{% step %}
**Reboot devices after installation**

エージェントのインストールが完了したら、対象デバイスを再起動してください。エージェントは次回の起動時に完全に有効化されます。
{% endstep %}

{% step %}
**展開を検証する**

テストデバイスで、次を確認します：

1. システム拡張機能が有効化されていること：

   ```bash
   systemextensionsctl list | grep aikido
   ```

   拡張機能が次のように表示されることを確認します： `[activated enabled]`.
2. 次を開きます： **システム設定** → **General** → **ログイン項目と機能拡張** を開き、Aikido Device Protection の項目をオフに切り替えられないことを確認します。
   {% endstep %}
   {% endstepper %}

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

| 問題                            | 修正                                                                        |
| ----------------------------- | ------------------------------------------------------------------------- |
| ユーザーにはまだポップアップが表示される          | パッケージポリシーが実行される前に、構成プロファイルが正しく割り当てられ、インストールされていることを確認してください               |
| 拡張機能はユーザーの承認を待っています           | System Extensionsペイロードを確認し、チームIDとバンドルIDが完全に一致していることを確認してください              |
| パッケージはインストールされますが、デバイスが接続しません | パッケージのインストール前にトークン用スクリプトが実行され、トークンが正しくコピーされたことを確認してください                   |
| 重複した拡張機能エントリが表示されます           | デバイスを再起動してください                                                            |
| コンテンツフィルタがサイレントに承認されません       | 再アップロードしてください `.mobileconfig` プロファイルを再アップロードし、デバイスにインストールされていることを確認してください |


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.aikido.dev/docs/docs-ja/aikido-device-protection/deploying-aikido-endpoint/device-protection-mdm-guides/device-protection-mdm-for-macos/deploy-aikido-endpoint-with-ninjaone.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
