How to Show or Hide Drive Letters in Windows 11 File Explorer
- 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.
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.
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.
The setting only changes how File Explorer labels drives. The drives keep their letters, and other programs and the command line still see them.
- 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.

- Click the View tab in the Folder Options window. A list of options appears under Advanced settings.
- Find the box labeled Show drive letters. The list is long, so scroll down if you do not see it at first.
- 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.
- 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.

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.
- 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.
- Go to this location:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ExplorerExpand 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.

- 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.
- Select New, then DWORD (32-bit) Value. A new entry appears in the list with its name highlighted, ready for typing.
- Name it
ShowDriveLettersFirst. Type the name exactly as shown, then press Enter. - 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.

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.

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:
- 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.
- Right-click the volume you want to change and select Change Drive Letter and Paths. A small dialog shows the letter currently assigned.
- 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.
Did this guide fix your problem?
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.
No comments yet — be the first to share your thoughts!