Windows Explorer: Display Drive Letters Before Drive Names - gHacks Tech News

Windows Explorer: Display Drive Letters Before Drive Names

Hard disk drives, devices with removable storage and network locations are displayed with their name followed by their drive letter. The device names can be customized which is for instance helpful to distinguish between different hard drives since the default naming convention lists them all as Local Disk in Windows Explorer.

The convention to display drive names before drive letters works well if only a few drives and devices are connected, or if you have customized the names to improve identification.

drive name before drive letter

Problems may arise if a lot of different drives and devices are connected to the computer. Think of 10, 15 or 20 different drives connected to the computer, each either with a default name or a customized name.

You may prefer to switch to a different naming convention to improve the device identification in Windows Explorer.

drive letter before description

The Registry key ShowDriveLettersFirst determines the order of drive letters and names in Windows Explorer. The following values can be set:

  • 0 - Default. Drive letters are displayed after the drive description.
  • 1 - Show local drive letters after description and network drive letters before the drive name.
  • 2 - Display no drive letter at all
  • 4 - Show all drive letters before the drive names

The key does not exist by default and needs to be added to the Windows Registry. To do that use the shortcut Windows-r to open the run prompt, type regedit and press enter.

Now navigate to the following Windows Registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer

Right-click on the right side and select New > DWord (32-bit) Value. Paste the key's name ShowDriveLettersFirst into the form and press enter again. Double-click the key afterwards and use one of the values in the listing above. To display drive letters first you need to set the value to 4.

The new setting becomes available after a system restart. You can alternatively kill the explorer.exe process and restart it afterwards which would make the changes visible without a restart of the Windows system.

We need your help

Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.

If you like our content, and would like to help, please consider making a contribution:

Comments

  1. Gemini said on April 5, 2011 at 11:09 am
    Reply

    While I was already aware of this, I’d like to add that on windows 7 64-bit, this does not require a restart, logoff/logon, process termination, …
    It takes effect immediately, as long as you have no windows explorer windows open.
    If you do have one (or multiple) open, just close it (them), and there you go.

    1. Jojo said on April 5, 2011 at 8:51 pm
      Reply

      Yes, works the same in WinXP. Just close any Explorer windows and then reopen them.

  2. wookie said on April 5, 2011 at 12:21 pm
    Reply

    Excellent trick!

    Now, if there was only a hack to disable the drive letter’s parentheses… Thus Windows+E would open an Explorer window and clicking de drive’s letter + enter would place us into said drive injust 3 clicks and without having to use the mouse.

    That would be complete bliss…

  3. Inori said on April 5, 2011 at 4:42 pm
    Reply

    Which OS is this intended for?

    I am running 32b-Vista, and while I didn’t set my machine up from scratch, I am pretty sure that this particular aspect wasn’t fiddled with before I got it. (They aren’t big on registry hacks, and my drive letters follow the descriptions.)

    But in the HKLM\Software\Microsoft\Windows\CurrentVersion\explorer\Advanced\Folder\ShowDriveLetters, there appears to already be a key to do this…

    1. Martin Brinkmann said on April 5, 2011 at 4:44 pm
      Reply

      Well I definitely know that it is the default under Windows 7. I have not used Vista that long but I think I read somewhere that Vista showed drive names before letters as well. Maybe they have used a tweaking software?

  4. Doug said on April 5, 2011 at 5:55 pm
    Reply

    For an encore, any idea how to change the (what I consider lame) format where network drives display as, FOLDER (\\SERVER)?

    Would be so nice to be able to ween people down by showing them the straightforward version. \\SERVER\FOLDER

    Gracias

  5. art-101 said on April 5, 2011 at 6:24 pm
    Reply

    In all honesty I’d love it for Windows to move away from Drive letters and use volume names instead.

    It would make life much easier when writing batch scripts as the scripts would always reference the same location, unlike using flash drives in various computers and getting different drive letters.

    Unless there’s already a way to do that?

    1. Inori said on April 5, 2011 at 9:28 pm
      Reply

      You can tell your flash drive to always mount with a specific drive letter, but if it’s taken on one of the machines you are going to be using it on, that will result in other issues.

      I did this awhile back when i got tired of never knowing where my renamed drive (easier to find) was going to show up, so the drive itself maps to S:\ (which wasn’t reserved on any machine I was working with at the time).

    2. Erik said on March 30, 2013 at 10:25 am
      Reply

      As in Linux systems, you can mount a drive to a specific map. If you create a folder c:\data you can mount a specific drive to that location.

  6. Bruce said on April 8, 2011 at 7:35 am
    Reply

    Hmm… Does not work for me. I’m running Win7 x64, and followed the directions — but no matter what I change the value to (1, 2, 3, or 4), I still get drive letters last. And yes, I have tried restarting.

    1. Tom said on August 18, 2011 at 5:06 pm
      Reply

      You not only have to set/change the value in
      HKEY_LOCAL_MACHINE\SOFTWARE\…
      but also in
      HKEY_CURRENT_USER\SOFTWARE\…

      In my case setting the value to 4 in …LOCAL_MACHINE… did not work at first because it was overwritten by a 0 in …CURRENT_USER…

      So check the value in both locations!

  7. Bruce said on April 9, 2011 at 6:33 am
    Reply

    Never mind, I figured it out. I have Ultimate Windows Tweaker installed, and apparently that was getting in the way of the hack described here. But UWT has the option to put drive letters first, so I accomplished what I was after using UWT, rather than this registry edit.

  8. Christian said on January 12, 2017 at 6:55 am
    Reply

    I have an interesting question that I am not able to find an answer for… so here it is…

    On Windows 7… all drive letter mappings appear first… A thru Z, and then network mappings… Great!
    On Windows 10 however, any network mapping will list alphabetically BEFORE the A thru Z mappings…
    And when you have a ton of network mappings, well… now I would need to scroll for C or D drive or one of the other important letter mappings.

    Is there any way to swap that back to how previous OS sorted mappings?

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

Please note that your comment may not appear immediately after you post it.