Published by


Brink's Avatar
Administrator

Posts: 23,771

Show Printable Version 


How to Show Drive Letters Before or After Drive Name in Windows 10

information   Information
A drive letter is a single alphabetic character A through Z that has been assigned to a physical drive or drive partition in the computer.

A drive name or drive label, is a unique name of up to 32 (NTFS) or 11 (FAT) characters assigned to a drive, disc, or other media connected to the computer.

This tutorial will show you how to hide or show drive letters before or after drive labels in File Explorer for your account or all users in Windows 10.


CONTENTS:
  • Option One: To Hide or Show Drive Letters Before or After Name for Current User
  • Option Two: To Hide or Show Drive Letters Before or After Name for All Users


EXAMPLE: Drive Letters in This PC
Click image for larger version. 

Name:	Drive_letters_example-1.png 
Views:	103 
Size:	57.2 KB 
ID:	102205
Click image for larger version. 

Name:	Drive_letters_example-2.png 
Views:	121 
Size:	56.8 KB 
ID:	102206
Click image for larger version. 

Name:	Drive_letters_example-3.png 
Views:	123 
Size:	57.6 KB 
ID:	102207
Click image for larger version. 

Name:	Drive_letters_example-4.png 
Views:	117 
Size:	55.4 KB 
ID:	102208






Show Drive Letters Before or After Name in Windows 10 OPTION ONE Show Drive Letters Before or After Name in Windows 10
To Hide or Show Drive Letters Before or After Name for Current User

Note   Note
Option Two below will override this option.


The .bat files below will modify the DWORD value in the registry key below.

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer

ShowDriveLettersFirst DWORD

0 = (Default) Show all drive letters after drive label
1 = Show only network drive letters before drive label
2 = Hide all drive letters
4 = Show all drive letters before drive label


1. Do step 2, step 3, step 4, or step 5 below for what you would like to do.


 2. To Show All Drive Letters After Drive Label

NOTE: This is the default setting.

A) Click/tap on the Download button below to download the BAT file below, and go to step 6 below.

Show_all_drive_letters_after_name.bat

download


 3. To Show Only Network Drive Letters After Drive Label

A) Click/tap on the Download button below to download the BAT file below, and go to step 6 below.

Show_only_network_drive_letters_before_name.bat

download


 4. To Hide All Drive Letters

A) Click/tap on the Download button below to download the BAT file below, and go to step 6 below.

Hide_all_drive_letters.bat

download


 5. To Show All Drive Letters Before Drive Label

A) Click/tap on the Download button below to download the BAT file below, and go to step 6 below.

Show_all_drive_letters_before_name.bat

download


6. Save the .bat file to your desktop.

7. Unblock the .bat file.

8. Run the .bat file.

9. You will now notice your screen flicker and a command prompt quickly open and close as explorer is restarted to apply the registry changes.

10. When finished, you can delete the downloaded .bat file if you like.






Show Drive Letters Before or After Name in Windows 10 OPTION TWO Show Drive Letters Before or After Name in Windows 10
To Hide or Show Drive Letters Before or After Name for All Users

Note   Note
You must be signed in as an administrator to be able to do this option.

This option will override Option One above.


The .bat files below will modify the DWORD value in the registry key below.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer

ShowDriveLettersFirst DWORD

(delete) = (Default) Allow users to be able to use Option One above.
0 = Show all drive letters after drive labels
1 = Show only network drive letters before drive labels
2 = Hide all drive letters
4 = Show all drive letters before drive labels


1. Do step 2, step 3, step 4, step 5, or step 6 below for what you would like to do.


 2. To Show All Drive Letters After Drive Label

A) Click/tap on the Download button below to download the BAT file below, and go to step 7 below.

Show_all_drive_letters_after_name_for_all_users.bat

download


 3. To Show Only Network Drive Letters After Drive Label

A) Click/tap on the Download button below to download the BAT file below, and go to step 7 below.

Show_only_network_drive_letters_before_name_for_all_users.bat

download


 4. To Hide All Drive Letters

A) Click/tap on the Download button below to download the BAT file below, and go to step 7 below.

Hide_all_drive_letters_for_all_users.bat

download


 5. To Show All Drive Letters Before Drive Label

A) Click/tap on the Download button below to download the BAT file below, and go to step 7 below.

Show_all_drive_letters_before_name_for_all_users.bat

download


 6. To Undo OPTION TWO and Allow Users to be able to do OPTION ONE

NOTE: This is the default setting.

A) Click/tap on the Download button below to download the BAT file below, and go to step 7 below.

Undo_all_users.bat

download


7. Save the .bat file to your desktop.

8. Unblock the .bat file.

9. Right click or press and hold on the .bat file, and click/tap on Run as administrator.

10. You will now notice your screen flicker and a command prompt quickly open and close as explorer is restarted to apply the registry changes.

11. When finished, you can delete the downloaded .bat file if you like.


That's it,
Shawn