> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/ja/realmjoin-agent/realmjoin-client/multi-user-devices.md).

# 複数ユーザー共有デバイス

この記事では、展開および管理するための手法を説明します **Intune のマルチユーザーデバイス** を使用して **Windows Autopilot Self-Deployment** と組み合わせて **RealmJoin DEM（Device Enrollment Manager）アカウント**.

この概念により、管理者は次のことが可能になります：

* デバイスをプロビジョニングする **割り当てることなく** 実際の **ユーザー** 中に **Autopilot/Intune の登録**
* 専用の **RealmJoin DEM アカウント** を使用して **プライマリ ユーザー**
* **パッケージを展開する** 共有デバイスで更新が確実に適用されるようにする

## 概念

* 次を使用してデバイスを展開します **Windows Autopilot Self-Deployment Mode** — これにより、ユーザーを割り当てずに Autopilot のプロビジョニングが完了します。
* **最初にサインインする** 専用の **RealmJoin DEM アカウント**.
  * DEM アカウントは、RealmJoin データベースで特別なマルチユーザーデバイスアカウントの種類としてマークされた専用グループによって識別されます。
* RealmJoin はこの DEM アカウントを自動的に **プライマリ ユーザー** デバイスのプライマリ ユーザーとして設定します。
* **割り当てる** 必要な **RealmJoin パッケージ** サポートされている割り当て方法のいずれかを使用して、共有デバイス上のすべてのユーザーが利用できるようにします。

## 要件

### Intune Autopilot 登録

これらの共有デバイスを登録するには、展開モード「Self-Deploying」を選択します：

<figure><img src="/files/383d5c4982e87e11cc003364554083ecae69c14e" alt=""><figcaption></figcaption></figure>

### RealmJoin DEM アカウント（複数可）

対応するサービス アカウントを作成します。アカウントは次の条件を満たす必要があります：

* 適切にライセンスされている必要があります（例：Intune ライセンス）
* 共有デバイスの使用期間中、利用可能な状態を維持する必要があります
* 次の専用 DEM グループに追加する必要があります

### RealmJoin DEM グループ

専用グループを作成します **すべての DEM アカウントを含む** 共有デバイス登録アカウントを表すために

{% hint style="info" %}
作成後、次を送ってください **オブジェクト ID** そのグループのものを当社の **RJ サポート**。この特別なグループはバックエンドでフラグ付けします。
{% endhint %}

### パッケージ割り当てオプション

どちらのオプションでも **自動的に変更されます** その **既定の Script Restrictions** — その結果、 **セカンダリ ユーザー** 〜できます **ソフトウェア パッケージをインストール/更新する** **割り当てられた** に **共有デバイスまたは DEM ユーザー**.

#### オプション A: パッケージをデバイスに割り当てる

パッケージは **デバイスに直接割り当てられます** （例：共有デバイスを対応する RJ アプリ グループに入れます）。

{% hint style="info" %}
RJ サポートに確認してください、 **デバイス割り当て機能** がテナントで有効になっている場合。
{% endhint %}

#### オプション B: パッケージを DEM ユーザーに割り当てる

パッケージは代わりに **DEM ユーザー アカウントに直接割り当てることができます**。セカンダリ ユーザーは割り当てられたソフトウェアを自動的に継承します。このため、ユースケースごとに DEM アカウントを用意すると便利です。

## 推奨事項

### パッケージ設定

{% hint style="info" %}
マルチユーザーデバイスは通常、比較的短いセッションで使用されるため、通常の運用中にパッケージのインストールや更新を行う機会は限られています。 **確実に** 〜が **ソフトウェアの展開と更新** が **処理される** できるだけ **迅速に** および **確実に** 可能な限り、私たちは **強く推奨します** 次の **設定を適用することを**.

これらを次にスコープできます **RealmJoin DEM グループ**.
{% endhint %}

| 設定                                                 | 値      | 説明                                                                                                 |
| -------------------------------------------------- | ------ | -------------------------------------------------------------------------------------------------- |
| `SoftwarePackageOverrides.AllowBackgroundInstall`  | `true` | 実行します **パッケージの更新/インストールを直接** 後に **構成更新**.                                                          |
| `SoftwarePackageOverrides.IgnorePhaseRestrictions` | `true` | パッケージのフェーズ制限を上書きし、次を含むすべてのフェーズを有効にします **ログオン**。これにより、保留中のソフトウェアのインストールと更新を処理できます **ユーザーのログオン直後に**. |

参考： [利用可能な RealmJoin ポリシー](/ja/ugd-management/user-and-group-settings/additional-settings.md#global-override-of-software-package-behavior)

## 登録フロー

{% stepper %}
{% step %}

### 準備

* [ ] Autopilot の「Self-Deploying」登録を設定する
* [ ] RealmJoin DEM アカウントを作成する
* [ ] RealmJoin DEM グループを作成する
* [ ] RJ サポートに連絡する
  * [ ] 「RealmJoin DEM グループ」をマークするために
  * [ ] デバイス割り当て機能がテナントで有効になっていることを確認する
* [ ] 必要なパッケージを割り当てる
  {% endstep %}

{% step %}

### Autopilot Self-Deploying

デバイスは Autopilot 登録を開始します - Intune Enrollment Status Page（ESP）は次のフェーズを順に実行します：

* デバイス準備：例：Entra Join と Intune オンボーディング
* デバイスのセットアップ： **RealmJoin エージェント** はそのフェーズで **インストールされる必要があります**
  {% endstep %}

{% step %}

### Windows サインイン

Windows は最初のユーザーのサインインを待機します。この段階では、 **専用の RealmJoin DEM アカウントを使用してログオンする必要があります**。RealmJoin はそのアカウントを自動的に検出し、 **割り当てます** それを次として **デバイスのプライマリ ユーザー**.

{% hint style="info" %}
DEM アカウント以外のアカウントでログオンしないでください。そうするとプライマリ ユーザーの割り当てが誤りとなり、マルチユーザーデバイスのロジックが機能しなくなります。
{% endhint %}
{% endstep %}

{% step %}

### Autopilot が完了します

Autopilot 登録の残りの処理が実行されます。
{% endstep %}

{% step %}

### パッケージの展開

RealmJoin は初期フェーズを開始し、 **割り当てられたソフトウェアを展開します** に **DEM アカウントおよび/または共有デバイス**.
{% endstep %}

{% step %}

### デバイスは他のユーザーの準備ができています

他のユーザーがログインします。 **ソフトウェア** DEM に割り当てられたものは **継承され** それらに引き継がれ、次に割り当てられたパッケージも **デバイス** でも利用できます。
{% endstep %}
{% endstepper %}


---

# 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://docs.realmjoin.com/ja/realmjoin-agent/realmjoin-client/multi-user-devices.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.
