Top Contributors in Windows 11: RAJU.MSC.MATHEMATICS - questions_ - Ramesh Srinivasan - Horace Wiggins - neilpzz 👏
November 15, 2023

Top Contributors in Windows 11:
RAJU.MSC.MATHEMATICS - questions_ - Ramesh Srinivasan - Horace Wiggins - neilpzz 👏
- Search the community and support articles
- Search Community member
Ask a new question
- Article Author
Manually assigning a drive letter using CMD/Diskpart
[Localization from this article: Manuelles Zuweisen eines Laufwerksbuchstaben mit CMD bzw. Diskpart - Microsoft Community ]
Technical Difficulty: Expert
Applies to: Windows 10 & 11
In some cases, Windows will not assign a drive letter automatically to an inserted drive. For example, this can happen when using a Windows installation media.
In that case, you can use diskpart to manually assign a drive letter.
NOTE: If your drive doesn't get assigned a drive letter, even though you are in a normal Windows environment, this can indicate a problem with the drive. Please back up your files in that case.
Open up a command prompt (CMD/PowerShell).
Type "diskpart" to start up diskpart. You will see the prompt change to "DISKPART>".
Type "list vol" to list all available volumes. You can identify the drive by size and file system.
Additionally, the volume doesn't currently have a drive letter.
Select the volume using "sel vol <number>".
Assign the drive letter using "assign letter=<letter>".
You can now exit diskpart by typing "exit" and switch to the drive using "<letter>:".
It should also be available from Windows Explorer now.
41 people found this helpful
- Subscribe to RSS feed
Was this article helpful? Yes No
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this article?
Thanks for your feedback, it helps us improve the site.
Thanks for your feedback.
Comments (17)
* Please try a lower page number.
* Please enter only numbers.
Thanks for the tutorial, I don't think I need to use Google for it anymore!
Congrats on Article Author too! :)
Report abuse
6 people found this comment helpful
Was this comment helpful? Yes No
How satisfied are you with this comment?
Thanks for the tutorial, I don't think I need to use Google for it anymore! Congrats on Article Author too! :)
4 people found this comment helpful
Thanks! Happy I could help! :)
1 person found this comment helpful
Very helpful Thanks.
3 people found this comment helpful
Thank for this informative article.
I ran this in PowerShell PS C:\WINDOWS\system32> GWMI -namespace root\cimv2 -class win32_volume | FL -property DriveLetter, DeviceID
The results are below. I need to know more about the DriveLetter, that does not have a letter and I cannot give it a letter, as you can see in DiskPart.
I'm sure someone personally hacking my computer. I'm wondering if this them hiding on it, and that is why I someone is typing over me and has more control at times of my computer then I do. Maybe a hidden AD Hoc.
I have searched for this on Google I'm either getting blocked or there is no information out there on this.
PS C:\WINDOWS\system32> GWMI -namespace root\cimv2 -class win32_volume | FL -property DriveLetter, DeviceID
DriveLetter : B:
DeviceID : \\?\Volume{26xxxxxx--xxxx-xxxx-xxxxxxxxxxxxxx}\
DriveLetter : C:
DriveLetter :
DeviceID : \\?\Volume{d5xxxxxx--xxxx-xxxx-xxxxxxxxxxxxxx}\
DriveLetter : D:
PS C:\WINDOWS\system32> DiskPart
Microsoft DiskPart version 10.0.19041.1
Copyright (C) Microsoft Corporation.
On computer: My Computer
DISKPART> List Volume
Volume ### Ltr Label Fs Type Size Status Info
---------- --- --- -------- ----- ---------- ------- --------- --------
Volume 0 D RAW DVD-ROM 2048 B Healthy
Volume 1 B System Rese NTFS Partition 100 MB Healthy System
Volume 2 C NTFS Partition 698 GB Healthy Boot
2 people found this comment helpful
I followed the instructions to CHANGE the letters assigned for three external hard drives. (The computer had named them E, F, G but gave the names to the wrong external hard drive) I changed the letters to the correct names singly (I disconnected the two not being adjusted) Now, I have 2 E, 2 F, 2 G names in the list (when accessed through File Explorer. When I click on "This PC", it shows just the one of each. If I click on either, or both of the same letter name, the same exact files will open. This is annoying. Anyone have a clue what can be done? This is on a brand new computer running Windows 11.
Sorry about the late reply.
That sounds weird... Usually, windows doesn't allow you to assign a drive letter twice.
If you want to change the letters, you usually have to remove them first and then reassign them.
Can you send me a screenshot of disk management, and of the list of volumes?
the partition that is not shown in diskpart is most likely some sort of recovery or reserved partition.
This is not the typical way of hiding an infection with malware...
Also, do note that your ESP (Volume B) should not be mounted, since modifying it can corrupt your Bootloader.
As for the suspected hacking, what symptoms did you observe? Mouse moving on its own, high resource usage, unexpected firewall prompts? Other things?
If you have a compromised system, its almost impossible to clean it from infections without doing a clean install of windows. I would suggest you do that if you suspect an infection. It will take time though and will delete everything on your PC. (Including files, programs, settings.) Create a backup before you reinstall.
There are no viruses nor malware on this computer. I believe it is a reflection of the original name choice. The information contained on each external hard drive is identical, yet when I go into MY PC, it only shows one set of externals. I am afraid to delete one of the duplicates because it might be just mirrored and it will make everything go away. I have way too many things on these external hard drives to lose any of them.
Thanks for your input. Jan
Forum Article Info
- Devices and drivers
- Norsk Bokmål
- Ελληνικά
- Русский
- עברית
- العربية
- ไทย
- 한국어
- 中文(简体)
- 中文(繁體)
- 日本語
How to assign permanent letters to drives on Windows 10
You can assign drive letters manually, and in this guide, we show you how on Windows 10.

On Windows 10, when connecting a removable storage device or an internal hard drive, the system detects and assigns a drive letter automatically to make it usable. However, when reconnecting an external drive (such as a USB flash drive or SD or microSD cards), the system can end up assigning a different letter, which can be annoying.
If you want to see the same drive letter on a particular device, you can manually assign a permanent letter to any drive connected to your computer, and on Windows 10 , you can do this in at least three different ways, using Disk Management, Command Prompt, or PowerShell.
Using this approach will prevent Windows 10 from assigning a new letter or trying to set a letter already in use, which can cause conflicts. Also, it helps to select a drive letter that makes more sense to you.
In this Windows 10 guide, we walk you through several methods to manually assign a permanent letter to a drive, as long as you're connecting the drive to the same device and the letter isn't already in use.
How to assign a drive letter using Disk Management
How to assign a drive letter using command prompt, how to assign a drive letter using powershell.
To manage drive letters with the Disk Management tool, use these steps:
- Open Start .
- Search for Create and format hard disk partitions and click the top result to open the Disk Management experience.
- Right-click the drive and select the Change Drive Letter and Paths option.
- Click the Change button.
- Select the Assign the following drive letter option.
- Use the drop-down menu to assign a new drive letter. Quick tip: To avoid the system trying to assign the same letter to another drive, it's a good idea to start adding letters in backward order. For instance, instead of using D, E or F, it better to start with Z, Y or X when assigning a new letter.
- Click the OK button.
- Click the OK button again.
Once you complete these steps, the drive will permanently retain the assigned letter, even after reconnecting it. However, if you connect the drive to another device, it may receive a different letter.
While the easiest way to assign a new drive letter is to use Disk Management, you can also use DiskPart in Command Prompt to perform the same task.
To assign a drive letter using Command Prompt, use these steps:
- Search for Command Prompt , right-click the result, and then select the Run as administrator option.
- Type the following command to start DiskPart and press Enter : diskpart
- Type the following command to list all the available volumes and press Enter : list volume
- Type the following command to select the volume (drive) to assign a new letter and press Enter: select volume 3 In the command, make sure to change "3" to the number that represents the drive on your device.
- Type the following command to assign a new drive letter, and press Enter : assign letter=Z The command assigns the letter "Z" to the drive assuming it's available. However, you need to make sure to change the letter for the one that you want to use.
After completing these steps, similar to Disk Management, every time you reconnect the storage to the same device, Windows 10 should assign the same letter automatically.
Alternatively, you can also use PowerShell to change a drive letter on Windows 10 using these steps:
- Search for PowerShell , right-click the result, and then select the Run as administrator option.
- Type the following command to list the available drives and press Enter : Get-Disk
- Type the following command to assign a permanent letter to the drive and press Enter : Get-Partition -DiskNumber 1 | Set-Partition -NewDriveLetter Z In the command, make sure to change "1" to the number that represents the drive that you want to modify, and change "Z" for the new letter that you want to use.
Once you complete the steps, the drive will be accessible through File Explorer using the letter that you assigned, and Windows 10 won't try to change it.
Updated March 7, 2019: We revised this guide to make sure it's current with the latest version of Windows 10.
More Windows 10 resources
For more helpful articles, coverage, and answers to common questions about Windows 10, visit the following resources:
- Windows 10 on Windows Central – All you need to know
- Windows 10 help, tips, and tricks
- Windows 10 forums on Windows Central
Get the Windows Central Newsletter
All the latest news, reviews, and guides for Windows and Xbox diehards.

Mauro Huculak is technical writer for WindowsCentral.com. His primary focus is to write comprehensive how-tos to help users get the most out of Windows 10 and its many related technologies. He has an IT background with professional certifications from Microsoft, Cisco, and CompTIA, and he's a recognized member of the Microsoft MVP community.
- 2 Cyber Monday is the perfect time to buy Halo and Minecraft toys that Xbox fans can pass off as collectibles
- 3 The BEST webcam for Windows PCs is 25% off for Cyber Monday, and it even has Windows Hello face unlock
- 4 Lenovo LOQ Tower (17IRB8) review: An adept, compact, and affordable 1080p gaming desktop
- 5 This 27-inch 5K monitor from Samsung is WAY cheaper than Apple's Studio Display — but only for Cyber Monday

Assign Drive Letters to Folders in Windows
We'll show you 3 different methods to try
If there are folders that you access frequently, this post shows you how to quickly access these folders in Windows Explorer without having to enter the full path to the folder. We will discuss three ways to map folders to drive letters.
Method 1: Use the subst DOS Command
First, we will use an old DOS command, called subst , that allows you to assign a drive letter to any folder in Windows.
For this example, we will assign a drive letter for the following folder: C:\Users\Lori Kaufman\Documents\My Work .
Open the Start menu and enter “ cmd.exe ” (without the quotes) in the Search programs and files box. Click cmd.exe in the results to open the command prompt window.

In the command prompt window, type the following command to associate drive “ Y: ” with the folder.
NOTE: If there are spaces in the path name, be sure to put quotes around the full path.

Now, when we open Windows Explorer, we see a new drive labeled Y: that will directly open the My Work folder.

Use this same process to assign different drive letters to all your frequently used directories. However, the subst command cannot be used with mapped network folders.
Method 2: Use the psubst Utility
A disadvantage of using the subst command is that these virtual drives are temporary and will be removed as soon as you shutdown or restart the computer or log off. However, you can solve this by using the free psubst utility, which operates like the subst command but it creates permanent virtual drives that are persistent even after rebooting your computer.
Download the psubst utility from
https://github.com/ildar-shaimordanov/psubst
Now go ahead and read my post on how to use psubst to map a folder to a drive letter .
Method 3: Use a Graphical Tool
If you would rather use a graphical tool to map drive letters to folders, there is a free utility called, Visual Subst , that’s like a graphical version of the psubst utility.
Download Visual Subst from
http://www.ntwind.com/software/utilities/visual-subst.html
To install Visual Subst , double-click on the .exe file you downloaded.

On the Installation Options screen, select the check boxes for the Program Shortcuts you want to install and click Next .

When the setup is completed, click Close . Double-click the shortcut to start the program. You can also start it from the Start menu.

The main Visual Subst window displays. Select a desired drive letter from the drop-down list.

To select a folder to map to the selected drive letter, click the Browse button to the right of the edit box.

On the Browse For Folder dialog box, navigate to the folder you want to map, select it, and click OK .

To map the selected folder to the selected drive letter, click the green plus button on the button bar to the left of the drive letter drop-down list.

The virtual drive is added to the list. Add more virtual drives by selecting a drive letter and a corresponding folder and adding it to the list as described above.

If you want the virtual drives you defined available automatically when you start Windows, select the Apply virtual drives on Windows startup check box so there is a check mark in the box.

To save the settings for Visual Subst , click the floppy disk button on the button bar. A file with the .ini extension is saved in the same directory where Visual Subst was installed.

The mapped folders display as Hard Disk Drives in Windows Explorer.

If you want to remove the mapping for a folder, open Visual Subst again and select the virtual drive from the list. Click the red X button on the button bar.

Mapping folders to drive letters can save you a lot of time and Visual Subst makes adding virtual drives easy. Visual Subst works in Windows 2000, Windows XP, and later versions of Windows including Windows 7, 8 and 10. Enjoy!
Founder of Help Desk Geek and managing editor. He began blogging in 2007 and quit his job in 2010 to blog full-time. He has over 15 years of industry experience in IT and holds several technical certifications. Read Aseem's Full Bio
Read More Posts:

How to Remove and Assign Drive Letters in Windows with Diskpart
Diskpart is one of the most powerful Windows command line utilities which first appeared in Windows XP. Diskpart is mainly used by Windows administrators to manage tasks like partition management, formatting, creating, re-sizing and getting a detailed information regarding the hard disk or other removable disks attached to the computer. Even though you have a built-in GUI application called Disk Management utility in Windows, Diskpart is much more flexible and works well in a server environment where you need to set up some advanced features like RAID.
Note: This post isn’t intended for beginners, and doing something wrong while using Diskpart utility may cause drive failures and data losses, so make sure that you have a good backup before continuing. You have been warned.
Assign Drive Letter Using Diskpart
Assigning a new drive letter to a partition or removable device using Diskpart is really easy. First, search for the command prompt in the Start menu, right click on it and select the option “Run as administrator.” If you are using Windows 8, press “Win + X” to open the power user menu and select the option “Command Prompt (Admin).”

The above action will open the command prompt window with administrative rights. Here enter the following command to start the Diskpart utility.

The next step is to list all the volumes in your computer so that you can clearly see all the volume numbers and drive letters of your hard disk partitions and any other removable devices. Use the command below to list all the volumes.

Once the Diskpart utility lists all the volumes, take a note of the volume number of the drive you want to assign a new drive letter. In my case, I’m trying to assign a new drive letter to the drive I:\ , so my volume number is 7 . Now execute the following command to select the volume while replacing the # symbol with an actual volume number.

Once the volume is selected, use the following command to assign a new drive letter. Don’t forget to replace the letter “V” with the drive letter you want to assign.

That’s all there is to do; you have successfully changed or re-assigned a new drive letter to a partition or a removable drive in Windows. In fact, if you open the Windows explorer, you can see that the change is reflected immediately.

Remove Drive Letter using Diskpart
Before moving any further, removing or un-assigning drive letter will effectively hide the drive or partition from plain sight, i.e. you cannot see that drive in the Windows explorer. To remove a drive letter, follow the above steps 1 through 4 and then use the below command to remove the drive letter of a drive or partition. Don’t forget to replace the letter “I” with the actual drive letter.

As soon as you have done that, Diskpart will remove the drive letter for that volume. If you list the volumes again, you will see that the drive you just interacted with will have no drive letter next to it.

Moreover, if you navigate to the Windows explorer, you will see that the drive which got un-assigned isn’t listed anymore. But again, always be careful while you are messing around with Diskpart utility; it may cause irrecoverable data loss if used incorrectly.
Hopefully that helps, and do comment below if you face any problems while following the steps or to simply share your thoughts.
Our latest tutorials delivered straight to your inbox
Vamsi is a tech and WordPress geek who enjoys writing how-to guides and messing with his computer and software in general. When not writing for MTE, he writes for he shares tips, tricks, and lifehacks on his own blog Stugon.
How-To Geek
How to change a drive letter on windows 10 or windows 11.
You can change your drive letters in Windows 10 and 11 using the Disk Management utility.
Quick Links
What changing a drive letter does, how to change a drive letter, how to fix programs broken by changing a drive letter.
Changing the letter of a drive is easy on Windows 10 and Windows 11, but you should do it as soon as you add the drive to prevent future hassles. Find out how to change a drive letter here.
Windows assigns drive letters alphabetically --- starting with C --- when they're initialized. If you want to change a drive letter, you should do it before you install anything on the drive. Changing a drive letter after programs are installed could break them since there will be references to an installation location that is no longer there.
Windows has gotten pretty smart about updating shortcuts so that programs work after changing a drive letter. Most of your applications' shortcuts will probably be automatically corrected. Unfortunately, Windows isn't as good about updating file associations. You'll have to manually set the default apps associated with files to fix file associations if they were broken by changing the drive letter.
It is possible to change the boot drive letter to something else, but we don't recommend it. Changing C:\ to another letter is likely to result in severe issues, like a PC that cannot boot into Windows at all. Even if it were able to boot, there would be a huge number of programs that would not be able to run.
Technically speaking, while they are commonly called drive letters, each letter actually refers to a partition on a disk. If you have multiple partitions on a single disk, you will need to assign a letter to each partition to make them all accessible. If a disk has just a single partition, it will just have a single letter pointing to that partition. (However, you do not have to assign a letter to each partition. Partitions without drive letters will not appear in File Explorer and elsewhere.)
Changing a drive letter is pretty simple. Click the Start button, type "Disk Management" in the search bar, and then hit Enter.
The program name displayed in the search will not be Disk Management. It will be "Create and format hard disk partitions."
You could also hit Windows+X or right-click the Start button, and then click "Disk Management."
Identify the drive you'd like to change in the Disk Management Window. In this example, we'll change the letter of the D:\ drive to J:\. You can right-click the drive on the text list, or on the menu below. Either works.
Select "Change Drive Letter and Paths" in the right-click menu that appears.
In the window that pops up, click "Change."
Select whatever letter you want from the drop-down menu. Then click "Ok."
Two popups will warn you about changing your drive letter. Click "Yes" on both of them, and then restart your computer.
Once Windows has restarted, the drive letter should be changed.
There are a few ways you can fix a program broken by changing the drive letter.
Fix The Shortcut
If you're lucky, the only thing that is broken is the shortcut. Fix a shortcut by right-clicking the shortcut on your desktop, and then click Properties.
You need to change the target of the shortcut to the new drive letter.
For example, if GIMP was previously installed at " D :\GIMP 2\bin\gimp-2.10.exe," and you changed the D drive to J, change the target of the shortcut to " J :\GIMP 2\bin\gimp-2.10.exe."
Finalize the change by clicking "Apply" and then "Ok."
Reinstall the Program
Reinstalling the program will generate new entries in the registry, so everything on the computer will know where to look for the program. Some installers won't like reinstalling directly over existing files, so you may need to rename or delete the old installation first.
Change the Drive Letter Back
If you changed the drive letter of a drive with a lot of programs installed, it might be easier to change the drive letter back. Changing the drive letter back should automatically fix any programs and file associations that were broken.
Edit the Registry
You can break programs, or even Windows itself, by editing the registry. Be careful, and learn about how to edit the registry before you try it. Make sure you backup the Windows registry first. You should not attempt this method unless you have no other options.
Windows, and a lot of programs, track where programs are installed via the Windows registry. It is possible to manually adjust the registry to fix broken programs. Keep in mind that there could be dozens of registry entries you need to edit. A program like GIMP can have registry entries for the context menu, for the "Open With" menu, for any file associations, and for the location of its executables. Other programs may only have a few entries related to where it is installed.
If you're not deterred, here's how you do it.
First, you need to know where the program was previously installed. In this case, the program was installed to the "D:\GIMP 2" folder, and the executables were found the "D:\GIMP 2\bin" sub-folder. It is now located at "J:\GIMP 2" instead.
We need to update the registry to reflect the change in location. Click the Start button, type "regedit" into the search bar, right-click Regedit, and click "Run as administrator."
In Regedit, hit Ctrl+F to bring up a search window. Type in the old location for the program you're trying to fix --- "D:\GIMP 2" for our example --- then click "Find Next."
Once Regedit has found something with "D:\GIMP 2" as part of a path, it'll show it to you. Here is an example from the GIMP search.
To actually change them, double click the name of the registry entry you want to modify. Then change the drive letter to J, or whatever you chose. If you didn't otherwise move the folder, leave the rest of the path alone. Then click "Ok."
You'll need to repeat this multiple times. To find the next result using your search term, you can hit the F3 key. There will be a popup once you've found all of the entries.
Changing drive letters can be a simple way to customize your PC. Do it before you install anything on the drive, however. You'll prevent any problems before they occur, and probably save yourself quite a bit of troubleshooting.

How to change a drive letter

In Microsoft Windows, different storage media , devices, and partitions on your computer are identified using drive letters . By default, these letters are assigned automatically. However, if you desire to change a default drive letter, may do so by following the steps below.
If you're trying to switch between drives, see: How to change drives in MS-DOS and Windows command line.
Windows 2000, XP, Vista, 7, 8, 10, and 11
- CD-ROM, DVD-ROM, and other devices.
- Open the Disk Management utility .
- Right-click the volume whose drive letter you want to change and select the Change Drive Letter and Paths option.

- In the window that appears, click the Change button.

- In the next window, select the letter you desire from the drop-down menu on the right, then click OK .

CD-ROM, DVD-ROM, and other devices
In the newer versions of Windows, devices that are not considered to be volumes (i.e., CD-ROM and DVD-ROM drives) aren't listed on the same page as hard drives , SSDs , and partitions . However, you can adjust which section you are viewing, allowing you to assign a different drive letter to these devices.
The letter you assign to these devices must come after that of the hard drive. For example, because your hard drive is C:, you may only use D: through Z:. If you have multiple hard drives or partitions and your last drive letter is F:, you can only change your device's drive letter to G: through Z:.
- Windows 2000, XP, Vista, 7, 8, 10, and 11.
- Windows 95, Windows 98, and Windows ME.
- MS-DOS and Windows 3.X.
- At the top of Disk Management window, click the View menu.
- In the drop-down menu that appears, select Top , then select Disk List .

- Right-click the disk drive whose drive letter you want to change and select the Change Drive Letter and Paths option.

Windows 95, Windows 98, and Windows ME
- Open the Device Manager .
- Click the plus sign (+) next to CD-ROM or DVD/CD-ROM drives .
- Double-click the disk drive whose drive letter you want to change.
- Click the Settings tab.
- Where the computer lists the Start and end drive letter , make your selection and then click OK .
- Restart the computer.
- How to restart Microsoft Windows.
MS-DOS and Windows 3.X
- If you are in Windows, Exit to an MS-DOS prompt .
- Type cd\ and press Enter .
- Once at DOS type edit c:\autoexec.bat
- In the autoexec.bat window, locate the MSCDEX line .
- On the MSCDEX line, if it's missing /L:x (where x is the drive letter), add /L:D (assigning the CD-ROM to D: and can be anything up to Z:).
- Once changes are made, click File (if you do not have a mouse, press Alt + F ), then choose Exit and say Yes to save the changes .
- Once back at DOS, type edit c:\config.sys
- In the config.sys window, look for anything that says "LASTDRIVE=x" (were x is the last drive letter). If the line is missing, add LASTDRIVE=K (or the letter you want as the ending letter) at the top of the config.sys file.
The LASTDRIVE must be a letter between C and Z.
- Once changes are made, click File (if you do not have a mouse , press Alt + F ), then choose Exit and say Yes to save the changes .
Related information
- How to rename or label a disk drive.
- How to set up a hard drive and partition in Windows.
- How to merge partitions in Windows.
- How to delete a partition in Windows.
- See the hard drive and Windows definitions for related information and links.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Change a drive letter
- 4 contributors
Applies To: Windows 11, Windows 10, Windows Server 2022, Windows Server 2019, and Windows Server 2016
If you want to change a drive letter assigned to a drive, or you have a drive that doesn't yet have a drive letter, use Disk Management to change it. You can also mount the drive in an empty folder so that it appears as a folder. For more information, see Mount a drive in a folder .
If you change the drive letter of a drive that already contains Windows or apps, apps might have trouble running or finding the drive. We suggest not changing the drive letter of a drive that already contains Windows or apps.
The following steps show how to change the drive letter.
Open Disk Management with administrator permissions.
In Disk Management, select and hold (or right-click) the volume on which you want to change or add a drive letter and select Change Drive Letter and Paths .

If you don't see the Change Drive Letter and Paths option or it's grayed out, the volume either isn't ready to receive a drive letter or it's unallocated and needs to be initialized . It might also be that the drive isn't accessible, which is the case with EFI system partitions and recovery partitions. If you've confirmed that your volume is formatted with a drive letter that you can access but you're still unable to change it, that's beyond the scope of this article. We suggest contacting Microsoft Support or the manufacturer of your PC for more help.
To change the drive letter, select Change . To add a drive letter if the drive doesn't already have one, select Add .

Select the new drive letter and choose OK . Then select Yes when prompted about how programs that rely on the drive letter might not run correctly.

Submit and view feedback for
Additional resources

- DiskPart Command Line Utility
[Free Guide]: Use Diskpart Assign Drive Letter in Windows 11, 10, 8, 7
This post will show you how to use Diskpart assign drive letter in Windows 11, 10, 8, 7. In addition, another free GUI software will be introduced to assign or remove the drive letters.

Why use Diskpart to assign a drive letter?
As we all know, Windows assigns drive letters to all available drives on your computer, such as internal hard drives, optical drives, SD cards, and external USB drives. A drive letter is an alphabetical identifier for a volume, and each drive letter can be used once on a computer.
But sometimes, users want to change the original drive letter to another drive letter. Or due to some operation, the drive letter will not be available and the user needs to assign a new drive letter. So a computer-experienced user might assign drive letter by Diskpart, as this is the faster way. The purpose of this article is to provide you with some methods for assigning a drive letter , including Diskpart, Disk Management, and another easier way.
Step-by-step: Assign drive letter by Windows built-in tools
Windows OS users know they have two amazing tools for managing disks and partitions - Disk Management and Diskpart.
The Disk Management tool in Windows provides you with an easy-to-use graphical interface to manage your disks with a single mouse click. And Diskpart is a command-line tool that allows you to quickly manage your disks or partitions from the command prompt. The next section will show you how to use Disk Management and Diskpart to assign drive letters.
│ Use Diskpart to assign drive letter
Diskpart is a Windows built-in tool that you can use to manage your hard drive, like format disk partition, create partition, delete partition , etc. Well, how to use Command Prompt Diskpart assign drive letter? The following parts may help you a lot.
Step 1. Press "Windows + R". Then, type "diskpart" and press Enter.
Step 2. Type in "list volume" and press Enter. Now, you can see all volumes on PC.
Step 3. Type in "select volume 7" and press Enter(here take volume 7 as an example).
Step 4. Finally, type in“assign letter=F” and press Enter.

If you want to remove the drive letter, type “remove letter=X”(X is the drive letter you want to remove).
Actually, you may assign a drive letter when you create a new one. For that, you need to create partition first. After creating a partition, type “assign letter=?” to that partition. Or, if there is some volume hidden, it will not have the drive letter, to unhide it, you need to assign a drive letter for it.
│ Assign drive letter via Disk Management
In addition to Diskpart, Disk Management may be another good choice to assign drive letter.
Step 1. Press “Win + R” to open the “Run” window and type diskmgmt.msc in the box.
Step 2. Right-click the drive you want to assign, and select change Drive Letter and Paths in the pop-up window.

Step 3. Click Change to summon the next window.

Notice: If you want to remove the drive letter of your partition, you can select "Remove" and follow the instructions step by step.
Step 4. After that, you should choose the new drive letter from the drop list, and then, click OK.

Now, do you understand how to use Disk Management and Diskpart assign drive letter?
Although it's convenient for most people, you need to be aware that sometimes you can't assign drive letter successfully, because Disk Management and Diskpart only support assigning drive letter with FAT or NTFS. When the drive's file system is another type, you can format it to NTFS or FAT, or use another method to assign a drive letter.
Diskpart assign drive letter alternative
Disk Management and Diskpart are not perfect because they have limitations. Fortunately, there is an easier way to make up for their shortcomings perfectly.
AOMEI Partition Assistant Standard is a completely free third-party partition manager. It supports users to assign drive letters through a more friendly interface, which can be done with just a few clicks, much simpler than Diskpart. Also, it can assign drive letter on any file system. More importantly, it has more complete functions and allows you to manage disks flexibly.
Step 1. Launch AOMEI Partition Assistant, it will show you all storage devices in the main interface. you can see the removable drive doesn't have a drive letter. If you want to assign a drive letter for the drive, here you need to right click it, select Advanced-> Change Drive Letter.

Step 2. Then, select a drive letter for the drive.

Step 3. Click Apply to submit the task.

Now, do you know how to use Diskpart assign drive letter? If you are a user who has a computer background, Diskpart may be the quickest method to assign the drive letter. However, if you are normal user, AOMEI Partition Assistant Standard is the correct choice. After you upgrade to AOMEI Partition Assistant Professional , there are more advanced features you can try, such as allocating free space from one drive to C, and Move the installed app from one drive to another.
Last but not least, although the system drive letter can be changed, do not do it because that would make the system unable to boot.
FAQs about how to use Diskpart to assign drive letter
Can I remove a drive letter assignment using Diskpart? Yes, you can remove a drive letter assignment by using the "remove" command. For example, "remove letter=E" will remove the E drive letter from the selected volume.
Are there any restrictions on the drive letters I can assign using Diskpart? Drive letters A and B are traditionally reserved for floppy disk drives. You can assign any available drive letter from C to Z to a partition or volume, provided it's not already in use.
Do I need to be careful when using Diskpart to avoid data loss? Yes, you should be cautious when using Diskpart, especially if you're deleting partitions or making significant changes to disk configurations. Make sure you select the correct volume and drive letter to avoid accidental data loss.
Can I assign drive letter on a hidden drive? Yes, you can. Be very cautious when assigning a drive letter to a hidden drive or volume, as it might contain system or recovery files.
Press the Windows key, type "cmd" or "Command Prompt," right-click it, and choose "Run as administrator". In the Command Prompt window, type "diskpart" and press Enter. This will open the Diskpart utility. To see a list of all volumes, including hidden ones, type list volume and press Enter. Use the "select volume" command to choose the hidden volume. Replace "X" with the volume number or letter. A ssign a drive letter to the selected hidden volume, use the "assign letter=Y" command. Once you've successfully assigned the drive letter, you can exit Diskpart.
Free Partition Manager

- Resize and Move Partition
- System/Disk Clone
- Convert MBR/GPT Disk
- Check & Fix Disk Errors

Download.com Rating

Still Need Help?
Have your problem been solved? If not, please input query in the search box below.

- Mark Forums Read
- View Forum Leaders
- What's New?
- Advanced Search
Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.
- Holiday Gifting Central
- Editor's Choice: Best Tech Gifts

How to Change a Drive Letter
Don't like the letters assigned to your drives in Windows? Change them!
:max_bytes(150000):strip_icc():format(webp)/tim-fisher-5820c8345f9b581c0b5a63cf.jpg)
- Emporia State University
:max_bytes(150000):strip_icc():format(webp)/image-5e6611aebe974bb7886a24b5070c834f.jpg)
- The Ultimate Laptop Buying Guide
What to Know
- Open Disk Management. Locate the drive you want to change. Right-click and choose Change Drive Letter and Paths > Change .
- Select the drive letter you want to assign from Assign the following drive letter . Then select OK and choose Yes .
The letters assigned to your hard drives, optical drives, and USB drives in Windows are not fixed. Use the Disk Management tool in Windows to change drive letters. These steps apply to Windows XP and newer versions of Windows .
How to Change Drive Letters in Windows
Follow these steps to change the driver letters in any version of Windows.
You can't change the drive letter of the partition that Windows is installed onto. On most computers, this is usually the C drive.
Open Disk Management , the tool in Windows that lets you manage drive letters, among [many] other things.
In Windows 11/10/8, Disk Management is also available from the Power User Menu ( WIN + X keyboard shortcut) and is probably the quickest way to open it. You can also start Disk Management from the Command Prompt in any version of Windows, but starting it via Computer Management is probably best for most of you.
Locate from the list at the top, or from the map at the bottom, the drive you want to change the drive letter of.
If you're not sure that the drive you're looking at is really the one you want to change the drive letter for, you can right-click or tap-and-hold the drive and then choose Explore . If you need to, look through the folders to see if that's the right drive.
Right-click or tap-and-hold the drive and choose Change Drive Letter and Paths .
Select Change .
If you've selected the primary drive by accident, some versions of Windows will display a message that reads Windows cannot modify the drive letter of your system volume or boot volume.
Choose the drive letter you want Windows to assign to this storage device by selecting it from the Assign the following drive letter drop-down box.
You don't need to worry if the drive letter is already being used by another drive because Windows hides any letters you can't use.
Select OK .
Choose Yes to the Some programs that rely on drive letters might not run correctly. Do you want to continue? question.
If you have software installed to this drive, it might stop working properly after changing the drive letter. See details on this in the section below.
Once the drive letter change is complete, which usually only takes a second or two, you're welcome to close any open Disk Management or other windows.
The drive letter is different from the volume label. You can change the volume label using similar steps .
If You Have Programs Not on the Main Drive
Changing drive letter assignments for drives that have software installed to them may cause the software to stop working. This isn't quite as common with newer programs and apps but if you have an old program, especially if you're still using Windows XP or Windows Vista, this is likely to be a problem.
Fortunately, most of us don't have software installed to drives other than the primary drive (typically the C drive), but if you do, consider this your warning that you might need to reinstall the software after changing the drive letter.
No Changes for the Operating System Drive
You cannot change the drive letter of the drive that the Windows operating system is installed on. If you'd like Windows to exist on a drive other than C , or whatever it happens to be now, you can make that happen but you'll have to complete a clean install of Windows to do it. Unless you have a pressing need to have Windows exist on a different drive letter, we don't recommend going through all that trouble.
Change, Don't Switch
There's no built-in way to switch drive letters between two drives in Windows. Instead, use a drive letter that you don't plan on using as a temporary "holding" letter during the drive letter change process.
For example, let's say you'd like to swap Drive A for Drive B . Start by changing Drive A's letter to one that you don't plan on using (like X ), then Drive B's letter to Drive A's original one, and finally Drive A's letter to Drive B's original one.
Using the Command Prompt
You can also change the drive letter from Command Prompt . It's not as easy as using Disk Management and you can't see right away which letters are available to choose, but it is completely doable with the diskpart command.
Get the Latest Tech News Delivered Every Day
- What Is a Volume Label of a Drive?
- How to Partition a Hard Drive (Windows 11, 10, 8, 7, +)
- The 34 Best Free Data Destruction Tools of 2023
- What Is the NTFS File System?
- How to Open Disk Management From Command Prompt
- What Is a Mapped Drive?
- How to Open Disk Management
- How to Check Free Hard Drive Space in Windows
- How to Format a Hard Drive in Windows
- How to Download and Install File Checksum Integrity Verifier (FCIV)
- 10 Best Free Disk Partition Software Tools
- CBL Data Shredder v1.0
- What Is a Hard Disk Drive?
- How to Change the Default Download Location in Windows 11
- Use SFC /Scannow to Repair Windows System Files
- AOMEI Partition Assistant Standard Edition v10.2.1 Review
By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts.
- TechRepublic
Account Information

