How to change drive letter on Windows 11

Here are four ways to assign a different letter to a drive on Windows 11.

Windows 11 change drive letter
Windows 11 change drive letter

On Windows 11, a “drive letter” is automatically assigned to each internal storage, USB drive, DVD drive, and map network drive to identify the volume and make it available on File Explorer or other applications. However, you can change the drive letter to anything you want without deleting the data on the storage. For instance, if you want a drive to use a specific letter related to the content, or the system tries to assign a letter already in use, preventing the storage from appearing on File Explorer and apps.

Whatever the reason, on Windows 11, you can assign a different drive letter in at least four ways using the Settings app, Disk Management, Command Prompt, and PowerShell.

A drive letter (or device letter) can be any character from the English alphabet. However, you cannot use the “C:” because it’s reserved for the main storage that contains the installation. Also, “A:” and “B:” are reserved letters that used to be assigned automatically to floppy drives.

This guide will teach you how to assign a new drive letter on Windows 11.

Change drive letter on Windows 11

To change the drive letter on Windows 11, use these steps:

  1. Open Settings on Windows 11.

  2. Click on System.

  3. Click the Storage tab.

  4. Under the “Storage management” section, click the “Advanced storage settings” option.

  5. Click on Disks & volumes.

    Open Disks & volumes

  6. Select the drive with the volume with the letter to change.

  7. Select the volume and click the Properties button.

    Open driver properties

  8. Click the “Change drive letter” button.

    Change drive letter

  9. Select the new drive letter for the device connected to Windows 11.

    Assign drive letter on Windows 11

  10. Click the OK button.

Once you complete the steps, the system will change the drive’s letter on Windows 11.

Change drive letter from Disk Management

To change the drive letter with Disk Management, use these steps:

  1. Open Start.

  2. Search for Create and format disk partitions and click the top result to open the Disk Management tool.

  3. Right-click the volume and select the “Change Drive Letter and Paths” option.

    Change drive letter and paths

  4. Click the Change button.

    Disk Management change drive letter

  5. Select the “Assign the following drive letter” option.

  6. Choose a different letter for the drive.

    Disk Management assign new drive letter

  7. Click the OK button.

  8. Click the OK button again.

After completing the steps, the drive will appear in File Explorer with the new letter.

Change drive letter from Command Prompt on Windows 11

To add a new drive letter with Command Prompt, use these steps:

  1. Open Start.

  2. Search for Command Prompt, right-click the result, and select the Run as administrator option.

  3. Type the following command to launch diskpart and press Enter:

    diskpart
  4. Type the following command to list the volumes and press Enter:

    list volume
  5. Type the following command to select the volume (drive) to change the letter and press Enter:

    select volume 2

    In the command, change “2” for the number corresponding to the storage you want to change the letter.

  6. Type the following command to change the drive letter on Windows 11 and press Enter:

    assign letter=H

    In the command, change “H” for the letter you want to use with the drive.

    DiskPart change drive letter

Once you complete the steps, the diskpart tool will assign the new letter to the storage.

Change drive letter from PowerShell on Windows 11

To change a Windows 11 drive letter with PowerShell, use these steps:

  1. Open Start.

  2. Search for PowerShell, right-click the result, and select the Run as administrator option.

  3. Type the following command to identify the hard drive to change the letter and press Enter:

    Get-Disk
  4. Type the following command to assign or change the drive letter to internal or external and press Enter:

    Get-Partition -DiskNumber 0 | Set-Partition -NewDriveLetter F

    In the above command, change “0” with the disk number of the drive you want to format and “F:” with the letter you wish to assign to the storage.

    PowerShell change drive letter

After completing the steps, the drive will have a new letter assignment. If the drive was previously missing, it will appear in File Explorer.

About the author

Mauro Huculak is a Windows expert and the Editor-in-Chief who started Pureinfotech in 2010 as an independent online publication. He is also been a Windows Central contributor for nearly a decade. Mauro has over 12 years of experience writing comprehensive guides and creating professional videos about Windows, software, and related technologies, including Android and Linux. Before becoming a technology writer, he was an IT administrator for seven years. In total, Mauro has over 20 years of combined experience in technology. Throughout his career, he achieved different professional certifications from Microsoft (MSCA), Cisco (CCNP), VMware (VCP), and CompTIA (A+ and Network+), and he has been recognized as a Microsoft MVP for many years. You can follow him on X (Twitter), YouTube, LinkedIn and About.me.