Devices Remove Drive Letter in Windows 11


  • Staff
Drive_banner.png

Windows will automatically mount new basic volumes that are added to the system, and assign them drive letters by default.

A drive letter is a single alphabetic character A through Z that has been assigned by Windows to a physical drive or drive partition connected to the computer to reference the drive by.

You can remove the drive letter assigned to a drive, partition, or volume if wanted to unassign the drive letter from the drive, partition, or volume.

If you remove the drive letter from a drive, partition, or volume, the drive, partition, or volume will no longer show as a drive in File Explorer > This PC.

Unassigned driver letters will be available to assign to a drive, partition, or volume.

This tutorial will show you how to remove a drive letter in Windows 10 and Windows 11.


You must be signed in as an administrator to remove a drive letter.

Assigned driver letters are referenced in this registry key: HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices




Contents

  • Option One: Remove Drive Letter in Disk Management
  • Option Two: Remove Drive Letter in Settings
  • Option Three: Remove Drive Letter using "diskpart" command
  • Option Four: Remove Drive Letter using "mountvol" command
  • Option Five: Remove Drive Letters of Previously Connected Drives using "automount scrub" command
  • Option Six: Remove Drive Letters of Previously Connected Drives using "mountvol" command




Option One

Remove Drive Letter in Disk Management


1 Open Disk Management (diskmgmt.msc).

2 Right click or press and hold on the drive (ex: "T") you want to remove the drive letter, and click/tap on the Change Drive Letter and Paths. (see screenshot below)

Remove_drive_letter_Disk_Management-1.png

3 Click/tap on Remove. (see screenshot below)

Remove_drive_letter_Disk_Management-2.png

4 Click/tap on Yes to confirm. (see screenshot below)

Remove_drive_letter_Disk_Management-3.png

5 You can now close Disk Management if you like.




Option Two

Remove Drive Letter in Settings


1 Open Settings (Win+I).

2 Click/tap on System on the left side, and click/tap on Storage on the right side. (see screenshot below)


Remove_drive_letter_Settings-1.png

3 Click/tap on Advanced storage settings to expand it open, and click/tap on Disks & volumes. (see screenshot below)

Remove_drive_letter_Settings-2.png

4 Click/tap on Properties for the drive (partition or volume) (ex: "T") you want to remove the drive letter. (see screenshot below)

Remove_drive_letter_Settings-3.png

5 Click/tap on the Change drive letter button. (see screenshot below)

Remove_drive_letter_Settings-4.png

6 Select None in the drop menu, and click/tap on OK. (see screenshot below)

Remove_drive_letter_Settings-5.png

7 You can now close Settings if you like.




Option Three

Remove Drive Letter using "diskpart" command


1 Open Windows Terminal (Admin), and select either Windows PowerShell or Command Prompt.

2 Copy and paste diskpart into Windows Terminal (Admin), and press Enter. (see screenshot below)

3 Copy and paste list volume into Windows Terminal (Admin), and press Enter.

4 Make note of the volume number (ex: "5") for the drive letter (ex: "T") you want to remove.

5 Type the command below into Windows Terminal (Admin), and press Enter.

select volume <volume number>

Substitute <volume number> in the command above with the actual volume number (ex: "5") from step 4 for the drive letter (ex: "T") you want to remove.

For example: select volume 5


6 Type the command below into Windows Terminal (Admin), and press Enter.

remove letter=<drive letter>

Substitute <drive letter> in the command above with the actual drive letter (ex: "T") you want to remove.

For example: drive letter=T


7 You can now close Windows Terminal (Admin) if you like.

Remove_drive_letter_diskpart_command.png





Option Four

Remove Drive Letter using "mountvol" command


1 Open Windows Terminal (Admin), and select either Windows PowerShell or Command Prompt.

2 Type the command below into Windows Terminal (Admin), and press Enter. (see screenshot below)

mountvol <drive letter>: /d

Substitute <drive letter> in the command above with the actual drive letter (ex: "T") you want to remove.

For example: mountvol T: /d


3 You can now close Windows Terminal (Admin) if you like.

Remove_drive_letter_mountvol_command.png





Option Five

Remove Drive Letters of Previously Connected Drives using "automount scrub" command


This option removes the volume mount point directories and registry settings for volumes that are no longer connected to the system.

Basically, this unassigns all driver letters from all previously connected drives that are not currently connected or turned on.



1 Open Windows Terminal (Admin), and select either Windows PowerShell or Command Prompt.

2 Copy and paste diskpart into Windows Terminal (Admin), and press Enter. (see screenshot below)

3 Copy and paste automount scrub into Windows Terminal (Admin), and press Enter.

4 You can now close Windows Terminal (Admin) if you like.

Remove_previous_drive_letters_diskpart_command.png





Option Six

Remove Drive Letters of Previously Connected Drives using "mountvol" command


This option removes the volume mount point directories and registry settings for volumes that are no longer connected to the system.

Basically, this unassigns all driver letters from all previously connected drives that are not currently connected or turned on.



1 Open Windows Terminal (Admin), and select either Windows PowerShell or Command Prompt.

2 Copy and paste mountvol /r into Windows Terminal (Admin), and press Enter. (see screenshot below)

3 You can now close Windows Terminal (Admin) if you like.

Remove_previous_drive_letters_mountvol_command.png



That's it,
Shawn Brink


 

Attachments

  • Drive.png
    Drive.png
    2.7 KB · Views: 16
Last edited:

Latest Support Threads

Top Bottom