How to assign a drive letter in Windows 10
Share with Your Friends
Your email has been sent

Step-by-step instructions for assigning a specific drive letter to an external drive, SD card, or hard drive partition in Windows 10.
When you connect a new drive to your PC, Windows automatically assigns the next available letter after C, which is normally used for your system drive. So an external hard drive or USB thumb drive could end up as D, E, F, or whatever, depending on how many drive letters are already being used.
This is all well and good, but what if you want to assign the drive a letter? Maybe you want to use M for your music files or X for your top-secret X-Files. Here’s how in Windows 10.
- Ensure that the drive you’re relettering isn’t in use and that no files from that drive are open.
- Right-click on the Start button.
- Click Disk Management to open the Disk Management console.
- Right-click the volume that has the drive letter you want to change.
- Click Change Drive Letter And Paths.
- Click the Change button.
- Choose from a list of available drive letters. (Don’t use A or B, which have historically been reserved for floppy drives and can sometime confuse older software.)
- Click Yes if a popup windows appears asking if you really want to do this.
- Close the Disk Management console.
You may need to restart your machine for the change to take effect, but once you do the drive will use the new letter.
More Windows tips…
- How to turn on or off hibernate in Windows 10
- Regain hard disk space by using Windows Update Cleanup in Windows 7 and 8.x
- Restore a Windows XP backup in Windows 8
- How to replace SkyDrive with Libraries in Windows 8.1
- Pro tip: Use an optical Recovery Drive in Windows 8.1
Subscribe to the Developer Insider Newsletter
From the hottest programming languages to commentary on the Linux OS, get the developer and open source news and tips you need to know. Delivered Tuesdays and Thursdays
- See all of Bill's content
Editor's Picks

