Remove Drive Letter in Windows 10  

Page 1 of 3 123 LastLast
    Remove Drive Letter in Windows 10

    Remove Drive Letter in Windows 10

    How to Remove a Drive Letter in Windows 10
    Published by Category: Hardware & Drivers
    30 Jan 2020
    Designer Media Ltd


    How to Remove a Drive Letter in Windows 10

    By default, Windows 10 will automatically assign an available drive letter to any connected internal and external storage devices.

    Windows progresses through the alphabet from A to Z to assign available drive letters to devices as connected.

    • Windows reserves the drive letters A and B for floppy drives, but you can still manually assign them to a drive.
    • The drive letter C can only be used for the drive Windows is installed on. If you multi boot operating systems, the currently running Windows will always show its drive letter as C.

    If you remove the drive letter from a volume, partition, or disk, it will no longer be available to show as a drive in File Explorer "This PC".

    This tutorial will show you different ways to remove a drive letter in Windows 10.

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



    Contents

    • Option One: To Remove Drive Letter in Disk Management
    • Option Two: To Remove Drive Letter in Command Prompt using Diskpart
    • Option Three: To Remove Drive Letter in Command Prompt using Mountvol
    • Option Four: To Remove Drive Letter in PowerShell
    • Option Five: Remove Drive Letters of Previously Connected Drives and Disks using DiskPart > automount Command
    • Option Six: Remove Drive Letters of Previously Connected Drives and Disks using mountvol Command






    OPTION ONE

    To Remove Drive Letter in Disk Management


    1 Press the Win + R keys to open Run, type diskmgmt.msc into Run, and click/tap on OK to open Disk Management.

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

    Remove Drive Letter in Windows 10-remove_drive_letter_in_disk_management-1.jpg

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

    Remove Drive Letter in Windows 10-remove_drive_letter_in_disk_management-2.png

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

    Remove Drive Letter in Windows 10-remove_drive_letter_in_disk_management-3.png

    5 When finished, you can close Disk Management if you like.






    OPTION TWO

    To Remove Drive Letter in Command Prompt using Diskpart


    1 Open an elevated command prompt.

    2 Type diskpart into the elevated command prompt, and press Enter. (see screenshot below)

    3 Type list volume into the elevated command prompt, and press Enter.

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

    5 Type the command below into the elevated command prompt, and press Enter.

    select volume <volume number>

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

    For example: select volume 5

    6 Type the command below into the elevated command prompt, and press Enter.

    remove letter=<drive letter>

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

    For example: remove letter=G

    7 When finished, you can close the elevated command prompt if you like.

    Remove Drive Letter in Windows 10-remove_drive_letter_diskpart.png






    OPTION THREE

    To Remove Drive Letter in Command Prompt using Mountvol


    1 Open an elevated command prompt.

    3 Type the command below into the elevated command prompt, and press Enter. (see screenshot below)

    mountvol <Drive Letter>: /d

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

    For example: mountvol G: /d

    4 When finished, you can close the elevated command prompt if you like.

    Remove Drive Letter in Windows 10-mountvol.png






    OPTION FOUR

    To Remove Drive Letter in PowerShell


    1 Open an elevated PowerShell.

    2 Type Get-Partition into the elevated PowerShell, and press Enter. (see screenshot below)

    3 Make note of the disk number (ex: "1") and PartitionNumber (ex: "3") for the DriveLetter (ex: "G") you want to remove.

    The disks will be listed in numerical order starting with "0" at the top.


    4 Type the command below into the elevated PowerShell, and press Enter to verify the disk number (ex: "1") is correct for the drive letter (ex: "G") you want to remove.

    Get-Disk <disk number> | Get-Partition

    Substitute <disk number> in the command above with the actual disk number (ex: "1") from step 3 above for the drive letter (ex: "G") you want to remove.

    For example: Get-Disk 1 | Get-Partition

    5 Type the command below into the elevated PowerShell, and press Enter to verify the disk number (ex: "1") is correct for the drive letter (ex: "G") you want to remove.

    Remove-PartitionAccessPath -DiskNumber <disk number> -PartitionNumber <partition number> -Accesspath <drive letter>:

    Substitute <disk number> in the command above with the actual disk number (ex: "1") from step 3 and verified in step 4 above for the drive letter (ex: "G") you want to remove.

    Substitute <partition number> in the command above with the actual PartitionNumber (ex: "3") from step 3 for the drive letter (ex: "G") you want to remove.

    Substitute <drive letter> in the command above with the actual DriveLetter (ex: "G") from step 3 above you want to remove.

    For example: Remove-PartitionAccessPath -DiskNumber 1 -PartitionNumber 3 -Accesspath G:

    6 When finished, you can close the elevated PowerShell if you like.

    Remove Drive Letter in Windows 10-remove_drive_letter_in_powershell.png






    OPTION FIVE

    Remove Drive Letters of Previously Connected Drives and Disks using DiskPart > automount Command


    1 Open an elevated command prompt.

    2 Type diskpart into the elevated command prompt, and press Enter. (see screenshot below)

    3 Type automount scrub into the elevated command prompt, and press Enter.

    4 Close the elevated command prompt.

    5 Restart the computer to apply.

    Remove Drive Letter in Windows 10-diskpart_automount_scrub.png






    OPTION SIX

    Remove Drive Letters of Previously Connected Drives and Disks using mountvol Command


    1 Open an elevated command prompt.

    2 Type mountvol /r into the elevated command prompt, and press Enter. (see screenshot below)

    3 Close the elevated command prompt.

    4 Restart the computer to apply.

    Remove Drive Letter in Windows 10-mountvol_r.png


    That's it,
    Shawn



  1. AndreTen's Avatar
    Posts : 20,629
    Windows 10 (Pro and Insider Pro)
       #1

    Shawn, did you just add the third option with mountvol?
      My Computers

  2. Brink's Avatar
    Posts : 48,684
    64-bit Windows 10 Pro for Workstations build 19631
    Thread Starter
       #2

    Correct. :)
      My Computers

  3. AndreTen's Avatar
    Posts : 20,629
    Windows 10 (Pro and Insider Pro)
       #3

    Brink said:
    Correct. :)
    interesting, not very wide used command. Comes handy.
      My Computers


  4. Posts : 10
    Windows 10
       #4

    Brink,

    Thank you, worked, "F" is no longer shown in "This PC". My brother was bothered by it.

    I'm not an advanced user, but better than average I believe.

    In Disk Manager it really doesn't matter which drive is listed as Disk 0 and so on, correct?

    Mark
      My Computer

  5. Brink's Avatar
    Posts : 48,684
    64-bit Windows 10 Pro for Workstations build 19631
    Thread Starter
       #5

    mddi said:
    Brink,

    Thank you, worked, "F" is no longer shown in "This PC". My brother was bothered by it.

    I'm not an advanced user, but better than average I believe.

    In Disk Manager it really doesn't matter which drive is listed as Disk 0 and so on, correct?

    Mark

    You're most welcome Mark.

    Usually, Disk 0 would be the Windows drive by default, but it really just depends on which drive is connected the first SATA port and if any other drive was connected when Windows was installed.

    It's fine to leave it as is as long you're not having any issues booting to Windows 10.
      My Computers


  6. Posts : 10
    Windows 10
       #6

    Brink,

    System Boot's and seems to run fine. After removing the "F" drive letter (did remove from This PC) I disconnected all SATA drives, re-booted and drive "C" was Disk "0".

    Connected the SATA drives and booted again. Drive "C" moved to Disk "1".

    Attached is another screenshot. The System Reserved partition precedes the drive C: partition. Should I assign a drive letter "C" to the System Reserved partition and leave C: on the second partition or remove it?

    Remove Drive Letter in Windows 10-screenshot-3-.png

    Mark
      My Computer


  7. Brink's Avatar
    Posts : 48,684
    64-bit Windows 10 Pro for Workstations build 19631
    Thread Starter
       #7

    No, you don't want to change the "C" drive letter to be for the System Reserved partition. "C" is reserved for the drive Windows is installed on.

    It's normal and fine to have a System Reserved partition created like this on the Windows disk without a drive letter.
      My Computers


  8. Posts : 10
    Windows 10
       #8

    Brink,

    I appreciate your help very much. I won't worry about this if you think it's fine.

    We will be adding another SATA storage device that will possibly move the "C" drive again to maybe what, Disk 2?

    I'm retiring for the night, so if you reply I won't answer until tomorrow.

    Is there a way to move the System Reserved partition after the second or third partition in drive "C" so the partition identified as "C" is listed first? This would have Windows assign drive "C" to disk "0"; do you think?

    Mark
      My Computer

  9. Brink's Avatar
    Posts : 48,684
    64-bit Windows 10 Pro for Workstations build 19631
    Thread Starter
       #9

    The "C" drive should still be referenced as Disk 1.

    Changing the partition location on the disk wouldn't change its disk number.

    You could try swapping the "E" and "C" disk SATA connections, or connecting the "E" drive to a different SATA number higher than the Windows disk is connected to.
      My Computers


 
Page 1 of 3 123 LastLast

Tutorial Categories

Remove Drive Letter in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


Related Threads
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 21:22.
Find Us




Windows 10 Forums