Sign in | Report Abuse | Print Page | Powered By Google Sites
- Backup & Recovery
- Hard Disk Manager
- HFS+ for Windows
- ExtFS for Windows
- Disk Wiper Professional
- Drive Copy Professional
- Migrate OS to SSD
- Paragon Alignment Tool Professional
- NTFS for Mac
- Hard Disk Manager for Mac
- ExtFS for Mac


Assign, change or remove Drive Letter with Diskpart
Diskpart is very powerful Windows Utility, which allows certain number of operation with hard disk. In this article we will show you how to assign, change or remove drive letter with Diskpart using.

You bought hard drive for Backup, but it has automaticaly gained letter D . You want to change it to E . First we need to open Command Prompt with Administrator Rights.
Type cmd into the search box, and then right-click and choose Run as administrator. If you have Windows 10 use the CTRL + SHIFT + ENTER keyboard shortcut on Screen 1 , or click on Start with right click and choose Command Prompt (Admin) on Screen 2 .

When Command Prompt pops up, run the diskpart command.

Now we type list volume to list our volumes, we need to know the number of our volume.

In our case our hard drive is Volume 3 and that number is 3 .
Now we use command select volume 3 to make changes to that volume. If your volume number is different, you need to replace number 3 with the number from your volume. After we have selected our volume we use command assign letter E , to assing letter E to our volume.

Now you know how to change or assign another letter to your volume, also if you need you can remove volume letter with command remove letter E

For security reasons you cannot change or remove your current system disk letter (esp C ), it will not work.
To exit diskpart type in exit .

Enter your email and receive updates about special offers and exclusive content!
Connect with us for giveaways, exclusive promotions and last news!


- DiskPart Command Line Utility
[Free Guide]: Use Diskpart Assign Drive Letter in Windows 11, 10, 8, 7
This post will show you how to use Diskpart assign drive letter in Windows 11, 10, 8, 7. In addition, another free GUI software will be introduced to assign or remove the drive letters.

Why use Diskpart assign drive letter?
As we all know, Windows assigns drive letters to all available drives on your computer, such as internal hard drives, optical drives, SD cards, and external USB drives. A drive letter is an alphabetical identifier for a volume, and each drive letter can be used once on a computer.
But sometimes, users want to change the original drive letter to another drive letter. Or due to some operation, the drive letter will not be available and the user needs to assign a new drive letter. So a computer-experienced user might assign drive letter by Diskpart, as this is the faster way. The purpose of this article is to provide you with some methods for assigning a drive letter , including Diskpart, Disk Management, and another easier way.
Step-by-step: Assign drive letter by Windows built-in tools
Windows OS users know they have two amazing tools for managing disks and partitions - Disk Management and Diskpart.
The Disk Management tool in Windows provides you with an easy-to-use graphical interface to manage your disks with a single mouse click. And Diskpart is a command-line tool that allows you to quickly manage your disks or partitions from the command prompt. The next section will show you how to use Disk Management and Diskpart to assign drive letters.
│ Use Diskpart to assign drive letter
Diskpart is a Windows built-in tool that you can use to manage your hard drive, like format disk partition, create partition, delete partition , etc. Well, how to use Command Prompt Diskpart assign drive letter? The following parts may help you a lot.
Step 1. Press "Windows + R". Then, type "diskpart" and press Enter.
Step 2. Type in "list volume" and press Enter. Now, you can see all volumes on PC.
Step 3. Type in "select volume 7" and press Enter(here take volume 7 as an example).
Step 4. Finally, type in“assign letter=F” and press Enter.

If you want to remove the drive letter, type “remove letter=X”(X is the drive letter you want to remove).
Actually, you may assign a drive letter when you create a new one. For that, you need to create partition first. After creating a partition, type “assign letter=?” to that partition. Or, if there is some volume hidden, it will not have the drive letter, to unhide it, you need to assign a drive letter for it.
│ Assign drive letter via Disk Management
In addition to Diskpart, Disk Management may be another good choice to assign drive letter.
Step 1. Press “ Win + R ” to open the “ Run ” window and type diskmgmt.msc in the box.
Step 2 . Right-click the drive you want to assign, and select change Drive Letter and Paths in the pop-up window.

Step 3. Click Change to summon the next window.

Notice: If you want to remove the drive letter of your partition, you can select " Remove " and follow the instructions step by step.
Step 4. After that, you should choose the new drive letter from the drop list, and then, click OK .

