Skip to content
Windows

How to Show or Hide Drive Letters in Windows 11 File Explorer

Richard
Written by
Richard
Updated 7 min read
How to Control Windows Copilot Startup Settings
How to Control Windows Copilot Startup Settings
Before you start
  • 4 steps
  • Needs administrator rights
  • Includes a restart or sign-out

Drive letters in Windows 11 File Explorer are the short labels, such as C: or D:, that Windows gives to hard drive partitions and other storage, including USB drives. Showing or hiding them changes how your drives are labeled, most visibly in the “This PC” view.

Hiding the letters gives File Explorer a tidier look. This guide covers four ways to change them, from the least to the most technical.

The first two methods, Folder Options and the Registry Editor, only change what File Explorer displays. The Disk Management and Diskpart methods change the drive’s actual letter assignment, which is a bigger change.

⚡ Quick Answer

To show or hide drive letters, open File Explorer, select the three-dot See more button, choose Options, and open the View tab. Under Advanced settings, check or uncheck “Show drive letters”, then click OK. The change applies immediately, with no restart needed, and the drives keep their letters.

Advertisement

Change settings using Folder Options

The Folder Options setting is the quickest way to show or hide drive letters. It controls whether Windows displays the letter next to your hard drives and removable storage. It works on Home and Pro editions of a currently supported Windows 11 version (25H2 or 26H2), the change takes effect immediately and needs no restart or sign-out, and you can reverse it at any time.

By default, File Explorer shows the letter after the drive name for every volume under This PC, for example “Local Disk (C:)”. If the letters are missing on your PC, this setting has probably been turned off, either by you or by another person who uses the computer.

Advertisement

The setting only changes how File Explorer labels drives. The drives keep their letters, and other programs and the command line still see them.

  1. Open the File Explorer folder options. As an alternative, open File Explorer, select the three-dot See more button in the toolbar, and then select Options. The Folder Options window should now be open.
windows 11 file explorer folder options onedrive
windows 11 file explorer folder options onedrive
  1. Click the View tab in the Folder Options window. A list of options appears under Advanced settings.
  2. Find the box labeled Show drive letters. The list is long, so scroll down if you do not see it at first.
  3. Check the box to show the letters, or uncheck it to hide them. The box is checked by default, so unchecking it is the change most people want. If your letters have vanished, an unchecked box is the likely cause.
  4. Click OK to save your changes. The window closes. Open the “This PC” view in File Explorer, and press F5 if it has not updated. Your drives should now appear with names only, such as “Local Disk”, or with the letters back in brackets.

That’s it. File Explorer now labels your drives the way you chose, and the drives themselves are unchanged. To reverse it, return to the same box and select it again.

windows 11 file explorer show drive letters
windows 11 file explorer show drive letters

Change settings using the Registry Editor

The Registry Editor can also show or hide drive letters. It suits you if you want a fixed setting rather than a checkbox, since the value stays in the registry (the database where Windows stores its settings) until you change it. This advanced method adds one value that controls how drive names appear.

📝Good to KnowThe Registry Editor is available in Home and Pro editions of a currently supported Windows 11 version (25H2 or 26H2). Be careful with it: a wrong change in the registry can cause problems that are hard to trace.
⚠️WarningBack up the registry before you start. In Registry Editor, choose File > Export, pick All as the export range, and save the file somewhere safe. You can double-click that file later to restore your settings. You also need an administrator account, and Windows may show a User Account Control prompt that you must accept.
  1. Open the Windows Registry. If Windows asks whether to allow the app to make changes, click Yes. The Registry Editor window should open with a folder tree on the left.
  2. Go to this location: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer Expand the folders in the left pane one by one, or paste the path into the address bar at the top of the window and press Enter. The right pane then shows any values stored in that key.
windows 11 explorer key to show or hide drive letters
windows 11 explorer key to show or hide drive letters
  1. Right-click the empty space in the right pane. A small context menu should appear. If the value from the next steps is already listed, skip to step 6 and edit it instead of creating a second one.
  2. Select New, then DWORD (32-bit) Value. A new entry appears in the list with its name highlighted, ready for typing.
  3. Name it ShowDriveLettersFirst. Type the name exactly as shown, then press Enter.
  4. Double-click the new value and set the Value data to 2 to hide the letters or 0 to show them. Then click OK. The value should appear in the list with your number next to it.
Advertisement
windows 11 explorer key to show or hide drive letters value data updated
windows 11 explorer key to show or hide drive letters value data updated

Restart your computer or sign out and back in for the changes to take effect. Closing Registry Editor is not enough. To undo the change, go back to the same value, set it to 0 or delete it, and restart or sign out again.

That’s it. After the restart, File Explorer follows the value you saved, and your drives keep their real letters.

file explorer with no drive letters
file explorer with no drive letters

Managing Drives with Disk Management

The built-in Disk Management tool does something different from the first two methods. It removes a drive letter completely, so the partition no longer appears with a letter in File Explorer. It can also assign a new letter if one is missing. It works on Home and Pro editions of a currently supported Windows 11 version (25H2 or 26H2), and you need administrator rights.

Programs, shortcuts, and backup jobs that point to the old letter stop finding the files once you remove it. Windows will not let you remove the letter of the system or boot drive, and the option may be greyed out or fail for it. To remove or add a letter:

  1. Right-click the Start button and select Disk Management. Pressing Win+X opens the same menu. A window listing your disks and volumes should open.
  2. Right-click the volume you want to change and select Change Drive Letter and Paths. A small dialog shows the letter currently assigned.
  3. To hide the letter, select the current letter, click Remove, and confirm the warning. To bring a letter back, click Add, choose a letter from the list, and click OK. The volume list updates right away.

That’s it. The volume now has the letter you chose, or none at all. A drive with no letter is not hidden from Disk Management, so you can always restore it there.

Using Command Line and Diskpart

Diskpart is a command-line tool that manages disks and volumes directly, and advanced users can use it to remove or assign drive letters. It needs an elevated Command Prompt or Terminal, meaning one opened with Run as administrator.

Diskpart makes the same change as Disk Management, only from the keyboard. Unless you are scripting the change, Disk Management is the safer choice, because you can see which volume you are selecting. Diskpart acts on whatever volume you have selected, so check it before you change anything.

Troubleshooting Missing Drive Letters

If your drive letters disappear after a Windows update, check Disk Management first. Sometimes the system loses the assignment. To restore access, right-click the volume, select Change Drive Letter and Paths, and click Add. If a drive is hidden through the Registry NoDrives value, delete that entry to make it reappear, then restart your computer or sign out and back in.

If the letters are missing from the “This PC” view but the drives still work, go back to Folder Options and check that Show drive letters is ticked. If a USB drive does not appear at all, look for it in Disk Management. A drive with no letter is listed there without one and can be given one in the same way.

Summary

If the letters still look wrong after a change, open Disk Management to check whether the volume has a letter at all. To undo any method, tick Show drive letters again, set the registry value back to 0 or delete it, or add the letter back in Disk Management. Another account on the same PC has its own Folder Options setting, so repeat the steps there if that person needs the same view.

Have a question about this guide?

Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.

Tags: #Windows 11

Did this guide fix your problem?

Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked * How we handle comments