How To Rename A Hard Drive

5 min read

Renaming a hard drive is one of the simplest yet most effective ways to organize your digital workspace. Whether you are managing multiple external drives for backups, juggling internal partitions for different operating systems, or simply trying to distinguish between "Drive D" and "Drive E," a clear, descriptive label saves time and prevents costly errors. This guide walks you through every method available on Windows, macOS, and Linux, covering both graphical interfaces and command-line tools for advanced users.

Why Renaming Your Drive Matters

Before diving into the technical steps, it helps to understand why you should bother changing the default label. Manufacturers often assign generic names like "Local Disk," "New Volume," or "Untitled." When you connect several drives—especially external SSDs, flash drives, or SD cards—these generic labels create confusion.

A custom name improves workflow efficiency. On the flip side, it also reduces the risk of accidental data loss. Formatting or wiping the wrong drive is a nightmare scenario; a distinct label acts as a visual safety check. In practice, you can instantly identify a drive labeled "Video_Projects_2024" or "System_Backup_Oct" without opening it to check the contents. Finally, for network-attached storage (NAS) or shared drives, a recognizable name helps colleagues or family members locate the correct volume immediately.

How to Rename a Hard Drive on Windows

Windows offers three primary ways to change a drive label: File Explorer (the easiest), Disk Management (for stubborn volumes), and the Command Prompt or PowerShell (for automation) The details matter here. No workaround needed..

Method 1: Using File Explorer (Fastest)

This method works for internal hard drives, SSDs, USB flash drives, and SD cards.

  1. Open File Explorer (Win + E).
  2. deal with to This PC in the left sidebar.
  3. Locate the drive you want to rename under "Devices and drives."
  4. Right-click the drive icon and select Rename from the context menu. Alternatively, click the drive once to highlight it, press F2, or click the "Rename" icon in the toolbar (Windows 11).
  5. Type the new name. Note: Windows limits labels to 32 characters for NTFS drives and 11 characters for FAT32/exFAT drives. You cannot use the following characters: \ / : * ? " < > |.
  6. Press Enter. If prompted for administrator permission, click Continue.

Method 2: Using Disk Management (For System Reserved or Hidden Partitions)

Sometimes File Explorer refuses to rename a drive (often system-reserved partitions or drives without a drive letter). Disk Management bypasses this.

  1. Right-click the Start button and select Disk Management (diskmgmt.msc).
  2. In the bottom pane, locate the volume you want to rename. Look at the "Volume" column for the current label.
  3. Right-click the specific partition/volume (the colored bar) and choose Properties.
  4. In the General tab, delete the existing text in the label field next to the drive icon.
  5. Type your new name and click OK, then Apply.

Method 3: Using Command Prompt or PowerShell (Advanced)

If you are scripting a deployment or the GUI is unresponsive, the command line is powerful.

Command Prompt (label command):

  1. Open CMD as Administrator.
  2. Type label X: New_Name (replace X: with the drive letter and New_Name with your label).
  3. Press Enter.

PowerShell (Set-Volume cmdlet):

  1. Open PowerShell as Administrator.
  2. Run: Set-Volume -DriveLetter X -NewFileSystemLabel "New Name"
  3. This supports names with spaces (use quotes) and works on modern file systems like ReFS and NTFS.

How to Rename a Hard Drive on macOS

Apple makes renaming volumes extremely intuitive via Finder, but Disk Utility and Terminal offer alternatives for edge cases.

Method 1: Using Finder (Standard)

  1. Open a Finder window.
  2. In the sidebar under Locations, click the drive name. If it’s not visible, go to Finder > Settings (Preferences) > Sidebar and check "Hard disks" and "External disks."
  3. Slow double-click the drive name (click once, pause, click again) or right-click (Control-click) and select Rename.
  4. Type the new name. macOS allows up to 255 characters and supports Unicode (emojis, accents, symbols), though avoiding / and : is best practice for cross-platform compatibility.
  5. Press Return.

Method 2: Using Disk Utility (For Unmounted or Problematic Volumes)

If a drive is greyed out in Finder or you need to rename the container (APFS) rather than just the volume:

  1. Open Disk Utility (Cmd + Space, type "Disk Utility").
  2. Select the volume (indented under the physical drive) in the sidebar.
  3. Click the Info button (circle-i) in the toolbar, or go to File > Get Info.
  4. Edit the Name field.
  5. Alternatively, select the volume and click Erase (warning: this wipes data) to rename during a reformat. For a simple rename without data loss, the Info panel is sufficient.

Method 3: Using Terminal (diskutil)

For remote management via SSH or scripting:

  1. Open Terminal.
  2. List volumes: diskutil list
  3. Identify the identifier (e.g., disk4s2) or the current mount point (/Volumes/OldName).
  4. Run: diskutil rename "OldName" "NewName"
    • Example: diskutil rename "Untitled" "Mac_Backup_SSD"

How to Rename a Hard Drive on Linux

Linux distributions vary in desktop environments (GNOME, KDE, XFCE), but the terminal method is universal. GUI methods usually involve the file manager (Nautilus, Dolphin, Thunar) And that's really what it comes down to..

Method 1: GUI File Manager (GNOME/KDE/XFCE)

  1. Open your File Manager (Files, Dolphin, Thunar).
  2. Locate the drive in the sidebar or main pane.
  3. Right-click the drive label and select Rename.
  4. Enter the new label. Permissions may require your password (polkit authentication) if the drive is mounted at a system level rather than user level.

Method 2: Command Line (Universal & Persistent)

The command depends on the file system type. You must unmount the drive first The details matter here..

  1. Find the device path: lsblk -f or sudo fdisk -l. Look for /dev/sdX1 or /dev/nvme0n1p1 Small thing, real impact..

  2. Unmount: sudo umount /dev/sdX1 (replace with your partition).

  3. Apply the correct command for your file system:

    • ext2/ext3/ext4: sudo e2label /dev/sdX1 "New_Label"
    • NTFS: sudo ntfslabel /dev/sdX1 "New_Label" (requires ntfs-3g package)
    • FAT32/exFAT (vfat): sudo fatlabel /dev/sdX1 "NEWLABEL" (Note: FAT labels are uppercase, max 11 chars).
    • exFAT (modern): `sudo exfatlabel /dev
Up Next

What's New

Worth Exploring Next

A Natural Next Step

Thank you for reading about How To Rename A Hard Drive. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home