Now, do you understand how to use Disk Management and Diskpart assign drive letter?
Although it's convenient for most people, you need to be aware that sometimes you can't assign drive letter successfully, because Disk Management and Diskpart only support assigning drive letter with FAT or NTFS. When the drive's file system is another type, you can format it to NTFS or FAT, or use another method to assign a drive letter.
Diskpart assign drive letter alternative
Disk Management and Diskpart are not perfect because they have limitations. Fortunately, there is an easier way to make up for their shortcomings perfectly.
AOMEI Partition Assistant Standard is a completely free third-party partition manager. It supports users to assign drive letters through a more friendly interface, which can be done with just a few clicks, much simpler than Diskpart. Also, it can assign drive letter on any file system. More importantly, it has more complete functions and allows you to manage disks flexibly.
Step 1. Launch AOMEI Partition Assistant, it will show you all storage devices in the main interface. you can see the removable drive doesn't have a drive letter. If you want to assign a drive letter for the drive, here you need to right click it, select Advanced-> Change Drive Letter.

Step 2. Then, select a drive letter for the drive.

Step 3. Click Apply to submit the task.

Now, do you know how to use Diskpart assign drive letter? If you are a user who has a computer background, Diskpart may be the quickest method to assign the drive letter. However, if you are normal user, AOMEI Partition Assistant Standard is the correct choice. After you upgrade to AOMEI Partition Assistant Professional , there are more advanced features you can try, such as allocating free space from one drive to C, and Move the installed app from one drive to another.
Last but not least, although the system drive letter can be changed, do not do it because that would make the system unable to boot.
Free Partition Manager

- Resize and Move Partition
- System/Disk Clone
- Convert MBR/GPT Disk
- Check & Fix Disk Errors

Download.com Rating

Still Need Help?
Have your problem been solved? If not, please input query in the search box below.
- Leadership Team
- Diversity & Inclusion
How We Engage
- Tools & Innovation
Quick Links
- Test Automation
- Performance Testing
- Cyber Security Testing
- ETL Testing
- Multilingual NLP Assurance
- IV&V and Regulatory Assurance
- PoS Testing
- Accessibility Testing
- Service Virtualization
- Digital Assurance
- Cloud Migration Testing
- IoT Assurance
- Drone Assurance
- Storm Readiness Testing
- Real-Time Systems
- Test Environment Management
- Testing of AI
- Google Cloud
- Mobile and Web Dev
- DevOps Transformation
- Serverless Cloud Native Development
- Cloud Transformation and Migration Strategy
- Business AI
- Modeling Optimization
- Learning Platform Development
- Video Encoding Streaming And Player Development
- Instructional Design
- Content Remediation Services
- Retail & Consumer Goods
- Banking & Financial Services
- Media & Entertainment
Managed Testing Services
Managed crowd testing, project-based testing, strategic consultancy, global delivery, risk-based testing, test.predictor, test.consolidator.
- Keysight Technologies
- Podcast: The Testing Show
- Technical Hub
- Case Studies
- Categories & Tags
- Diversity & Inclusion
Quality Assurance
Ensure the success of your technologies. We’ll help you optimize costs, quality and customer experience.
Quality Engineering
We’ll help you achieve business assurance and embrace the culture of quality orchestration across your business, technologies and operations.
Digital Engineering
Offer your customers outstanding experiences with expert digital engineering solutions, including DevOps, product engineering, AI & data analytics, digital EdTech and more.
Confused Between DevOps, Continuous Delivery and Continuous Deployment? Let’s Break It Down
You may have heard the terms – Continuous Delivery, Continuous Deployment and DevOps being use...
Strategic Advisory
Lorem ipsum dolor sit amet eros hac cras auctor cursus malesuada ultrices suspendisse sed.
New Testing Show Podcast: Test Coverage – An Expert Evaluation
Test coverage, apart from being a crucial factor in software maintenance, indicates software quality. It acts as a metric for...
Whatever industry you’re in, we have the expertise and experience to tailor the right testing solution for you, based on your specific needs and requirements.
Medical Devices
Retail & consumer goods, banking and financial services, media & entertainment, pharma’s 6 crucial digital health challenges (and how to overcome them).
In addition to developing innovative and effective digital health products, pharma & medical device companies need to deal with added...
Tell us your business goals and priorities, and we’ll customize one or more of our flexible engagement models for the perfect solution.
The 6 Ways Managed Software Testing Services Can Boost Your Business
Ensuring quality and meeting the customers’ expectations in this rapidly growing competitive landscape is a challenging yet inevitable task for...
Tools & Innovation
We have developed advanced, intelligent tools that take testing and data & knowledge management to a new level of efficiency, while providing invaluable insights.

