Remove Drive Letter in Windows 10  

    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
    05 Sep 2018
    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.
    • 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





    Remove Drive Letter in Windows 10 OPTION ONE Remove Drive Letter in Windows 10
    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)

    Name:  Remove_drive_letter_in_Disk_Management-1.jpg
Views: 55339
Size:  133.3 KB

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

    Name:  Remove_drive_letter_in_Disk_Management-2.png
Views: 55168
Size:  15.1 KB

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

    Name:  Remove_drive_letter_in_Disk_Management-3.png
Views: 55113
Size:  9.6 KB

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






    Remove Drive Letter in Windows 10 OPTION TWO Remove Drive Letter in Windows 10
    To Remove Drive Letter in Command Prompt

    1. Open an elevated command prompt.

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

    3. Enter 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. Enter 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. Enter 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

    If the new drive letter you assign is not available, you will get an error message indicating so in the command prompt. You will just need to repeat this step to assign an available drive letter.

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

    Name:  Remove_drive_letter_diskpart.png
Views: 55274
Size:  43.3 KB






    Remove Drive Letter in Windows 10 OPTION THREE Remove Drive Letter in Windows 10
    To Remove Drive Letter in Command Prompt

    1. Open an elevated command prompt.

    2. 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

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

    Name:  mountvol.png
Views: 54318
Size:  13.7 KB






    Remove Drive Letter in Windows 10 OPTION FOUR Remove Drive Letter in Windows 10
    To Remove Drive Letter in PowerShell

    1. Open an elevated PowerShell.

    2. Enter 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. Enter 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. Enter 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.

    Click image for larger version. 

Name:	Remove_drive_letter_in_PowerShell.png 
Views:	578 
Size:	97.1 KB 
ID:	182734






    Remove Drive Letter in Windows 10 OPTION FIVE Remove Drive Letter in Windows 10
    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.

    Name:  diskpart_automount_scrub.png
Views: 8101
Size:  16.1 KB






    Remove Drive Letter in Windows 10 OPTION SIX Remove Drive Letter in Windows 10
    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.

    Name:  mountvol_R.png
Views: 8087
Size:  8.0 KB


    That's it,
    Shawn




  1. AndreTen's Avatar
    Posts : 15,468
    Windows 10 (Pro and Insider Pro)
       01 May 2018 #1

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

  2. Brink's Avatar
    Posts : 34,370
    64-bit Windows 10 Pro build 18290
    Thread Starter
       01 May 2018 #2

    Correct. :)
      My ComputersSystem Spec

  3. AndreTen's Avatar
    Posts : 15,468
    Windows 10 (Pro and Insider Pro)
       01 May 2018 #3

    Brink said: View Post
    Correct. :)
    interesting, not very wide used command. Comes handy.
      My ComputersSystem Spec


 

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
Hi, Ive just created a New Simple volume on a USB flash drive using Disk Management. My laptop has only got drive C: and drive D: dvdrw. I noticed at the far left in the lower half of the screen it said Disk 1, Removable and it had the drive...
Hi, I have a USB flash drive that the Media Creation Tool messed up when it was formatting it to create installation media. Ive worked out how to fix the flash drive. I just have to use disk management to create a new simple volume on it, I then...
Is it possible to discover the previous drive letter assignments on an old boot drive? I have a Windows 7 boot drive that previously was part of a system with 8 hard drives. I cloned the boot drive from this system and moved to a newer system,...
Hardware & Drivers Change and Assign Drive Letter in Windows 10 in Tutorials
How to Change and Assign 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...
Solved Windows 10 has changed my Drive letter in Installation and Upgrade
I have just upgraded to Windows 10 Home using the Tutorials and a flash drive boot. All seems to have gone well and Windows installed in my 120Gig SSD Drive C. However, I see my 1T HDD Drive E (which I disconnected before installing Windows...
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 02:54.
Find Us