Windows automatically assigns alphabet letters to internal and external hard drives, optical drives, memory cards, etc. to be recognized by all programs.
The main reason for the existence of letters is that it allows system users to interact directly and quickly with devices. Sometimes, however, you may not want your devices to be mapped automatically by letters, or even if they have already been mapped to remove that mapping. Possible reasons for this are that you do not want to access a disk or a partition of a disk. Another reason is that you may want encrypted drives or encrypted partitions to not have a drive letter so that it is not mounted and that someone or a program can not interact with the unmount disks.
All versions of Windows include disk management tool to manage drives and other storage devices. This tool provides options to add, change, or remove the letters that correspond to them, shrink or expand volumes, or attach virtual hard disks. But let's look at the letter management of disks.
To start the disk management tool in Windows either press Win + R at the same time to open the run box, then type diskmgmt.msc or use the menu by pressing Win + X at the same time and selecting "Disk Management" ”. (Windows 8 and later).
The Disk Management tool may take some time to read all of your devices. Describes all available volumes, disks, partitions, and drive letters. To interact with a partition, right-click on it.
The context menu will appear. In this, select the "change letter or drive path" command to remove the drive or partition letter.
In the new window that appears you have the right to add, change and remove the drive letter. To remove it, select it and then press the "Remove" button to perform the action. Disk Manager displays a warning question when you select Remove, which states:
Some drive letter-based programs may not run properly. Are you sure you want to remove this drive letter?
If the partition or disk is not used then removing the letter is not a problem, but if it is used by programs it can cause problems. Select yes to continue execution or no to cancel it.
Disk Manager automatically closes the window and instantly displays the change you made. The change is reflected in both Explorer and all file browsers.
You can add a drive letter to volumes using the same wizard, step by step. The only difference is that you have to select "Add" and then select one of the available drive letters.
The same task can be done through the command line console. Open a command prompt with administrator privileges (if you do not know how, then press Win to bring up the menu, type cmd.exe, right-click on the command prompt that appears and select Run with administrator privileges ”).
You can use the mountvol command to interact with volumes. A good starting point is the mountvol / command; which contains all the supported parameters of the command.
Use the / D parameter to remove a drive letter. The order mountvol d: / D removes the drive letter D :. Use the command mountvol d: VolumeName to set a drive letter.