You can remove a drive letter on Windows 11 in at least four ways, and in this guide, you will learn how.

Windows 11 automatically assigns a drive letter to every device storage connected to the computer, including internal drives, USB drives, DVD or Blu-ray devices, and mapped network drives to register the logical volume and present them to you in File Explorer or any other app. 

However, sometimes, you may need to remove a drive letter for various reasons. For example, you may want to keep the drive hidden or the system assigned letters to the hidden boot partitions by mistake. (Use these instructions to change or re-assign a drive letter.)

Whatever the reason, on Windows 11, you can remove a drive letter in at least four ways using the Settings app, Disk Management, Command Prompt, and PowerShell.

This guide will teach you how to remove a drive letter on Windows 11.

  • Remove drive letter on Windows 11
  • Remove drive letter from Disk Management
  • Remove drive letter from Command Prompt
  • Remove drive letter from PowerShell

Remove drive letter on Windows 11

To remove the drive letter on Windows 11, use these steps:

  • Open Settings on Windows 11.
  • Click on System.
  • Click the Storage page.
  • Under the “Storage management” section, click the “Advanced storage settings” option.
  • Click on Disks & volumes.
  • Select the drive with the volume with the letter to remove.
  • Select the volume and click the Properties button.
  • Click the “Change drive letter” button.
  • Select the None option to remove the drive letter on Windows 11.
  • Click the OK button.

Once you complete the steps, the system will remove the drive letter on Windows 11.

Open Settings on Windows 11.

Click on System.

Click the Storage page.

Under the “Storage management” section, click the “Advanced storage settings” option.

Click on Disks & volumes.

Select the drive with the volume with the letter to remove.

Select the volume and click the Properties button.

Click the “Change drive letter” button.

Select the None option to remove the drive letter on Windows 11.

Click the OK button.

Remove drive letter from Disk Management

To remove the drive letter from Disk Management, use these steps:

  • Open Start.
  • Search for Create and format disk partitions and click the top result to open the Disk Management tool.
  • Right-click the volume and select the “Change Drive Letter and Paths” option.
  • Select the drive letter and click the Remove button.
  • Click the OK button.

After completing the steps, the drive will no longer appear in File Explorer.

Open Start.

Search for Create and format disk partitions and click the top result to open the Disk Management tool.

Right-click the volume and select the “Change Drive Letter and Paths” option.

Select the drive letter and click the Remove button.

Remove drive letter from Command Prompt

To add a new drive letter from Command Prompt, use these steps:

  • Open Start.
  • Search for Command Prompt, right-click the result, and select the Run as administrator option.
  • Type the following command to launch diskpart and press Enter:
  • diskpart
  • Type the following command to list the volumes and press Enter:
  • list volume
  • Type the following command to select the volume (drive) to remove the letter and press Enter:
  • select volume 4
  • In the command, change “4” for the number corresponding to the storage to remove the letter.
  • Type the following command to remove the drive letter on Windows 11 and press Enter:
  • remove letter=E
  • In the command, change “E” for the letter to remove.

Once you complete the steps, the diskpart tool will letter for the volume.

Search for Command Prompt, right-click the result, and select the Run as administrator option.

Type the following command to launch diskpart and press Enter:

diskpart

Type the following command to list the volumes and press Enter:

list volume

Type the following command to select the volume (drive) to remove the letter and press Enter:

select volume 4

In the command, change “4” for the number corresponding to the storage to remove the letter.

Type the following command to remove the drive letter on Windows 11 and press Enter:

remove letter=E

In the command, change “E” for the letter to remove.

Remove drive letter from PowerShell

To remove a drive letter from PowerShell, use these steps:

  • Open Start.
  • Search for PowerShell, right-click the result, and select the Run as administrator option.
  • Type the following command to identify the hard drive and press Enter:
  • Get-Disk
  • Type the following command to identify the partition to remove the drive letter and press Enter:
  • Get-Disk 4 | Get-Partition
  • In the command, change “4” with the disk number to remove the letter.
  • Type the following command to remove the drive letter and press Enter:
  • Remove-PartitionAccessPath -DiskNumber 4 -PartitionNumber 2 -Accesspath E:
  • In the command, change “4” with the disk number and “2” for the partition holding the drive letter. Also, change “E” for the drive letter to remove.

After completing the steps, PowerShell will remove the letter for the drive, making it inaccessible.

Search for PowerShell, right-click the result, and select the Run as administrator option.

Type the following command to identify the hard drive and press Enter:

Get-Disk

Type the following command to identify the partition to remove the drive letter and press Enter:

Get-Disk 4 | Get-Partition

In the command, change “4” with the disk number to remove the letter.

Type the following command to remove the drive letter and press Enter:

Remove-PartitionAccessPath -DiskNumber 4 -PartitionNumber 2 -Accesspath E:

In the command, change “4” with the disk number and “2” for the partition holding the drive letter. Also, change “E” for the drive letter to remove.