To assign a drive letter to a partition
To assign a drive letter to a partition using DiskPart, you’ll first need to open DiskPart, list the volumes, select the desired volume, and then assign a letter. Once assigned, you can exit DiskPart and access the drive in Windows Explorer.
Here’s a step-by-step guide:
- Open Command Prompt as Administrator: Search for “cmd” in the Start Menu, right-click on it, and select “Run as administrator”.
- Launch DiskPart: Type
diskpartand press Enter.- List Volumes: Type
list volumeand press Enter. This will display a list of all volumes on your system, including their numbers and drive letters (if any).- Select the Volume: Identify the volume you want to change and type
select volume <volume number>(replace<volume number>with the actual number from thelist volumeoutput).- Assign a Drive Letter: Type
assign letter=<desired letter>(replace<desired letter>with the letter you want to assign, e.g.,assign letter=F) and press Enter.- Exit DiskPart: Type
exitand press Enter.This video demonstrates how to assign a drive letter to a partition using Diskpart: