How to Change a Drive Letter in Windows 11

Changing the system drive letter (generally C:) is not advised as applications may encounter errors during execution due to the change of path. But aside from this, users are free to change drive letters that they don’t like, or assign letters to drives that don’t have one yet.

Changing a drive letter in Windows has traditionally been done via the Disk Management utility, but in Windows 11, you can do this more easily via Settings.

The Disk Management method will suffice for most users, but we’ve also detailed various other ways to change the drive letter for those interested.

How To Change A Drive Letter On Windows 10 Or 11

Via Disk Management

Disk Management is a system utility used for various storage-related tasks such as allocating space, initializing a drive, and assigning drive letters too. Here are the steps to use this utility:

1- Press Win + R, type diskmgmt.msc, and press Enter.

2- Right-click the drive whose letter you’d like to change and select Change Drive Letters and Paths.


change-drive-letter-and-paths

3- Click on Change, select an available drive letter, and press OK.


assign-the-following-drive-letter

4- Accept the prompt to change the drive letter.

Via Settings

Unlike the classic Disk Management method, changing the drive letter via storage settings is a feature only available on Windows 11. So, Windows 10 users should skip ahead to the next section. With that said, the settings method is extremely simple. Here are the necessary steps:

1- Press Win + I and select System > Storage > Advanced storage settings > Disks & volumes.


storage-management-disks-volumes

2- Select the drive whose letter you’d like to change and click on Properties.

See also  How to Fix Notifications Not Working on Windows 11 PC


partition-properties

3- Click on Change drive letter, select an available drive letter, and press OK.


change-drive-letter-settings-windows-11

Using Diskpart

If you face any issues with the earlier GUI methods, we recommend using diskpart. Diskpart is a command-line tool used for managing the system’s drives. It is easy to mess up with diskpart if you haven’t used it before, so please follow the steps listed below carefully:

1- Press Win + R, type cmd, and press CTRL + Shift + Enter.

2- Type diskpart and press Enter.

3- Type list vol and press Enter. Note the volume number (#) of the drive whose letter you’re trying to change.


diskpart-list-vol

4- Type sel vol 5, replace 5 with the appropriate volume number from Step 3, and press Enter.

5- After you’ve confirmed that the correct volume is selected, type assign letter=k.


diskpart-sel-vol-assign-letter

6- Replace k with an available drive letter if necessary, and press Enter to execute the command.

Using Set-Partition

You can actually use CMD or Powershell as you prefer. Powershell supports diskpart, but there are also powershell-specific cmdlets for managing partitions. We’ve detailed the steps to use them below:

1- Press Win + R, type powershell, and press CTRL + Shift + Enter.

2- Type Get-Partition and press Enter.


get-partition

3- Once again, note the current drive letter of the partition you’re trying to modify.

4- Copy the following command:
Get-Partition -DriveLetter K| Set-Partition -NewDriveLetter S


set-partition-new-drive-letter

5- Replace K (current drive letter) and S (new drive letter) with the appropriate values in your case and press Enter to execute the command.

Using Registry Editor

Finally, you can change the drive letter using the registry editor as well. We recommend backing up the registry first if you’d like to try this method. With that said, here are the necessary steps:

See also  Can You Enable “Do Not Disturb” on Your Computer? ( Windows and Mac)

1- Press Win + R, type regedit, and press Enter.

2- Navigate to: Computer\HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices

3- Right-click the drive’s value and select Rename.


dosdevices-rename

4- Change the DosDeviceName (drive letter) to another unused one and press Enter.


change-drive-letter-registry

5- Restart your PC to apply the changes.

Mohamed SAKHRI
Mohamed SAKHRI

I'm the creator and editor-in-chief of Tech To Geek. Through this little blog, I share with you my passion for technology. I specialize in various operating systems such as Windows, Linux, macOS, and Android, focusing on providing practical and valuable guides.

Articles: 1725

Newsletter Updates

Enter your email address below and subscribe to our newsletter

Leave a Reply

Your email address will not be published. Required fields are marked *