Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - Drive - Rename



 

Drive - Rename

How to Rename a Drive in Windows 7
Published by Brink
02-24-2010
Default Drive - Rename

How to Rename a Drive in Windows 7

information   Information
This will show you how to rename a drive in Windows 7. For example, a hard disk drive, USB flash drive, CD/DVD drive, etc.....
Tip   Tip
If the drive name is missing or was changed and you did not do it with the methods below, then look for a hidden (not always hidden though) autorun.inf file (OPTION ONE below) when you open the drive letter in Computer and right click on the autorun.inf file and click on Delete. Next, approve the deletion.
warning   Warning
You must be logged in as an administrator to be able to do this.

EXAMPLE: Rename a Hard Disk Drive
Drive - Rename-hdd_default.jpgDrive - Rename-hdd_renamed.jpg
EXAMPLE: Rename a DVD Drive
NOTE: Devices with Removable Storage, such as a DVD drive, can only be renamed by adding a label at the end of the drive description using OPTION TWO below. These devices do not have a Rename option in the context menu when you right click on them in Computer.
Drive - Rename-removable_default.jpgDrive - Rename-removable_renamed.jpg




OPTION ONE

Change a Drive Name using a "autorun.inf" File

NOTE: While this option can be used for any drive, it is really useful for external drives like a USB flash drive.
1. Set your known file extentions to no longer be hidden.
NOTE: This way you will be able to rename the file extension in step 3 below.

2. Connect and/or open the drive that you want to change the name of.

3. In the root of the drive, right click on a empty space and click on New and Text Document, then rename this file autorun.inf and press Enter. (see screenshots below)
NOTE: If you already have a autorun.inf file in the root of this drive, then skip this step and proceed to step 4 or 5.
Drive - Rename-auto_step1.jpgDrive - Rename-auto_step2.jpg
4. If this is a New autorun.inf File
A) Open the autorun.inf file, then type each line below followed by pressing enter. (see screenshot below)
NOTE: Substitute new drive name (ex: My USB Drive) with the actual name you want to use for the drive.
Code:
 
[autorun]
label="new drive name"
Drive - Rename-label.jpg
B) Click on File (menu bar) and Save, then close the autorun.inf file. (see screenshot above)
5. If you already have a autorun.inf File
A) Open the autorun.inf file, then add or change the label= line below. (see screenshots below)
NOTE: Substitute new drive name (ex: My USB Drive) with the actual name you want to use for the drive.
Code:
 
[autorun]
label="new drive name"
Click image for larger version

Name:	Label.jpg
Views:	170
Size:	21.6 KB
ID:	127420Drive - Rename-txt_file.jpg
B) Click on File (menu bar) and Save, then close the autorun.inf file. (see screenshots above)
7. If this is for a Internal or eSATA Dive
A) Restart the computer to apply.
8. If this is for a External Dive
A) Unplug and plug in the drive to apply.
9. Open the Computer window to see the changes.


Note   Note
To Restore the Default Name


You would just need to either option below and repeat steps 7 to 9.
  • Delete the autorun.inf and .ico file.
OR
  • Remove the label= line and save the changes if you have other lines (ex: icon=) you wish to continue using.





OPTION TWO

Rename a Drive in the Computer Window

NOTE: For Devices with Removable Storage, such as a DVD drive, that do not have a Rename option, you will need to use OPTION THREE below instead.
1. If you did OPTION ONE previously, then you will need to either remove the label=new drive name entry from the autorun.inf file, or delete the autorun.inf file in the root of the drive that you want to change the name of.

2. Open the Computer window.

3. Select the drive you want to rename to highlight it, then right click on it and click on Rename. (see screenshot below)
Drive - Rename-hdd_step1.jpg
4. Type in a name you want for the drive, then press enter. (see screenshots below)
Drive - Rename-hdd_step2a.jpgDrive - Rename-hdd_step2b.jpg
5. Click on Continue. (see screenshot below)
Drive - Rename-hdd_step3.jpg
6. If prompted by UAC, then click on Yes.

7. The selected drive is now renamed.



OPTION THREE