TechRepublic Premium Editorial Calendar: Policies, Checklists, Hiring Kits and Glossaries for Download
TechRepublic Premium content helps you solve your toughest IT issues and jump-start your career or next project.

7 Best AI Art Generators of 2023
This is a comprehensive list of the best AI art generators. Explore the advanced technology that transforms imagination into stunning artworks.

The Best Cheap Payroll Services for 2023
Find the perfect payroll service for your business without breaking the bank. Discover the top cheap payroll services, features, pricing and pros and cons.

NordVPN Review (2023): Pricing, Security & Performance
Is NordVPN worth it? How much does it cost and is it safe to use? Read our NordVPN review to learn about pricing, features, security, and more.

10 Best Free Project Management Software & Tools for 2023
Free project management software provides flexibility for managing projects without paying a cent. Check out our list of the top free project management tools.

Cloud Strategies Are Facing a New Era of Strain in Australia, New Zealand
Australian and New Zealand enterprises in the public cloud are facing pressure to optimize cloud strategies due to a growth in usage and expected future demand, including for artificial intelligence use cases.
Hiring Kit: Compliance Analyst
Recruiting a compliance analyst with the right combination of industry compliance expertise and collaboration skills will require a comprehensive screening process. This hiring kit from TechRepublic Premium provides an adjustable framework your business can use to find the right person for the job. From the hiring kit: DETERMINING FACTORS, DESIRABLE PERSONALITY TRAITS AND SKILLSETS Regulatory ...
Hiring Kit: Video Game Artist
While modern video games rely on a full array of multimedia to keep players engrossed and engaged, there is little doubt that the visual medium is the driving force for most games. It is the visuals of art, effects, colors, etc., that keep players glued to their displays. This undeniable fact is why the video ...
Cloud Data Warehouse Guide and Checklist
Choosing a vendor to provide cloud-based data warehouse services requires a certain level of due diligence on the part of the purchaser. This cloud data warehouse guide and checklist from TechRepublic Premium will help businesses choose the vendor that best fits its data storage needs based on offered features and key elements. From the guide: ...
- TechRepublic on Twitter
- TechRepublic on Facebook
- TechRepublic on LinkedIn
- TechRepublic on Flipboard
- Privacy Policy
- Terms of Use
- Property of TechnologyAdvice
Create a TechRepublic Account
Get the web's best business technology news, tutorials, reviews, trends, and analysis—in your inbox. Let's start with the basics.
* - indicates required fields
Sign in to TechRepublic
Lost your password? Request a new password
Reset Password
Please enter your email adress. You will receive an email message with instructions on how to reset your password.
Check your email for a password reset link. If you didn't receive an email don't forgot to check your spam folder, otherwise contact support .
Welcome. Tell us a little bit about you.
This will help us provide you with customized content.
Want to receive more TechRepublic news?
You're all set.
Thanks for signing up! Keep an eye out for a confirmation email from our team. To ensure any newsletters you subscribed to hit your inbox, make sure to add [email protected] to your contacts list.

