How to Change a Drive Letter in Windows
Sometimes when you plug in a USB device, it doesn’t show up
A task you will most likely have to perform a few times in Windows is changing the drive letter for an external hard drive, mapped network drive, or DVD drive. Sometimes when you plug in a USB flash drive, it doesn’t automatically get a drive letter assigned to it and it may not show up on your computer.
In those types of cases, you have to change the drive letter for the device and it will normally pop right up. In this article, I’ll show you how to change the drive letter for these devices using the GUI and also via the command prompt.
Change Drive Letter via Disk Management
You can open disk management on a Windows PC by either right-clicking on theComputerorThis PCicon on the desktop and choosingManageor by clicking on Start and typing indiskmgmt.msc.
You’ll see a list of volumes at the top and the disks and partitions at the bottom. Any partition that has a drive letter will be shown in the white area. If you connected a USB drive and you see it listed, but it doesn’t have a drive letter, you can now assign one.
To assign or change the drive letter for a disk or partition, simply right-click on it and chooseChange Drive Letter and Paths.
A window will pop up with the current drive letter, if there is one, and a couple of options. Here you want to click onChange.
Next, you will choose the new drive letter from the dropdown list. You can pick from the letters A to Z.
That’s about it. Click OK to close out all the dialogs and the drive should now show up in Windows with the new drive letter. If you’re having issues using the GUI interface or you simply feel more comfortable using the command prompt, read the instructions below on how to use diskpart.
Use DiskPart to Assign Drive Letter
If you need to change or assign a drive letter via the command prompt, you have to use the diskpart command. I’ve written a bit onhow to use diskpart, which is really useful for many disk management tasks.
To get started, open an administrator command prompt in Windows by clicking on Start, typing inCMDand then right-clicking and choosingRun as Administrator.
Now type in the following commands, each followed by theEnterkey.
Above, you’ll replace x with the volume number in the list that corresponds to the drive you want to change and with the letter you want to assign to the drive. Here are the commands I ran for an external USB drive:
You’ll also notice that under theTypecolumn, external drives will show up asRemovable. That’s a good way to check before you select a volume. You can also figure out which drive is correct by looking at the size and also looking at theInfocolumn. Volume 0 in my case is the system partition, so I wouldn’t want to mess with that by accident.
Overall, it’s a fairly simple process and hopefully you won’t run into any problems. There are times, however, when things don’t work properly. Below are some possible reasons.
Troubleshoot Can’t Change Drive Letter in Windows
One problem that I have seen is that the Change Drive Letter option is simply greyed out. This can occur for a few reasons. One of the main reasons is the volume is not formatted in FAT or NTFS format. For example, if you are attaching a disk from a Mac computer, you will not be able to change the drive letter unless you format the drive into a compatible format.
Another reason is if the drive is set to read-only. If so, you’ll have to Google the steps to change the drive to allow read/write access.
Also, if you don’t need any of the data on the volume in question, a simple solution is to delete the volume, which is normally never greyed out. Once you delete the volume, you can right-click again and create a new simple volume. Now you will be able to change the drive letter.
Founder of Help Desk Geek and managing editor. He began blogging in 2007 and quit his job in 2010 to blog full-time. He has over 15 years of industry experience in IT and holds several technical certifications.Read Aseem’s Full Bio
Welcome to Help Desk Geek- a blog full of tech tips from trusted tech experts. We have thousands of articles and guides to help you troubleshoot any issue. Our articles have been read over 150 million times since we launched in 2008.
HomeAbout UsEditorial StandardsContact UsTerms of Use
Copyright © 2008-2024 Help Desk Geek.com, LLC All Rights Reserved