Advertisement

How to Change Drive Letter in Windows 10

By default, Windows 10 automatically assigns drive letters to connected drives, including internal and external drives. You might want to change these letters. Here is how it can be done.

Advertisеment

Windows 10 assigns an available drive letter to a new drive connected to the computer. The operating system goes through the alphabet from A to Z to find the first available letter to assign it to various drives. Historically, it reserves the drive letters A and B for floppy drives.

Modern Windows versions assign the C letter to the system partition which Windows is installed on. Even in a dual-boot configuration, Windows 10 displays its own system partition as C:.

USB Drive Icon In This Pc With Setup

Changing drive letters will allow re-arranging drives in the This PC folder. This can be useful after you add an extra drive or create a new partition. For example, you might want to change its drive letter to display it before the DVD drive. Also, when you change the drive letter of a USB drive, it will be assigned permanently. Often Windows 10 randomly changes the drive letter for external drives when you connect them, so this way you can make this process more predictable.

Tip: Show drive letters before drive names in This PC / Computer folder.

There are a number of methods you can use to change the drive letter of a drive in Windows 10. Let's review them.

To change the drive letter in Windows 10, do the following.

  1. Press the Win + X keys together.
  2. In the menu, select Disk Management.Win+X Menu Disk Management Command
  3. In Disk Management, right-click on the partition whose drive letter you would like to change. Select Change Drive Letter and Paths in the context menu.Windows 10 Change Drive Letter And Paths Menu
  4. In the next dialog, click on the Change... button.Windows 10 Change Drive Letter Button
  5. Select Assign the following drive letter and choose the desired letter in the drop down list. Windows 10 Select New Drive LetterConfirm the change.Windows 10 Confirm New Drive Letter

You are done. The drive will appear in File Explorer under the letter you've chosen.

Change the drive letter in the command prompt

  1. Open an elevated command prompt.
  2. Type diskpart.
  3. Type list volume to see all drives and their partitions.Windows 10 Diskpart List Volume
  4. Look at the ### column in the output. You need to use its value with the command select volume NUMBER. Substitute the NUMBER portion with the actual partition number for which you want to change the drive letter.Diskpart Select Volume
  5. Type the command assign letter=X to change the drive letter. Substitute the X portion with a desired letter. Note: If the new drive letter you are trying to use is not available, you will get an appropriate error message.Diskpart Assign Drive Letter

You are done.

Change the drive letter in PowerShell

  1. Open an elevated PowerShell instance.
  2. Type Get-Partition to see the list of your partitions.Windows 10 PowerShell Get Partition
  3. Note the drive letter and type the next command:
    Get-Partition -DriveLetter <your_current_drive_letter> | Set-Partition -NewDriveLetter <a_new_drive_letter>

    For example, the command can look as follows:

    Get-Partition -DriveLetter H | Set-Partition -NewDriveLetter F

    PowerShell Assign Drive Letter

That's it!

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Advertisеment

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

One thought on “How to Change Drive Letter in Windows 10”

Leave a Reply

Your email address will not be published.

css.php
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.