Home » Tech Tips » Windows » How to Assign or Change Drive Letter in Windows 11?
How to Assign or Change Drive Letter in Windows 11?
Windows by default uses C drive (C:) for hosting system and application files. You can choose different drives like D: instead of C: while installing Windows on your computer. Similarly, it is also possible to manually change the installed app’s location , though generally users install apps on C: drive. Did you anytime think of changing the existing drive letters in your system? Here is how you can do that in Windows 11 PC.
Default Drive Name Assignments in Windows 11
Let us say, you have two partitions C: and D: volumes on your hard disk. Here is how the default drive letter assignment in Windows work:
- A: – floppy disk drive for IBM computers (obsolete)
- B: – floppy drive for MS-DOS and Windows computers (obsolete)
- C: – Windows and app installation files
- D: – storage space partition
- E: – the letter after your storage partition for CD drive (if CD/DVD drive is available)
- F: onwards – removable storage disks like USB and external hard disks
When you have more partitions on the hard drive, system will use the next drive letters like E: or F: when you insert an external drive. For example, when you have C: and D: drives on your hard disk and insert an USB drive , it will take the letter E: or later.
Changing Drive Letters in Windows 11
It is not necessary to live with the assigned drive letters forever on your system. You can either reduce / increase the drive’s space and assign new letters or simply change an existing drive’s letter. For example, you have 400GB D: drive which you can simply change to F: drive. Alternatively, you can divide it into 200GB + 200GB drives and name them as G: and H: drives.
Windows 11 makes it easy to change the drive letters from the Settings app without using registry or changing system files. However, you can also do the same from Computer Management as with the case in Windows 10 .
1. Change Drive Letter from Windows 11 Settings
If you want to change the assigned drive letters for any partition on your hard disk except C drive then this is the option you should proceed with.
- Press “Win + I” keys or use Windows Search to find Windows Settings app.
- Once you are in the Settings app, go to “System” tab and then click on “Storage” option.

