Share via

[Article] Manually assigning a drive letter using CMD/Diskpart

Community Article Author 955 Reputation points Moderator
2025-07-17T08:25:23.5933333+00:00

📌 Note: This article was originally created by LightJack05, a valued member on Answers Support Community. It provided meaningful insights and proved helpful to many. We're recreating it here on their behalf to preserve its value and ensure continued access for others.

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.

Procedure

Open up a command prompt (CMD/PowerShell).

Type "diskpart" to start up diskpart. You will see the prompt change to "DISKPART>".

Image

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.

Image

Select the volume using "sel vol

Image

Assign the drive letter using "assign letter=

Image

You can now exit diskpart by typing "exit" and switch to the drive using "

Image

It should also be available from Windows Explorer now.

Windows for home | Windows 11 | Devices and drivers

Locked Question. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes