> For the complete documentation index, see [llms.txt](https://docs.konnekt.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.konnekt.io/ja/configuration/mappings/assign-drive-letters.md).

# ドライブ文字を割り当てる

## OneDrive for Business ライブラリにドライブ文字を割り当てる

この設定を使用すると、OneDrive for Business ライブラリにドライブ文字を構成できます。

既定値は `H:`

代わりに、以下のオプションでこの機能を構成することもできます:

### 設定メニュー

![](/files/27dbbdc9de7e8a2ce6aef67e913da3c26586443a)

### GPO/Intune

当社の [ADMX テンプレート](/ja/configuration/management-options.md#admx-adml-files) を使用してこの設定を構成するか、Intune 管理経由で行ってください。

ポリシー名: `ドライブの接続`

{% hint style="info" %}
ポリシーの適用後、マシンの再起動が必要です
{% endhint %}

#### KONNEKT 2.6.0 以降:

| ポリシー設定 |                    値                    | 動作                                                                                                                             |
| :----: | :-------------------------------------: | ------------------------------------------------------------------------------------------------------------------------------ |
|   未構成  |                   該当なし                  | <p>KONNEKT は既定で H: を OneDrive for Business のドキュメント ライブラリに割り当てます。<br>ユーザーは設定メニューでこの設定を変更できます。<br>OneDrive は既定で H: にマップされます。</p> |
|   無効   |                   該当なし                  | <p>KONNEKT は OneDrive for Business のドキュメント ライブラリにドライブ文字を割り当てません。<br>ユーザーは設定メニューでこの設定を変更できません。</p>                              |
|   有効   | <p>\<drive-letter>:</p><p>（例: "H:"）</p> | <p>KONNEKT は、構成されたドライブ文字を OneDrive for Business のドキュメント ライブラリに割り当てます。<br>ユーザーは設定メニューでこの設定を変更できません。</p>                         |

#### 2.6.0 より前の KONNEKT

| ポリシー設定 |                    値                    | 動作                                                                                                                                                                                |
| :----: | :-------------------------------------: | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   未構成  |                   該当なし                  | <p>KONNEKT は既定で H: を OneDrive for Business のドキュメント ライブラリに割り当てます。<br>ユーザーは設定メニューでこの設定を変更できます。<br>OneDrive は既定で H: にマップされます。</p>                                                    |
|   無効   |                   該当なし                  | KONNEKT は既定のドライブ文字を割り当ててマップします！ OneDrive for Business のドキュメント ライブラリへのドライブ マッピングを無効にするには、ポリシーを有効にして、 **ドライブ** で **オプション** を **無効に設定してください。** 設定メニューの設定項目は、ユーザーによる変更ができないよう無効化されます。 |
|  有効にする |                   "無効"                  | KONNEKT は OneDrive for Business のドキュメント ライブラリにドライブ文字を割り当てません。設定メニューの設定項目は、ユーザーによる変更ができないよう無効化されます。                                                                                |
|  有効にする | <p>\<drive-letter>:</p><p>（例: "H:"）</p> | KONNEKT は、構成されたドライブ文字を OneDrive for Business のドキュメント ライブラリに割り当てます。設定メニューの設定項目は、ユーザーによる変更ができないよう無効化されます。                                                                           |

### レジストリ

**キー名:** `ConnectDrive`\
**キーの種類:** REG\_SZ（文字列値）

## "net use" を使用して他のフォルダーにドライブ文字を割り当てる

を使用して、KONNEKT フォルダーにドライブ文字を割り当てることができます。 *`net use`* コマンド。

**使用方法**

```
net use <DRIVE-LETTER>: <KONNEKT-UNC-PATH> [/PERSISTENT:{YES | NO}]
```

詳細については *`net use`* コマンドを参照するか、 [こちらから](https://ss64.com/nt/net-use.html)、または `net use /?` をコマンド プロンプトで実行してください。

{% hint style="info" %}
通常ユーザーでの接続エラーを避けるため、管理者権限なしで CMD を実行してください。
{% endhint %}

{% hint style="info" %}
**注:** フォルダー名にスペースが含まれている場合は、次の例のように UNC パスを " " で囲む必要があります。
{% endhint %}

**例:**

![](/files/ea3b131fa541c8b3f1b2d63e14b10e723cb4ea99)

**結果:**

![](/files/d7f33efb8ee8e306fc2b2448ac6c0083775b824b)

## Managed Mappings でドライブ文字を割り当てる

サイトやライブラリにドライブ文字を割り当てるには、 [Managed Mappings](/ja/configuration/mappings/managed-mappings.md).

## **ポリシーを適用する方法はいくつかあります:**

* マシンまたはユーザーのレジストリ設定の下でレジストリにキーを追加して手動で
* GPO で、参照 [GPO での設定](/ja/configuration/management-options/settings-via-gpo.md)
* Intune でポリシーを配信することで、参照 [Intune 管理対象デバイスの設定](/ja/configuration/management-options/setting-for-intune-managed-devices-1/intune-mappings.md#connect-drive)

**ポリシー** 保存先:

`HKEY_CURRENT_USER\SOFTWARE\Policies\glueckkanja\Konnekt`

`HKEY_LOCAL_MACHINE\SOFTWARE\Policies\glueckkanja\Konnekt`


---

# 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.konnekt.io/ja/configuration/mappings/assign-drive-letters.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.