- Go down to the bottom of the “Storage” settings section and click on “Advanced storage settings” available under “Storage management” section.

- This will expand the section and click on “Disks & volumes” option.

- The “Disks and volumes” section will show all your existing drives and click on the one you want to change the letter name. it will show two buttons – “Explore” and “Properties” and click on the “Properties” button.

- On the next screen, you can see the buttons for “Change label” and “Change drive letter”.

- Click “Change drive letter” button and select your favorite letter from the dropdown to assign.

The dropdown will show all letters except C: and the current volume. In the above example, we want to change the D: drive and the system shows A to Z letters except C and D. Since D is the current volume, it is not shown in the list. But C is not shown because it is a system volume partition and you cannot change the drive letter for C. You will not see “Change drive letter” button when selecting properties of C drive. However, you can assign A and B for drive letters which were once reserved only for floppy disks. Since floppy disk is obsolete Windows allows you to assign those reserved drive letters A and B also.
2. Change Drive Letter from Disk Management in Windows 11
Though changing drive letter is easy with Windows Settings, it does not allow changing C drive letter. You can use Disk Management app for changing any drive letter with additional features.
- Press “Win + R” keys to Run prompt .
- Type compmgmt.msc and press “OK” button.

- This will open Computer Management app and select “Disk Management” from the sidebar available under “Storage” section.
- You will see all the drives available on your computer and select C or D or any drive that you want to assign a new letter.
- Go to “Action > All Tasks > Change Drive Letter and Paths…” menu.

