How to change Windows hard drive name (letter)

We have been using drive letters C, D, E... since before the days of DOS, and surprisingly we are still using them today.

Everyone knows that C: is the drive that contains the Windows installation or at least the Windows boot drive. If you are wondering why the default drive on a Windows computer is C and not A or B? then read the other article of Quantrimang.com.

Although the default hard drive name is C, E, D, F, if you have admin rights (log in to the computer with an administrator account), you can completely rename the hard drive, more precisely, assign a different character to the hard drive. Below is the general implementation, applicable to all Windows operating systems with integrated Disk Management, from Windows XP to Windows 11.

How to Easily Label or Rename a Hard Drive in Windows

How to rename hard drive on Windows 11/10

Method 1: Rename hard drive using Disk Management

Type " Disk Management " into the search bar and click the first result, usually " Create and format hard disk partitions ". Or press Windows+ Xto select Disk Management .

How to change Windows hard drive name (letter) How to change Windows hard drive name (letter)

The Disk Management window appears, and you'll see a graphical list of the drives on your computer, and the partitions on each drive. Remember, the drive letter is the partition, not the actual drive label. But if there's only one partition on the drive, then the correct drive letter is the actual drive label.

How to change Windows hard drive name (letter)

Make sure the drive containing the partition you want to change is listed. Also, check to see if any partitions or devices are already using the drive letter you want. If so, you'll have to change that drive letter first. For example, if you want your data partition to be T: but your optical drive is already T:, you'll have to change the optical drive to a different letter (for example, E: or O:). That will free up T: and allow you to make the change you originally wanted.

Select the hard drive you want to rename and right-click on it > select Change Drive Letter and Paths...

How to change Windows hard drive name (letter)

In the window that opens, select Change...

How to change Windows hard drive name (letter)

Click the down arrow next to the hard drive name, select the letter you want to assign to your hard drive > click OK to close the window.

How to change Windows hard drive name (letter)

A prompt appears saying: "Some programs that depend on the hard drive name may not run. Do you want to continue?" , click Yes to continue:

How to change Windows hard drive name (letter)

Note: If the drive you want to rename contains the installation files of software, these software may fail when running, and even need to be reinstalled. Initially, I intended to rename drive E, but because this drive contains many installation files of important software, I changed the name of drive F to drive T, the result after renaming is as follows:

Method 2: Rename hard drive from context menu

1. Open File Explorer and select the drive you want to rename, then press F2, or right-click the drive and select Rename from the context menu.

How to change Windows hard drive name (letter)
Open File Explorer, right-click on the drive and select Rename from the context menu

2. Enter a new name and click Enterto apply changes.

3. When you get a message that says: Access Denied – You will need to provide administrator permission to rename this drive”. Click Continue.

How to change Windows hard drive name (letter)
If you see the message “Access Denied – You will need to provide administrator permission to rename this drive”, click Continue

Method 3: Rename the hard drive from the drive properties

1. Right-click the destination drive in File Explorer and select Properties from the context menu.

How to change Windows hard drive name (letter)
Right-click on the drive and select Properties from the context menu

2. When the Properties window opens, enter a new name in the text box and click OK.

How to change Windows hard drive name (letter)
Enter a new name in the text box and click OK

Method 4: Rename hard drive from Command Prompt

1. Open Command Prompt with admin rights .

2. Type the following command and press Enter. Do not add quotation marks even if the new name for the drive contains spaces.

label drive_letter: new_name
How to change Windows hard drive name (letter)
Type the command into Command Prompt and press Enter

3. This step will change the label of the hard drive immediately.

Method 5: Rename hard drive from PowerShell

1. Open a PowerShell window with admin rights and run the following command. Replace D with the actual drive letter and My Backup with the new drive letter.

Set-Volume -DriveLetter D -NewFileSystemLabel "My Backup"
How to change Windows hard drive name (letter)
Rename hard drive from PowerShell

2. Once done, open File Explorer and you should see the drive with the new label.

How to change drive letter on Windows 7/8/XP

First, enable the Disk Management tool on Windows 7 , 8/8.1. If you are using Windows 7, XP or Vista, click Start > right-click Computer (in Windows XP right-click My Computer) > select Manage . After the Computer Management program appears, click Disk Management in the left pane, under Storage.

You can't press Start in Windows 8 , so press the Windows+ key combination X> select Disk Management.

1. Right-click on the partition you want to change and select Change Drive Letter and Paths.

How to change Windows hard drive name (letter)

