Insights Technical Hub How to assign a drive a letter using Diskpart

How to assign a drive a letter using Diskpart

Introduction:

Windows volume drive letters can be altered from the command line using Diskpart.

Requirements:

Access to the Windows command line.

Procedure:

From your taskbar, start a search for

cmd

Enter the command:

diskpart

Enter the command:

list volume

Example output:

DISKPART> list vol
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 C NTFS Simple 119 GB Healthy Boot
Volume 1 System Rese NTFS Simple 100 MB Healthy System
Volume 2 D DVD-ROM 0 B No Media

Enter the command:

select volume 2

but replace “2” with the desired volume number. Enter the command:

assign letter=q

but replace the “q” with any desired letter that is not already being used by another volume.

More Information:

Type:

help assign

within diskpart for more information.

Let's make your job easier

Sign up to get insightful content