- On the pop-up that appears, click on “Change…” button.

- Click on the dropdown against “Assign the following drive letter:” option.
- Select your favorite letter and click “OK” button.

Here you will see all the drive letters except D which is already assigned to another partition volume on the hard disk. Though it is possible to change drive letter for C, we do not recommend as it can affect the installed programs on your computer. Most programs by default install under “Program Files” section in C drive. Changing the drive letter may affect the installed programs and they may stop working. In such a case, you need to uninstall and reinstall the program on the new drive again. This will be a big task if multiple programs stopped working. Therefore, choose the system drive when you clean install Windows first time and stick with that. If you are using preinstalled Windows on C drive, then continue to use that without changing. You can change all other drives using Disk Management or Windows Settings app.
If you want to create parition, select the volume and right click on it. From the menu, select “Shrink Volume” option and select the reduced size for your volume. The remaining size will become unallocated for which you can assign a new label and letter as explained above. Learn more about how to create disk paritions in Windows computer .
Assigning Drive Letter to Removable Disks
As mentioned, Windows will assign the available drive letter for removable disks after the current partition volumes. The problem is when you have multiple removable disks, the assigned letters will change every time which may confuse you. The good part is that you can assign a drive letter as explained above for your removable USB or external hard disk. Windows will remember the assigned letter and use the same whenever you insert the external drive. However, make sure to use the letters clearly away from the current and CD/DVD drives. For example, you can use X or Y or even A or B which are generally not assigned.
About Editorial Staff
Editorial Staff at WebNots are team of experts led by Nagasundaram Arumugham . We love to build websites, find tech hacks and share the learning with community.
You also might be interested in

