The quickest way to change a drive letter

Open Disk Management by right-clicking the Start button and selecting "Disk Management" from the menu. Find the drive you want to rename in the list, right-click it, and choose "Rename". Type the new letter you want and press Enter. This works for external drives, USB sticks, and secondary internal drives.

If Disk Management does not appear in the right-click menu, press Windows Key + X and look for it there. On some systems you may need to search for "Disk Management" in the Windows search box instead.

The drive letter change takes effect when ready. Any shortcuts or programs that pointed to the old letter will need to be updated, but the files themselves stay intact and do not move.

Key Takeaways

  • Disk Management is the built-in Windows tool for changing drive letters and is faster than using File Explorer.
  • You cannot change the letter of your C: drive (the one Windows is installed on) while Windows is running.
  • External drives, USB sticks, and secondary internal drives can be renamed to any available letter from D: through Z:.
  • Programs that reference the old drive letter by name will stop working until you update their settings or reinstall them.

When you cannot change the drive letter through Disk Management

If the rename option is greyed out or does not appear, the drive may be in use. Close any programs or File Explorer windows that have files open on that drive, then try again. Windows will not let you rename a drive while something is actively reading from it.

If the drive is still locked, restart your computer and try when ready after startup, before opening other programs. Some antivirus software also locks drives temporarily during scans — wait for the scan to finish before attempting the change.

Changing the C: drive letter (the Windows system drive)

You cannot change the C: drive letter while Windows is running because Windows needs that drive to function. If you truly need to change it, you must boot from a Windows installation disk or recovery environment and use Disk Management from there.

In most cases, there is no practical reason to change the C: drive letter. If you are trying to free up a specific letter for another drive, rename the other drive instead. If you are trying to hide the C: drive from File Explorer, that is a separate process that does not require changing the letter.

What happens to programs and shortcuts after you change a drive letter

Programs installed on the renamed drive will usually stop working because they look for files at the old letter path. For example, if you change D: to E:, a program that was installed to D:\Program Files will not launch until you either reinstall it or manually update its registry entries.

Shortcuts and batch files that reference the old letter will also break. The safest approach is to note which programs are on the drive before you rename it, then reinstall them after the change. This takes longer but prevents errors and ensures everything points to the correct location.

Using the command line to change a drive letter

You can also change a drive letter using the command prompt. Press Windows Key + R, type "diskpart", and press Enter. Type "list disk" to see all drives, then "select disk X" (where X is the disk number). Type "list partition" to see the partitions on that disk, then "select partition Y" (where Y is the partition number). Finally, type "remove letter=Z" (where Z is the current letter) and "assign letter=W" (where W is the new letter).

This method is faster for advanced users but carries more risk if you select the wrong disk or partition. Use Disk Management unless you are comfortable with command-line tools.

Drive letters that Windows reserves and why

Windows reserves certain letters for specific purposes. The A: and B: letters are historically reserved for floppy disk drives, even though most computers no longer have them. You cannot assign these letters to modern drives. Letters C: through Z: are available, though C: is almost always the system drive.

If you have multiple internal drives, Windows assigns them letters in the order it detects them at startup. If you add a new drive later, it gets the next available letter. Changing the order requires either changing the letters themselves or adjusting the boot order in your BIOS, which is more complex and usually unnecessary.

Changing the letter of an external drive or USB stick

External drives and USB sticks follow the same process as internal secondary drives. Open Disk Management, find the drive in the list, right-click it, and select "Rename". Choose any available letter from D: through Z:.

The letter assignment is permanent until you change it again, even if you unplug the drive and plug it back in later. If you plug the drive into a different computer, it may receive a different letter on that computer, but the letter you assigned in Windows 10 will return when you plug it back into the original machine.

Frequently Asked Questions

Can I change a drive letter back to what it was before?

Yes. Open Disk Management, right-click the drive, select "Rename", and type the old letter. The process is identical to the first change. Any programs that were broken by the original change will still be broken until you reinstall them or update their settings.

What if the letter I want is already in use?

First rename the drive that is currently using that letter to something else, then rename your drive to the letter you want. You cannot assign the same letter to two drives at once, so you must move one out of the way first.

Will changing a drive letter delete my files?

No. The files stay on the drive and remain intact. Only the letter that points to the drive changes. Programs and shortcuts that reference the old letter will break, but the data itself is not harmed.

Do I need to restart Windows after changing a drive letter?

No. The change takes effect when ready in Disk Management. You do not need to restart unless a program is still trying to access the drive at the old letter, in which case restarting may help it recognize the new letter.

Can I assign a drive letter to a partition instead of a whole drive?

Yes. If a single physical drive is split into multiple partitions, each partition can have its own letter. Disk Management shows partitions separately, so you can rename them individually using the same right-click method.