The Unique Benefits of AI-Led Tools in Quality Engineering
Effective testing tools and streamlined testing plans are more important than ever before. By combining AI-enhanced tools that can simplify...
As a Qualitest client you get access to some of the best technology available in the software testing world.
Competition is Fierce: Improving Your Quality Engineering with the Power of AI
Artificial intelligence (AI) is seemingly everywhere, and for good reason. From driving citizen services in government to tailoring a personalized customer experiences in...
Get the latest quality engineering insights to evolve your methodologies and technologies and help move your business forward
Latest Insights
Large uk local authority achieves faultless migration from on-prem to the cloud, taking your it to the next level: the immense value of staff augmentation services.
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.
From your taskbar, start a search for
Enter the command:
Example output:
but replace “2” with the desired volume number. Enter the command:
but replace the “q” with any desired letter that is not already being used by another volume.
More Information:
within diskpart for more information.
Sign up to receive insightful content.

Let's make your job easier
Sign up to get insightful content.

How to add a partition using Diskpart
More Recovery Products
- Partition Manager Partition Master Personal disk manager Partition Master Enterprise Business disk optimizer Edition Comparison Partition Master Versions Comparison Disk Copy Hard drive cloning utility Partition Master Free Partition Master Pro
Centralized Solutions
MSPs Service
Screen Capture
Video Toolkit
Audio Tools
Transfer Products
File Management
iOS Utilities
More Products
- Support Support Center Guides, License, Contact Download Download installer Chat Support Chat with a Technician Pre-Sales Inquiry Chat with a Sales Rep Premium Service Solve fast and more
Tutorial on Diskpart Assign Drive Letter in Windows 11/10/8/7 [Detailed Guide]
On this page, you can learn a detailed guide on Diskpart assign drive letter and a professional alternative to Diskpart:
How can we use Diskpart to assign a drive letter? This article guides you on Diskpart to assign a drive letter and provides a professional alternative to Diskpart, but first, let's learn more about Diskpart.
What Is Diskpart
Diskpart is a free command line utility that handles Windows OS commands to perform many disk partitioning tasks via different command lines. It was introduced in Windows 2000 and is the successor to fdisk. As it was introduced, Diskpart is a disk partitioning utility that helps experienced professional Windows users manage their storage devices.

As you know, Windows assigns drive numbers to all available drives on the computer, such as optical drives, internal hard drives, SD cards, and external USB drives. A drive letter is a letter identifier for one volume, and each drive letter can be used once on the computer.
And some users with computer experience may assign drive numbers via Diskpart commands . So next, let's see how we can use Diskpart to assign a drive letter.
Full Guide on Diskpart Assign Drive Letter - Complex
Diskpart is a command line tool that allows you to quickly manage disks or partitions from a command prompt. It can create, delete, extend, or shrink a partition. But how to assign a drive letter via Diskpart? Next, I will show you how to use Diskpart to change drive letter .
Step 1. Press Windows + S at the same time to run the search box. Then type cmd. When the command prompt window appears, right-click it and choose "Run as administrator."
Step 2. Type diskpart in the command prompt windows and press Enter.
Step 3. Then, type the following commands, and don't forget to press Enter after you type one command:
- list volume
- select volume 4 (Replace 4 with the correct number)
- assign letter=H