Large Post Meta Table in WordPress? – Here is How to Cleanup
Most hosting companies offer WordPress installation using cPanel setup. It[...]

7 Ways to Fix Windows 10 Freezing Issues
Windows 10 provides a host of features for both standard[...]

11 Things to Consider Before Buying Android Phone
Android smartphones are much more than about doing voice call[...]
DOWNLOAD EBOOKS
- SEO Guide for Beginners
- WordPress SEO PDF Guide
- Weebly SEO PDF Guide
- Alt Code Emoji Shortcuts PDF
- ALT Code Shortcuts PDF
- View All eBooks
TRENDING TECH ARTICLES
- ALT Code Shortcuts for Symbols
- Fix Chrome Resolving Host Problem
- Fix Slow Page Loading Issue in Google Chrome
- View Webpage Source CSS and HTML in Google Chrome
- Fix Safari Slow Loading Pages in macOS
- Fix Windows WiFi Connection Issue
- ROYGBIV or VIBGYOR Rainbow Color Codes
- Fix I’m Not A Robot reCAPTCHA Issue in Google Search
- Structure of HTTP Request and Response
POPULAR WEB TUTORIALS
- Move WordPress Localhost Site to Live Server
- Move Live WordPress Site to Localhost
- Move WordPress Media Folder to Subdomain
- Fix WooCommerce Ajax Loading Issue
- Create a Free Weebly Blog
- Edit Weebly Source Code HTML and CSS
- Add Scroll To Top Button in Weebly
- Add Table in Weebly Site
- How to Add Advanced Data Table Widget in Weebly?
- Up to $500 Free Google Ads Coupon Codes
FREE SEO TOOLS
- Webpage Source Code Viewer
- HTTP Header Checker
- What is My IP Address?
- Google Cache Checker
- Domain Age Checker Tool
- View All Free Web and SEO Tools
© 2023 · WebNots · All Rights Reserved.
Type and press Enter to search

