How to change a drive letter

Updated: 04/02/2019 by Computer Hope
The Windows logo.

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.

Windows 2000, XP, Vista, 7, 8, and 10 users

  1. Open the Disk Management utility.
  2. Right-click on the volume whose drive letter you'd like to change and select the Change Drive Letter and Paths option.

The menu for changing a drive letter in Windows.

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

A menu for changing drive letters.

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

The change drive letter window.

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.

Note

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, and 10 users

  1. Open the Disk Management utility.
  2. At the top of Disk Management window, click the View menu.
  3. In the drop-down menu that appears, select Top, then select Disk List.

The disk list menu in Windows, showing disc drives.

  1. Right-click on the disc drive whose drive letter you'd like to change and select the Change Drive Letter and Paths option.

The menu for changing a disc drive letter in Windows.

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

The window to add or change disc drive letters.

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

The change disc drive letter window.

Windows 95, Windows 98, and Windows ME users

  1. Open the Device Manager.
  2. Click the plus sign next to CD-ROM or DVD/CD-ROM drives.
  3. Double-click the drive whose letter you'd like to change.
  4. Click the Settings tab.
  5. Where the computer lists the Start and end drive letter, make your selection and then click OK.
  6. Finally, restart the computer.

MS-DOS and Windows 3.X user

  1. If you are in Windows, Exit to an MS-DOS prompt.
  2. Type cd\ and press Enter.
  3. Once at DOS Type edit c:\autoexec.bat
  4. In the autoexec.bat window, locate the MSCDEX line.
  5. Once this line is found, if it does not have /L:x (where x is the drive letter) add /L:D (this example assigns the CD-ROM to D: this can be anything up to Z).
  6. Once you have made the changes, go up to directory (if you do not have a mouse, press Alt+F), then choose Exit and say Yes to save the changes.
  7. Once back at DOS, Type edit c:\config.sys
  8. In the config.sys window, look for anything that says "LASTDRIVE=x" (were x is the last drive letter). If you do not see this line, go to the very beginning of your config.sys file and add LASTDRIVE=K (or the letter that you want to be the ending letter).
Note

The LASTDRIVE must be a letter between C and Z.

  1. Once you have made the changes, go up to directory (if you do not have a mouse, press Alt+F) then choose Exit and say Yes to save the changes.
  2. Finally, restart your computer.