In this way, you can assign a drive letter to your partition and still use Diskpart commands to extend a partition or delete a partition. However, sometimes you may encounter problems, such as " Diskpart failed to extend the volume " or"Diskpart can't change drive letter ."
So, to avoid these errors, a professional disk management tool is needed to help you, EaseUS Partition Master. Next, let's see how it helps us.
Professional Alternative for Diskpart Assign Drive Letter - Easy
Diskpart is not perfect because it has limitations. Fortunately, there is a simpler way to perfectly compensate for their shortcomings.
EaseUS Partition Master Professional is a utility third-party partition manager. It supports users in assigning disk partitions through a clear interface that can be finished with just a few clicks. And it is much easier than Diskpart. Moreover, it can assign drive numbers on various file system types . What's more, it is more functional and allows you to manage your disks. Now, download it and follow the guide to assign a drive letter via EaseUS Partition Master.
Windows 11/10/8/7 100% Secure
Step 1. Run EaseUS Partition Master, right-click the target partition, and choose "Change Drive Letter".
Step 2. In the new window, click the down arrow and choose a drive letter for the partition from the drop-down menu, then click "OK".
Step 3. Click the "Execute 1 Task(s)" button in the top-left corner, check the changes, and click "Apply" to change the drive letter of the selected partition.
Besides, it can do far more than assigning a drive letter. So now, let's learn more features about it.
Features of EaseUS Partition Master:
- Resize disk partitions
- Create or delete partitions
- Split or merge partition on SSD
- Move unallocated space to C drive
- Assign drive letters on various file system
- Windows 11/10/8.1 and Windows 7 extend partition
Hence, download EaseUS Partition Master to help you to solve any problems with your disk partition . Its clear interface will make it easy to use, so don't worry and download it to help.
Do you know how to use Diskpart to assign drive letters? This part provides two ways to assign a drive letter. If you are a user with a lot of computing experience, Diskpart is probably the fastest way to assign disk characters. However, if you are a normal user or don't know much about computer operation, EaseUS Partition Master is the right choice.
You may like the following content:
By the way, the next part shows several questions related to Diskpart. Continue to read if you would like to learn more.
Diskpart Assign Drive Letter FAQs
You have learned to use Diskpart to assign a drive letter and a professional alternative to Diskpart. This paragraph shows you several frequently asked questions. If you have similar problems, continue to read.
1. How do I assign a drive letter without formatting?
First, open Diskpart by typing diskpart in the Command Prompt window.
Then, type the following commands in the Diskpart window:
- select volume 1
Remember to hit enter each time you type a command and replace one and H with the correct number and the letter you like.
2. What does diskpart assign do?
Diskpart can assign a drive letter to your volume. If you want to change the drive letter or the original drive letter doesn't work, you can use Diskpart commands to assign a new drive letter.
3. Can I assign drive letter B?
No, you can't. Letter A and letter B are for floppy drives. And the letter C is usually for the system partition. So you can choose a letter from D to Z for your drive.
Was This Page Helpful?
Related Articles
How Long Does It Take to Format an External Hard Drive [Full Guide]

How to Clear Recents on Mac Without Losing Data [2022 Guideline]

PC Not Working Properly? Try A Fresh Install Windows 10

How to Fix PC Randomly Turns Off
NEW Released
EaseUS DriverHandy
Editor's Pick Review
- Data Recovery Software Review
- Partition Manager Review
- Data Transfer Software Review
- Disk Cloning Software Review
- Data Backup Software Review
EaseUS Data Recovery Services
Request a free evaluation >>
EaseUS data recovery experts have uneaqualed expertise to repair disks/systems and salvage data from all devices like RAID, HDD, SSD, USB, etc.

Copyright © EaseUS. ALL RIGHTS RESERVED.
At the edge of tweaking
Advertisement
How to Change Drive Letter in Windows 10
By default, Windows 10 automatically assigns drive letters to connected drives, including internal and external drives. You might want to change these letters. Here is how it can be done.
Windows 10 assigns an available drive letter to a new drive connected to the computer. The operating system goes through the alphabet from A to Z to find the first available letter to assign it to various drives. Historically, it reserves the drive letters A and B for floppy drives.
Modern Windows versions assign the C letter to the system partition which Windows is installed on. Even in a dual-boot configuration, Windows 10 displays its own system partition as C:.

Changing drive letters will allow re-arranging drives in the This PC folder. This can be useful after you add an extra drive or create a new partition. For example, you might want to change its drive letter to display it before the DVD drive. Also, when you change the drive letter of a USB drive, it will be assigned permanently. Often Windows 10 randomly changes the drive letter for external drives when you connect them, so this way you can make this process more predictable.
Tip: Show drive letters before drive names in This PC / Computer folder .
There are a number of methods you can use to change the drive letter of a drive in Windows 10. Let's review them.
To change the drive letter in Windows 10 , do the following.
- Press the Win + X keys together.

You are done. The drive will appear in File Explorer under the letter you've chosen.
Change the drive letter in the command prompt
- Open an elevated command prompt .
- Type diskpart .

You are done.
Change the drive letter in PowerShell
- Open an elevated PowerShell instance .

For example, the command can look as follows:

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:
If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!
Advertisment
Author: Sergey Tkachenko
Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram , Twitter , and YouTube . View all posts by Sergey Tkachenko
One thought on “How to Change Drive Letter in Windows 10”
Really thank you this steps very helpful
Leave a Reply Cancel reply
Your email address will not be published. Required fields are marked *

