assign remove letter diskpart windows 10 easy tutorial

How to Assign/Remove Drive Letters on Windows 10 Using Diskpart

Published by Soufiane Sabiri | Categories : Computers - Tips & Tricks - Computers - Windows 10

Do you want to assign a letter to a drive using a single line of command?

As you may know, Diskpart first appeared in Windows XP and is used to manage partitions and volumes using inline commands. It’s useful in server environment where access to the GUI (Disk Management) interface is limited.

In this tutorial, you will learn how to assign and remove drive letters on Windows 10 using diskpart in the Command Prompt.

Let’s go!

Assign and Remove Drive Letters Using Diskpart

Diskpart won’t work on regular Command Prompt, so you need to open it as administrator.

assign remove letter diskpart windows 10 1 cmd

Once the Command Prompt is open as administrator, run the command diskpart.

assign remove letter diskpart windows 10 2 diskpart command prompt

Type in the following command to list all volumes:

list volume
assign remove letter diskpart windows 10 3 list volume cmd

The target partition is my USB Drive, so I put in the following command to select it:

select volume 4
assign remove letter diskpart windows 10 4 select volume cmd

To assign a different letter all I have to do is the following:

assign letter=V
assign remove letter diskpart windows 10 5 assign letter

To remove the letter use the following command:

remove letter=V
assign remove letter diskpart windows 10 6 remove letter

If you have any questions feel free to leave a comment below ;)

Thanks for sharing and see you in the next tutorial!


Related tutorials:


Author: Soufiane Sabiri

Soufiane is a young computer scientist and specialist in web design, knows a lot of things in the computer world. This enthusiast enjoys helping people innovate and learn more about the IT world...

Be the first to leave a comment !

Leave a comment

xD oO ^_^ =] =) ;-( ;) :| :woot: :whistle: :sleep: :sick: :police: :p :o :ninja: :mm: :love: :lol: :kiss: :hmm: :evil: :bandit: :angel: :alien: :D :) :( 8)