What assigning a drive letter does

When you plug in a new hard drive, USB stick, or external storage device, Windows needs a way to identify it. Assigning a drive letter means giving that storage device a name like D:, E:, or F: so you and your programs can find it. Without a letter, the drive exists but you cannot open it in File Explorer or save files to it.

Most of the time Windows assigns a letter automatically when you connect a device. But sometimes it does not — the drive shows up in Disk Management but nowhere else on your computer. Other times you want to change which letter a drive uses because another device already claimed the one you prefer. Both situations require you to assign or reassign the letter yourself.

Key Takeaways

  • You assign drive letters through Disk Management, a built-in Windows tool you reach by right-clicking This PC and selecting Manage.
  • The drive must be physically connected and visible in Disk Management before you can assign it a letter.
  • Windows reserves certain letters — C: is always your main system drive, and A: and B: are reserved for floppy disks even though no one uses them anymore.
  • You can change a drive's letter at any time, but programs that have shortcuts pointing to the old letter may stop working until you update them.

Open Disk Management and locate your drive

Disk Management is the tool where all your storage devices live, whether they have letters or not. To open it, right-click the Start button and select Disk Management from the menu. On older Windows versions, right-click This PC on your desktop, select Manage, then click Disk Management in the left sidebar.

Once Disk Management opens, you will see two sections. The top half lists your drives by name. The bottom half shows the same drives broken into partitions — the separate sections that make up each physical device. Find your new or unlettered drive in the bottom section. It will show up as a black bar with no letter, or with a letter you want to change. If you do not see your drive at all, make sure it is plugged in and powered on, then press F5 to refresh the view.

Right-click the drive and select Rename

In the bottom section of Disk Management, locate the partition you want to assign a letter to. Right-click on it and select Properties. A window will open showing information about that partition. Click the General tab if it is not already selected.

At the top of the General tab, you will see the current drive letter in parentheses — for example, "New Volume (E:)" — or no letter at all if one has not been assigned. To change or assign the letter, close this Properties window and go back to Disk Management. Right-click the partition again and this time select Rename. A dialog box will appear with a single text field.

Type the new drive letter

In the text field that appears, type only a single letter followed by a colon. For example, type D: or G:. Do not type anything else — no spaces, no other characters. Windows will reject the entry if the format is wrong.

Before you confirm, make sure the letter you chose is not already in use. Letters C: through Z: are available, but C: is always your main system drive and should never be reassigned. If you try to use a letter that another drive already has, Windows will tell you and ask you to pick a different one. Once you have chosen an unused letter, click OK or press Enter to confirm.

Verify the letter appears in File Explorer

After you assign the letter, close Disk Management and open File Explorer. Look in the left sidebar under This PC — your drive should now appear with its new letter. If it does not show up immediately, close and reopen File Explorer. If it still does not appear after a few seconds, the assignment may have failed. Go back to Disk Management and check whether the letter stuck.

Once the drive shows up in File Explorer with the correct letter, you can open it, create folders, and save files to it like any other drive. If you have programs that were looking for the drive under its old letter, they may not find it automatically — you will need to update the folder path in those programs' settings.

Troubleshooting when the letter will not stick

Sometimes you assign a letter and it disappears the next time you restart your computer. This usually means the drive is not properly initialized or formatted. In Disk Management, right-click the drive and select Initialize Disk. A dialog will ask you to choose between MBR and GPT — for most external drives and USB devices, MBR is fine. Click OK.

After initialization, the drive may show as unallocated space. Right-click it and select New Simple Volume. A wizard will walk you through creating a partition. When it asks what file system to use, NTFS is the standard choice for Windows. Complete the wizard, and the drive should now accept and keep a letter assignment. If the letter still does not stick after this, the drive itself may be failing and you should back up any data on it.

What to do if you need to change a letter later

You can change a drive's letter as many times as you want using the same process: open Disk Management, right-click the partition, select Rename, type the new letter with a colon, and confirm. The only real consequence is that any program shortcuts or saved paths pointing to the old letter will break. For example, if a backup program was set to save files to E:\Backups and you change E: to F:, that program will no longer find the folder.

Before you change a frequently used drive's letter, search your computer for any shortcuts or program settings that reference the old letter. You can do this by opening File Explorer, clicking the search box, and typing the old drive letter followed by a colon — for example, E:. Any files or shortcuts that point to that location will appear. Update them to use the new letter before you make the change, or update them afterward if you forget.

Frequently Asked Questions

Why does Windows sometimes not assign a letter automatically?

New drives often arrive uninitialized or unformatted, which means Windows cannot recognize them as usable storage yet. External drives that have been disconnected and reconnected may also lose their letter assignment. In both cases, the drive exists in Disk Management but needs a letter assigned manually before you can use it.

Can I use any letter I want?

You can use any letter from D: through Z:. Windows reserves C: for your main system drive and A: and B: for floppy disk drives (a legacy holdover). If you try to assign a letter that another drive already uses, Windows will reject it and ask you to choose a different one.

What happens if I assign the wrong letter by mistake?

You can change it immediately by going back to Disk Management, right-clicking the drive, selecting Rename, and typing the correct letter. There is no penalty for changing your mind. Just remember that any programs or shortcuts pointing to the old letter will need to be updated.

Do I need to do this for every USB stick I plug in?

No. Most USB devices and external drives get a letter assigned automatically the first time you connect them. You only need to manually assign a letter if the drive does not show up in File Explorer after you plug it in, or if you want to change the letter it was given.

Will assigning a drive letter erase the data on it?

No. Assigning or changing a drive letter only changes how Windows identifies the drive — it does not touch any files stored on it. The data stays exactly as it was. However, if the drive is uninitialized or unformatted, initializing it as part of the letter assignment process will erase everything on it.