How to assign a drive letter using Disk Management
On Windows 10, you can manage drive letters without third-party tools using Disk Management.
To assign a new drive letter, do the following:
- Use the Windows key + X keyboard shortcut to open the Power User menu.
- Select Disk Management.
- Right-click the drive on the list and select Change Drive Letter and Paths.
- Click the Change button.
- Use the drop-down menu and select the drive letter you want to use.
Once you complete these steps, every time you connect the same drive to the same computer, Windows 10 will automatically set the same letter. However, if you take your external drive to another computer, it’ll likely get a different drive letter.
In the rare case, you run out of letters and you need to access a different drive, you can use the steps mentioned above, but on step No. 4, click the Remove button and then connect the new drive.
How to assign a drive letter using Command Prompt
Although Disk Management provides a user-friendly interface to manage drive letters, you can also assign drive letters using the DiskPart command-line tool in Command Prompt.
To assign a drive letter using Command Prompt, do the following:
- Open Start.
- Search for Command Prompt, right-click the result, and select Run as Administrator.
- Type the following command to start DiskPart and press Enter:
- Type the following command to list all the volumes on your computer and press Enter:
- Type the following command to select the volume to change the letter and press Enter:
select volume 3
- In the command, remember to change 3 for the number of the volume you want to change.
- Type the following command to assign a new drive letter. In this case, you’ll assign the letter Z. Then press Enter:
- In the command remember to change 3 for the number of the volume you want to change.
After you had complete the steps, every time you connect the drive to the same computer, it should receive the same drive letter you assigned using DiskPart. However, if you take the drive to another device, the OS will likely assign it a different letter.
If you must remove the drive letter, you can follow the same steps, but on step No. 6, you’ll need to run the remove letter=Z command.
Wrapping things up
While you can manually assign a permanent letter to drives you connect to your computer, the move won’t stop Windows 10 from randomly assigning the same letter to another drive when the first drive is not plugged in.
However, you can reduce the chances of getting the same letter, or running into conflicts, by using letters in backwards order. For example, instead of using D, E or F, it might be better to use Z, Y or X when assigning a new letter to a drive.
This guide is focused on Windows 10, but the same steps will work for Windows 8.1, Windows 7 and previous versions.