大网数据广告活动
磁盘与文件系统

Change a Drive Letter

· 52CE 我爱测

Change or assign a Windows drive letter to a drive by using the Change Drive Letter and Paths feature with the Disk Management utility in Windows.

This article describes how to manage the drive letter assigned to a drive in Windows by using the Disk Management utility. Use this procedure to complete the following tasks:

  • Change the assigned drive letter for an existing drive
  • Assign a drive letter to a new drive

An alternate approach is to mount the drive in an empty folder so the drive appears as a folder. For more information, see Mount a drive in a folder.

Prerequisites

To complete the procedure in this article, the following prerequisites must be met:

  • The user account must be a member of the Backup Operators or Administrators group.

  • A new drive or an existing drive that doesn't store the Windows operating system or any applications.

    [!IMPORTANT] If you change the drive letter of a drive that contains Windows or apps, the apps might have trouble running or finding the drive. The recommended approach is to not change the drive letter of a drive that contains Windows or apps.

Change or assign a drive letter

The following steps show how to change the drive letter:

  1. From the Windows Start menu, search for and open Disk Management with Administrator permissions.

  2. Expand the Storage node and select Disk Management.

  3. Locate the volume for which you want to manage the assigned drive letter. Right-click the volume and select Change Drive Letter and Paths.

    :::image type="content" source="media/change-drive-letter.png" alt-text="Screenshot showing the Disk Management window with the Change Drive Letter and Paths feature selected.":::

    If the Change Drive Letter and Paths option is missing or not available, see Troubleshoot volume and drive.

  4. Update the drive letter assignment:

    • To change the existing drive letter assignment, select Change.

    • To add a drive letter for a new drive, select Add.

    :::image type="content" source="media/change-drive-letter2.png" alt-text="Screenshot of the Change Drive Letter and Paths dialog that shows how to select Change or Add for a drive letter assignment.":::

  5. Select the Assign the following drive letter option. Expand the dropdown list, select the drive letter to apply, and select OK.

    :::image type="content" source="media/change-drive-letter3.png" alt-text="Screenshot of the Change Drive Letter or Path dialog that shows how to assign a new drive letter.":::

  6. In the confirmation dialog, select Yes and complete the assignment.

Troubleshoot volume and drive

Here are some troubleshooting tips to help you manage the drive letter assignment process:

  • If the Change Drive Letter and Paths option is missing for the volume you want to manage, or the option isn't available (grayed), then the volume isn't ready to receive an assigned drive letter.

    Some possible issues include:

    • The selected drive is unallocated and needs to be initialized.

    • The selected drive isn't accessible, which is the case for EFI System partitions and Recovery partitions. For more information, see View drives and partitions.

    • You have insufficient permissions to change the assignment.

    Ensure the volume you want to manage is initialized and accessible, and confirm your Administrator permissions.

  • If the volume is formatted with a drive letter, and you have access to the volume but you're unable to change the assignment, the issue resolution requires assistance beyond the scope of this article. You can contact Microsoft Support or the manufacturer of your computer.

Related content

Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 06/24/2025
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。