2. In the resulting dialog box select Change. In the next dialog box select the desired drive letter.

How to change Windows hard drive name (letter)

After clicking OK, a dialog box will warn you that some programs may not work. If problems arise, you can go back and change the letters again.

Bonus: How to assign characters to hard drives using cmd

Open the This PC/Computer/My Computer window to see a list of available drives:

How to change Windows hard drive name (letter)

Open cmd with admin rights, enter the command diskpart > Enterto launch the Diskpart command line utility.

Next, enter the list volume command to list all the volumes on the computer.

Look back at the This PC/Computer/My Computer window and compare it with the list of volumes just listed in the results of the above command to select the correct volume/drive you want to rename, then enter the command select volume ###, select ### corresponding to the volume you need, suppose here I want to rename drive T, corresponding to volume 4, the command will be select volume 4 .

Enter the command assign letter=A . Replace the character after the mark =with the letter you want, but avoid characters that have been assigned to other drives.


The whole process of renaming hard drive using cmd

After receiving a message that the drive letter has been successfully assigned, enter the exit command to exit Diskpart and close the cmd window. The renamed hard drive will be rearranged in order a, b, c, as shown below:

How to change Windows hard drive name (letter)

Note: You can change the letter of an external drive, but the change will not be permanent. Every time you plug a storage device into a USB port, Windows will assign it the first available drive letter.

Sign up and earn $1000 a day ⋙

Leave a Comment

How to regain access to hard drive, fix error of not being able to open hard drive

How to regain access to hard drive, fix error of not being able to open hard drive

In this article, we will guide you how to regain access to your hard drive when it fails. Let's follow along!

How to use dental floss

How to use dental floss

Dental floss is a common tool for cleaning teeth, however, not everyone knows how to use it properly. Below are instructions on how to use dental floss to clean teeth effectively.

How to gain muscle according to experts

How to gain muscle according to experts

Building muscle takes time and the right training, but its something anyone can do. Heres how to build muscle, according to experts.

The Best Diets for Heart Health

The Best Diets for Heart Health

In addition to regular exercise and not smoking, diet is one of the best ways to protect your heart. Here are the best diets for heart health.

How to cure insomnia for pregnant women in the last 3 months

How to cure insomnia for pregnant women in the last 3 months

The third trimester is often the most difficult time to sleep during pregnancy. Here are some ways to treat insomnia in the third trimester.

Scientifically Proven Ways to Automatically Burn Calories

Scientifically Proven Ways to Automatically Burn Calories

There are many ways to lose weight without changing anything in your diet. Here are some scientifically proven automatic weight loss or calorie-burning methods that anyone can use.

All about iOS 26

All about iOS 26

Apple has introduced iOS 26 – a major update with a brand new frosted glass design, smarter experiences, and improvements to familiar apps.

Yoga exercises to treat insomnia

Yoga exercises to treat insomnia

Yoga can provide many health benefits, including better sleep. Because yoga can be relaxing and restorative, its a great way to beat insomnia after a busy day.

What is the flower of the other shore? Meaning and legend of the flower of the other shore

What is the flower of the other shore? Meaning and legend of the flower of the other shore

The flower of the other shore is a unique flower, carrying many unique meanings. So what is the flower of the other shore, is the flower of the other shore real, what is the meaning and legend of the flower of the other shore?

Healthy snacks that help you lose weight

Healthy snacks that help you lose weight

Craving for snacks but afraid of gaining weight? Dont worry, lets explore together many types of weight loss snacks that are high in fiber, low in calories without making you try to starve yourself.

What to do when you have trouble sleeping?

What to do when you have trouble sleeping?

Prioritizing a consistent sleep schedule and evening routine can help improve the quality of your sleep. Heres what you need to know to stop tossing and turning at night.

How to add a printer to Windows 10

How to add a printer to Windows 10

Adding a printer to Windows 10 is simple, although the process for wired devices will be different than for wireless devices.

The most commonly deficient nutrients in the diet

The most commonly deficient nutrients in the diet

Diet is important to our health. Yet most of our meals are lacking in these six important nutrients.

How to get beautiful nails quickly

How to get beautiful nails quickly

You want to have a beautiful, shiny, healthy nail quickly. The simple tips for beautiful nails below will be useful for you.

The best laptops for students in 2025

The best laptops for students in 2025

Students need a specific type of laptop for their studies. It should not only be powerful enough to perform well in their chosen major, but also compact and light enough to carry around all day.