Windows

How to Change a Drive Letter Back in Windows 11

Learn how to change a drive letter back in Windows 11 using Disk Management or DiskPart, plus what to do if Windows won’t let you reassign the letter.

Andrew Miller
Andrew Miller
Technology Writer  •  Sep 21, 2026  •  6 min read

If a drive letter in Windows 11 has changed, it can break shortcuts, app paths, scripts, and backup jobs that expected the old letter. The good news is that in many cases you can change the letter back using Disk Management or a command-line tool.

This guide explains why the change happened, how to assign the old drive letter again, and what to do if Windows says the letter is already in use or won’t let you make the change.

How to Change a Drive Letter Back in Windows 11

Why a Drive Letter Changes in Windows 11

Windows assigns drive letters automatically to removable drives, external drives, and some internal partitions. If another device is connected later, Windows may give it the old letter instead. A restart, a drive reconnect, or a docking station can also make the assignment appear to change unexpectedly.

Why It Matters A changed drive letter can cause installed programs to stop finding files, break batch files and scripts, and make mapped locations in File Explorer or backup software point to the wrong place.

Before You Change the Letter Back

Make sure you know which drive you are changing. Check the drive name, size, and file system so you do not reassign the wrong volume. If the drive contains Windows or is currently in use by a program, changing its letter may not be possible.

Warning Do not change the letter for the system drive, recovery partitions, or any volume that Windows or installed software is actively using unless you are sure it is safe. Changing the wrong letter can make apps fail to start or cause files to appear missing.
Key Fact Only non-system volumes are usually safe to reassign, and even then the old letter may need to be freed first if another drive is already using it.

Method 1: Change the Drive Letter in Disk Management

Disk Management is the easiest way to change a drive letter back in Windows 11.

  1. Right-click the Start button and select Disk Management.
  2. Find the drive whose letter you want to change.
  3. Right-click the partition or volume and choose Change Drive Letter and Paths.
  4. Select the current drive letter and click Change.
  5. Choose the old drive letter from the list, then click OK.
  6. Confirm the change when Windows asks you to.

If the letter you want is available, Windows will apply it right away. Open File Explorer and confirm the drive now appears with the correct letter.

If the Old Letter Is Already Taken

If another drive already uses the letter you want, you need to free that letter first. You can either disconnect the other device temporarily or assign that other drive a different letter before changing the original drive back.

  1. Open Disk Management.
  2. Find the device currently using the letter you need.
  3. Right-click it and choose Change Drive Letter and Paths.
  4. Click Change and pick a different unused letter.
  5. Apply the change, then return to the original drive and assign the old letter to it.
Quick Tip If a USB drive, card reader, or external enclosure keeps taking the letter first, unplug it before changing the target drive, then reconnect it afterward if needed.

Method 2: Use DiskPart if Disk Management Won’t Work

If Disk Management does not let you change the letter, you can use DiskPart, the built-in Windows command-line tool.

  1. Open the Start menu, type cmd, and select Run as administrator.
  2. Type diskpart and press Enter.
  3. Type list volume and press Enter to see the available volumes.
  4. Identify the correct volume number for the drive you want to change.
  5. Type select volume X, replacing X with the correct number.
  6. Type assign letter=Y, replacing Y with the old drive letter you want to use.
  7. Press Enter and close the command window when finished.
Warning Be very careful in DiskPart. Choosing the wrong volume can change the wrong drive letter or disrupt access to important data. Double-check the volume number before you assign anything.
Note If the letter is already in use, DiskPart will usually refuse the change until that letter is released from the other volume first.

If Windows Still Won’t Let You Change It

A drive letter change can fail for a few common reasons. The most likely are that the drive is in use, the target letter is reserved, or the volume is offline or protected.

If the drive is removable or external, disconnect it, reconnect it, and try again. If it is internal, close any app that might be using it, then retry in Disk Management. For protected partitions, Windows may simply not allow the change at all.

After You Change the Letter Back

Once the old letter is restored, check anything that pointed to the drive by letter. That includes desktop shortcuts, library folders, backup jobs, synced folders, batch files, game launchers, and app settings that reference a path like D:\ or E:\.

Why It Matters Changing the letter back fixes the drive itself, but anything that stored the old path may still need to be updated manually.

How to Prevent the Drive Letter From Changing Again

If this is an external or secondary drive, you can reduce future changes by keeping it connected to the same port or dock, especially on desktop PCs and laptops with multiple USB controllers. Windows is also more likely to keep a stable assignment for drives that are always attached.

Best For External SSDs, backup drives, and secondary data drives that you want Windows to recognize consistently.

Which Fix Should You Try First?

For most users, Disk Management is the quickest and safest way to change a Windows 11 drive letter back. If that fails, DiskPart gives you more control, but it also requires more care. If the old letter is already taken, clear it from the other device first, then reassign it to the correct drive.

Topics

More from Windows

View all →
How to Fix DISM Error 0x800f0915 in Windows
Windows

How to Fix DISM Error 0x800f0915 in Windows

How to Fix Command Prompt When You Can’t Run It as Administrator
Windows

How to Fix Command Prompt When You Can’t Run It as Administrator

5 Ways to Fix HP Support Assistant When It Won’t Install
Windows

5 Ways to Fix HP Support Assistant When It Won’t Install

Why USB Devices Show Up as Unknown in Windows 11
Windows

Why USB Devices Show Up as Unknown in Windows 11

How to Fix the Windows Fast Startup Error 0xc00000d4
Windows

How to Fix the Windows Fast Startup Error 0xc00000d4

How to Fix a Volume Bar That Keeps Appearing in Windows
Windows

How to Fix a Volume Bar That Keeps Appearing in Windows