Privacy Overview
- Buying Guides
Complete Guides by How-To Geek
Our latest product roundups, reader favorites, more from how-to geek, latest geek news, latest reviews, across lifesavvy media.
Join 425,000 subscribers and get a daily digest of news, geek trivia, and our feature articles.
By submitting your email, you agree to the Terms of Use and Privacy Policy .
How to Use the Diskpart Utility to Assign and Remove Drive Letters
Lowell is the founder and CEO of How-To Geek. He’s been running the show since creating the site back in 2006. Over the last decade, Lowell has personally written more than 1000 articles which have been viewed by over 250 million people. Prior to starting How-To Geek, Lowell spent 15 years working in IT doing consulting, cybersecurity, database management, and programming work. Read more...

The Disk Management tool in Windows gives you an easy-to-use graphical interface to dealing with partitions and drive letters , but what if you want to just quickly change a drive letter on the command prompt? The diskpart utility makes it easy.
You’ll need to start by opening an administrator mode command prompt — type cmd into the search box, and then right-click and choose Run as administrator, or use the CTRL + SHIFT + ENTER keyboard shortcut.
Once there, run the diskpart command, and then type in the following to list out the volumes on your system.
list volume
You’ll want to note the volume number next to the drive that you want to change the letter of. In our case, that number is 3.
Now we’ll use the select volume command to tell diskpart to make changes to that volume. If your drive number is different, you’ll want to replace the 3 with the number in your configuration.
select volume 3
You should see a message that the volume is now selected.
At this point you can easily assign a new drive letter. Just type in this command, substituting R for the drive letter you’d like to use:
assign letter=R
Make sure to hit enter once you’re done, of course.
Once you’ve made that change, your drive should show up again as a new device, and be available for browsing immediately.
If you want to unassign a drive letter in order to hide the drive, you can also use the remove letter command in the same way. We wouldn’t necessarily advise doing this, of course.
Don’t bother trying to change your C: drive, because that’s not going to work.
- › How to Remove Write Protection on Windows 10
- › How to Update DirectX on Windows 11
- › How to Win $2000 By Learning to Code a Rocket League Bot
- › How to Watch UFC 285 Jones vs. Gane Live Online
- › How to Get Free Steam Games
- › How to Find Favorites on TikTok
- › How to Fix “Your Connection Is Not Private” Errors

IMAGES
VIDEO
COMMENTS
The definition of a friendly letter is an informal written correspondence with someone to whom the writer has a relationship. Usually a friendly letter goes to a family member or friend, and the tone is familiar and relaxed.
A 147c letter is a form from the IRS that verifies a company’s information. The letter includes the legal name, address and EIN of the business. The form is needed by payroll CPAs and merchant service processors to ensure they have the corr...
A letter of undertaking is a written promise of intention that outlines the terms and conditions between two parties who are usually entering into a work-related agreement. The letter is written by the person who is contracted to perform th...
DiskPart to assign drive letters via Command Prompt · 1. Open a command prompt · 2. Type in diskpart · 3. Type list disk to see a list of disks · 4. Type select
Now we use command select volume 3 to make changes to that volume. If your volume number is different, you need to replace number 3 with the number from your
Step-by-step: Assign drive letter by Windows built-in tools ; Step 1. Press "Windows + R". Then, type "diskpart" and press Enter. ; Step 2. Type
Procedure: · cmd. Enter the command: · diskpart. Enter the command: · list volume. Example output: · DISKPART> list vol · select volume 2 · assign letter=q.
Manually assigning a drive letter using CMD/Diskpart · Type "list vol" to list all available volumes. · Select the volume using "sel vol <number>"
Diskpart can assign a drive letter to your volume. If you want to change the drive letter or the original drive letter doesn't work, you can use
More on the blog: https://bit.ly/31NoF4GAssign drive letters in the command line with Diskpart.Start a command prompt and type “diskpart”.
How to change drive letter using cmd/Diskpart on Windows 10/11Type "diskpart"Type "list vol"Select the volume using "sel vol number"Assign
Change the drive letter in the command prompt · Open an elevated command prompt. · Type diskpart . · Type list volume to see all drives and their
Once there, run the diskpart command, and then type in the following to list out the volumes on your system. · Now we'll use the select volume
DISKPART>assign letter=C DISKPART>format quick. Example 2: Creating a System and a Boot dynamic volume using the DiskPart command.