IMAGES
VIDEO
COMMENTS
Procedure Open up a command prompt (CMD/PowerShell). Type "diskpart" to start up diskpart. You will see the prompt change to "DISKPART>". Type "list vol" to list all available volumes. You can identify the drive by size and file system. Additionally, the volume doesn't currently have a drive letter. Select the volume using "sel vol <number>".
To change the drive letter in MS-DOS, type the drive letter followed by a colon. For example, if you wanted to switch to the floppy disk drive, you would type a: at the prompt. Below is a listing of common drive letters and their corresponding devices. Tip
You'll need to start by opening an administrator mode command prompt -- type cmd into the search box, and then right-click and choose Run as administrator, or use the CTRL + SHIFT + ENTER keyboard shortcut. Once there, run the diskpart command, and then type in the following to list out the volumes on your system. list volume
DOS family 86-DOS, MS-DOS, PC DOS DR DOS, Novell DOS, PalmDOS, OpenDOS ROM-DOS PTS-DOS, S/DOS FreeDOS PC-MOS/386 SISNE plus
Article 02/03/2023 10 contributors Feedback In this article Syntax Examples Related links Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012 Assigns a drive letter or mount point to the volume with focus.
Assign: The assign command is used to redirect drive requests to a different drive. This command can also show drive assignments and reset drive letters to their original assignments. Attrib: The attrib command is used to change the attributes of a single file or a directory. Break: The break command sets or clears extended CTRL+C checking on ...
While the easiest way to assign a new drive letter is to use Disk Management, you can also use DiskPart in Command Prompt to perform the same task. To assign a drive letter using...
Method 1: Use the subst DOS Command Method 2: Use the psubst Utility Method 3: Use a Graphical Tool For this example, we will assign a drive letter for the following folder: C:\Users\Lori Kaufman\Documents\My Work. Open the Start menu and enter " cmd.exe " (without the quotes) in the Search programs and files box.
assign: Assigns a drive letter or mount point to the volume with focus. attach vdisk: Attaches (sometimes called mounts or surfaces) a virtual hard disk (VHD) so that it appears on the host computer as a local hard disk drive. attributes: Displays, sets, or clears the attributes of a disk or volume. automount: Enables or disables the automount ...
/* DLEDIT -- Drive Letter Assignment Editor Command-line syntax: DLEDIT <drive letter> <device name> -- Adds a drive letter DLEDIT -r <drive letter> -- Removes a drive letter Command-line examples: If E: refers to the CD-ROM drive, use the following commands to make F: point to the CD-ROM drive instead.
Assign Drive Letter Using Diskpart. Assigning a new drive letter to a partition or removable device using Diskpart is really easy. First, search for the command prompt in the Start menu, right click on it and select the option "Run as administrator.". If you are using Windows 8, press "Win + X" to open the power user menu and select the ...
Updated: 11/12/2023 by Computer Hope The assign command was introduced with MS-DOS 2.0 and has been available up to 6.0 where it was removed. It was later made available on the MS-DOS 6.0, 6.2, and 6.22 supplemental disks. The assign command redirects disk operation on one drive to a different drive. Note
Published Feb 22, 2022 You can change your drive letters in Windows 10 and 11 using the Disk Management utility. Readers like you help support How-To Geek. When you make a purchase using links on our site, we may earn an affiliate commission. Read More. Quick Links What Changing a Drive Letter Does How to Change a Drive Letter
At the top of Disk Management window, click the View menu. In the drop-down menu that appears, select Top, then select Disk List. Right-click the disk drive whose drive letter you want to change and select the Change Drive Letter and Paths option. In the window that appears, click the Change button. In the next window, select the letter you ...
ASSIGN Type: External (2.0 and later) Syntax: ASSIGN ASSIGN x=y [...] /sta Purpose: Redirects disk drive requests to a different drive. (In DOS Version 6, this program is stored on the DOS supplemental disk.) Discussion Use the ASSIGN command to change drive assignments from the drive indicated by the first letter you enter (x), to the drive indicated by the second letter (y) entered.
In Disk Management, select and hold (or right-click) the volume on which you want to change or add a drive letter and select Change Drive Letter and Paths. Tip If you don't see the Change Drive Letter and Paths option or it's grayed out, the volume either isn't ready to receive a drive letter or it's unallocated and needs to be initialized.
Written by Cedric What Is a Drive Letter A drive letter is an alphabetic character identifying a physical computer disk or drive partition. Windows will assign an accessible drive letter by default, to any storage device. It starts from A to Z, going through all the alphabet.
Step 1. Press "Windows + R". Then, type "diskpart" and press Enter. Step 2. Type in "list volume" and press Enter. Now, you can see all volumes on PC. Step 3. Type in "select volume 7" and press Enter (here take volume 7 as an example). Step 4. Finally, type in"assign letter=F" and press Enter.
See CDROM at DOS for info in setting a specific letter. Essentially you would haveL c:\windows\command\mscdex.exe /d: [drivename] /L:E to assign letter E. If you are talking about changing the drive letter of a hard drive, you can't do that with DOS commands. Earlier DOS had provisions for assigning drive letters for some programs.-----My
Right-click and choose Change Drive Letter and Paths > Change. Select the drive letter you want to assign from Assign the following drive letter. Then select OK and choose Yes. The letters assigned to your hard drives, optical drives, and USB drives in Windows are not fixed. Use the Disk Management tool in Windows to change drive letters.
Right-click on the Start button. Click Disk Management to open the Disk Management console. Right-click the volume that has the drive letter you want to change. Click Change Drive Letter...
OPTION ONE To Change 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: "F") you want to add or change the drive letter, and click/tap on Change Drive Letter and Paths. (see screenshot below)
1. Change Drive Letter from Windows 11 Settings If you want to change the assigned drive letters for any partition on your hard disk except C drive then this is the option you should proceed with. Press "Win + I" keys or use Windows Search to find Windows Settings app.