Change a drive letter through Disk Management, the built-in Windows tool
To change a drive letter, open Disk Management, right-click the drive you want to rename, select "Rename", and type a new letter from A to Z. Windows will not let you use a letter already assigned to another drive. The change takes effect when ready, and any shortcuts or programs that reference the old letter will need to be updated manually.
Disk Management is the safest way to reassign letters because it shows you every drive and partition on your system at once. You can see which letters are in use, which are available, and whether a drive contains data you need before making any changes. This prevents accidentally overwriting the wrong partition.
The process takes about two minutes and requires no restart in most cases. However, if the drive is currently in use by Windows or an open program, you may need to close those programs first or restart your computer for the change to stick.
Key Takeaways
- Open Disk Management by right-clicking the Start button, selecting "Disk Management", or typing "diskmgmt.msc" into the search bar.
- Right-click the partition you want to rename, choose "Rename", and type a single letter from A to Z that is not already in use.
- If a drive letter is grayed out or unavailable, it means Windows or another program is actively using that drive and you will need to close those programs first.
- External drives, USB flash drives, and SD cards can have their letters changed the same way as internal hard drives and SSDs.
- Changing a drive letter does not affect the data stored on that drive — it only changes how Windows refers to it in File Explorer and the command line.
Step-by-step: opening Disk Management and finding your drive
Right-click the Start button in the lower left corner of your screen. A menu will appear with several options. Click "Disk Management" — it is usually near the top. If you do not see it, type "diskmgmt.msc" into the Windows search bar and press Enter.
Disk Management will open in a new window. The top half shows your disks; the bottom half shows your partitions. Look for the drive or partition you want to rename. External drives, USB sticks, and SD cards appear here too. Make sure you have the correct one selected before proceeding — changing the wrong drive letter can break programs that depend on a specific letter.
If you have multiple drives and are unsure which is which, check the size and label. Your main Windows drive is usually labeled "C:" and is the largest partition. External drives often show up as "Removable" in the Type column.
Renaming the drive letter
Right-click the partition you want to rename in the bottom half of the Disk Management window. A context menu will appear. Click "Rename". A dialog box will pop up with a text field containing the current drive letter.
Delete the current letter and type a new one. You can use any letter from A to Z, but avoid letters already assigned to other drives — Windows will warn you if you try. Most people keep their main drive as C: and use later letters (D, E, F) for external drives or secondary partitions. Once you type the new letter, click OK.
Windows will process the change. In most cases it happens when ready and you will see the new letter appear in File Explorer and Disk Management when ready. If the drive is in use, Windows may ask you to restart your computer before the change takes effect.
What to do if the drive letter is locked or unavailable
If the Rename option is grayed out or you get an error message, the drive is currently in use. This usually means Windows is running from that drive, a program has files open on it, or the drive is write-protected. Close any open programs that use that drive, then try again.
If the drive is your main Windows drive (usually C:), you cannot change its letter while Windows is running from it. You would need to boot from a different drive or use recovery mode, which is rarely necessary — most people never need to rename their main drive.
For external drives that show as locked, check whether the drive has a physical write-protection switch. Some USB sticks and SD cards have a small switch on the side. If it is in the locked position, flip it to unlock the drive, then try renaming again.
Updating programs and shortcuts after changing a drive letter
When you change a drive letter, the data on that drive does not move and is not affected. However, any program that was told to look for files at "D:\Documents" will not find them if you rename D: to E:. You will need to update those programs manually.
Check any programs that store files on the renamed drive. Open the program's settings or preferences and update the file path to use the new letter. For example, if you use backup software that points to a specific drive letter, update that path. Shortcuts on your desktop that pointed to the old letter may also break — you can delete them and create new ones, or right-click and edit the target path.
If you renamed an external drive, the impact is usually smaller because most programs store their main files on your C: drive. Still, check any backup tools, cloud sync programs, or media libraries that might reference the old letter.
When to change a drive letter and when not to
Change a drive letter when you want to organize your drives in a logical order, when you are adding a new external drive and want it to have a specific letter, or when a program requires a certain letter to run. Some older software is hardcoded to look for files on a specific drive and will not work unless that drive has the right letter.
Do not change your main Windows drive letter (C:) unless you have a specific reason — it can confuse Windows and break system updates. Do not change a drive letter if you are not sure which drive is which — check the size and label first. Do not change a drive letter on an external drive while it is actively syncing or backing up files.
Frequently Asked Questions
Can I use any letter, or are some reserved?
You can use any letter from A to Z except those already assigned to other drives. Letters A and B were historically reserved for floppy drives, but modern Windows does not enforce this. Most people leave C: for their main drive and use D, E, F, and beyond for other drives.
Will changing a drive letter delete my files?
No. Changing a drive letter only changes the name Windows uses to refer to the drive. All your files stay exactly where they are. However, programs that look for files at a specific path (like "D:\Photos") will not find them if you rename D: to E:, so you will need to update those programs.
What if I change a drive letter by mistake?
Change it back the same way — right-click the drive in Disk Management, click Rename, and type the original letter. There is no undo function, but the process is reversible and when ready. If you cannot remember the original letter, check your external drive's documentation or look at your computer's settings before the change.
Do I need to restart my computer after changing a drive letter?
Usually not. Most drive letter changes take effect when ready and you will see the new letter in File Explorer right away. If the drive was in use when you changed it, Windows may ask you to restart. If the change does not appear after a few seconds, restart your computer manually.
Can I change the letter of an external drive or USB stick?
Yes. External drives, USB flash drives, and SD cards can all have their letters changed through Disk Management the same way as internal drives. The process is identical — right-click, rename, type a new letter. This is useful if you want a USB drive to always appear as a specific letter on your computer.