Rename a Drive Through Registry Editor
1. If you did OPTION ONE previously, then you will need to either remove the label=new drive name entry from the autorun.inf file, or delete the autorun.inf file in the root of the drive that you want to change the name of.


2. Open the Start Menu, then type regedit in the search box and press enter.

3. If prompted by UAC, then click on Yes.

4. In regedit, navigate to the location below. (see screenshot below)

Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
Drive - Rename-step1.jpg
5. In the left pane, right click on Explorer and click on New and Key. Type DriveIcons and press enter.
NOTE: If you already have the DriveIcons key under Explorer, then go to step 6. (see screenshot above and below)
Drive - Rename-step2.jpg
6. In the left pane, right click on DriveIcons and click on New and Key. Type the drive letter (ex: D ) that you want to change the icon for and press enter.
NOTE: If you already have the drive letter (ex: D ) key under DriveIcons, then go to step 7. (see screenshot above and below)
Drive - Rename-step3.jpg
7. In the left pane, right click on the drive letter (ex: D ) and click on New and Key. Type DefaultLabel and press enter.
NOTE: If you already have the DefaultLabel key under the drive letter (ex: D ), then go to step 8 or 9. (see screenshot above and below)
Drive - Rename-step4.jpg
8. To Rename the Drive
A) In the right pane of DefaultLabel, right click on (Default) and click on Modify. (see screenshot below step 7)

B) Type in the new name (HDD) or label (DVD) for the drive and click on OK. (see screenshot below)
Drive - Rename-step5.jpg
C) The registry should now look similar to this. (see screenshot below)
Drive - Rename-step6.jpg
D) Go to step 10.
9. To Restore the Default Drive Name
A) Right click on the drive letter (ex: D ) from step 5 above that you want to restore, and click on Delete and Yes. (see screenshot below step 6)
10. Close regedit.

11. The changes should be immediate, but in some cases you may need to restart the computer to apply the changes.




OPTION FOUR

Rename a Drive Through Disk Management
1. If you did OPTION ONE previously, then you will need to either remove the label=new drive name entry from the autorun.inf file, or delete the autorun.inf file in the root of the drive that you want to change the name of.

2. Open the Start Menu, then right click on the Computer button (dark right side) and click on Manage.
A) Go to step 4.
OR

3. Open the Start Menu, then type compmgmt.msc OR diskmgmt.msc in the search box and press enter.

4. If prompted by UAC, then click on Yes.

5. In the left pane of Computer Management, click on Disk Management under Storage. (see screenshots below)
Drive - Rename-computer_management.jpgDrive - Rename-disk_management.jpg
6. In the middle pane, right click on the drive letter that you want to rename, and click on Properties. (see screenshot below)
Drive - Rename-disk_mangement-1.jpg
7. Under the General tab, type in the new name that you would like and click on OK. (see screenshot below)
Drive - Rename-disk_mangement-2.jpg
8. When finished, you can close the Computer Management or Disk Management window.
That's it,
Shawn



Published by
Administrator

Join Date: Oct 2008
Location: Texas
Posts: 34,818
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools
12-29-2010   #1
Brink


Windows 7 Ultimate x64 SP1
 
 


Updated to add OPTION ONE to change the drive name with a autorun.inf file.

My System SpecsSystem Spec
09-16-2011   #2
Britton30


Windows 7 Ultimate X64 SP1
 
 


Quote:
NOTE: For Devices with Removable Storage, such as a DVD drive, that do not have a Rename option, you will need to use OPTION TWO below instead.
Hello Shawn, the above is written under Option Two, should be Option three?
My System SpecsSystem Spec
09-16-2011   #3
Brink


Windows 7 Ultimate x64 SP1
 
 


Oops. Thank you Gary. Fixed.
My System SpecsSystem Spec
.


Comment

Drive - Rename problems?



Tutorial Tools



Similar Threads for: Drive - Rename
Windows 7 Tutorial Category
C: Drive renamed, cant rename it to anything else. General Discussion
Rename DVD drive Hardware & Devices
Tip: Rename Hard Drive General Discussion
rename Installation & Setup
move files ... rename drive? General Discussion


All times are GMT -5. The time now is 05:48 PM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30