How to change the drive letter in windows 10 and 11

How to

Characters on disk or partition are not fixed. It can be changed. Here is how to change the drive letter in the Windows 10 & 11 operating system.

Windows automatically assigns unique drive letters to all drives, partitions, and attached USB drives. Usually, the assigned letters are in ascending order, starting with C. In most cases, the drive letter is fairly unimportant and does not need to be changed . However, you may need to manually change the drive letter of a disk, partition, or plug-in USB device to suit your specific requirements.

For example, an old script needs the drive letter X for one of the partitions. Without that particular drive letter, the script will not work as intended. Since these are old files, and there are many of them, the typical Windows practice tends to change the drive letter rather than making the necessary changes to the script file.

Fortunately, Windows has several ways to change the drive letter . You can use the built-in partition manager or run a few commands in the terminal.


Note: All but browser before proceeding with the following stepsactive programs other than the browser before proceeding with the following steps.

IMPORTANT: Do not change the drive letter of the system volume or boot partition (C drive).

The following procedure works the same in Windows 10 and 11. It allows you to change the drive letter quickly and easily.

Here is how to do it.

  1. Press ” Win + R ” to open Run .
  2. Type ” diskmgmt.msc ” and click ” Ok “.
  3. Find the device you want to change.
  4. Right click on the drive.
  5. Select option ” Change drive letter and path “.
  6. Click the ” Change ” button.
  7. Select the radio option ” Assign next disk letter “.
  8. Select the disk letter from the Drop-down menu.
  9. Click [ OK ].
  10. Click ” Yes ” in the warning window.
  11. Click ” Yes ” again in the second warning window.
  12. Close the Main Disk Management window.
  13. Successfully change the drive letter in Windows 10 and 11.

Detailed steps:

First, find and open “Create and Format Hard Drive Partitions” from the Start menu.

Once you have launched the Disk Management tool, locate the drive whose drive letter you wish to change, right click on it and select the “Change Drive Letter and Path” option.

Then click the “Change” button.

Select the “Assign the following drive letter” radio option, then select a drive letter from the drop-down menu and click “OK”.

Click “OK” at several warning messages. Press “Yes” at both prompts.

Finally, close the disk management tool and you are done.

That is all. You have successfully changed the Windows drive letter.

Disk Letter Change Command

You can use the diskpart command to change the disk letter of any drive, partition, or USB drive in Windows. This section describes how to use the Change Drive Letter command.

Press the Windows key Open the Start menu . Type ” Command Prompt “, right-click on the result and select ” Run as administrator “. Also, right-click on the Start menu and select “Windows Terminal (Administrator)” and open the “Command Prompt” tab there.

Once the cmd window opens, type ” diskpart ” and press Enter.

Type ” list volume ” and press Enter.

The above command will display all partitions and their volume numbers. Note down the volume number of the drive you wish to modify.

Next, execute the command ” select volume #number “. Be sure to replace volume #number with the actual volume number.

After selecting the volume, execute the command ” assign letter=NewDriveLetter “. Replace ” NewDriveLetter ” with the actual drive letter you wish to assign.

Once assigned, close the cmd window. If the diskpart command runs successfully, the drive letter will change instantly. Restart Windows and the changes will take full effect.

We hope you find this simple and easy guide to working with Windows helpful.

If you get stuck or need help, send us an email and we will do our best to help. Please see the linked article on how to do this

YouTube video: How to change the drive letter in Windows 10 and 11


Rate article
We provide high-quality and detailed Windows tutorials