windows vista change drive letter assignment

How to Alter or Remove Drive Letters in Windows Vista or Windows 7/8.x/10

Using the TBOSDT setwindl.tbs Script

The TBOSDT setwindl.tbs script provides an easy way add, change, or remove drive letter assignments for Windows installations. The script can be run from any supported TBOSDT environment, including Windows, BootIt BM, BootIt UEFI, Image for Linux, and TBWinPE/RE.

  • Run the setwindl.tbs script.
  • Select the desired Windows installation from the list (there will be a warning if you select the running Windows system).
  • Select the partition. Its current assignment will be shown if it has one.
  • Select the drive letter to assign to the partition or select the current assignment to remove it.
  • Follow the prompts to complete the operation.

Using Windows Disk Management

From Windows, do the following:

  • Press WinKey+R to open the Run box.
  • Type in diskmgmt.msc and click OK . The Disk Management window will be displayed.
  • In the right window pane, right-click on the drive letter (partition or volume) you want to change.
  • Click on Change Drive Letter and Paths...
  • Click the Add... , Change... , or Remove button, depending on the desired action needed.

Using BootIt BM

If you are using BootIt BM with the Limit Primaries option disabled and you wish to remove the drive letter for a partition you can simply clear the MBR slot in the appropriate Boot Item . The partition will then not be loaded into the MBR and Windows will not assign a letter.

Was This Article Helpful?

  • I Tried Both: Apple Watch 9 vs Fitbit Charge 6
  • Best Places to Print Photos Online

How to Change a Drive Letter

Don't like the letters assigned to your drives in Windows? Change them!

windows vista change drive letter assignment

  • Emporia State University

windows vista change drive letter assignment

  • The Ultimate Laptop Buying Guide

What to Know

  • Open Disk Management. Locate the drive you want to change. Right-click and choose Change Drive Letter and Paths > Change .
  • Select the drive letter you want to assign from Assign the following drive letter . Then select OK and choose Yes .

The letters assigned to your hard drives, optical drives, and USB drives in Windows are not fixed. Use the Disk Management tool in Windows to change drive letters. These steps apply to Windows XP and newer versions of Windows .

How to Change Drive Letters in Windows

Follow these steps to change the driver letters in any version of Windows.

You can't change the drive letter of the partition that Windows is installed onto. On most computers, this is usually the C drive.

Open Disk Management , the tool in Windows that lets you manage drive letters, among [many] other things.

In Windows 11/10/8, Disk Management is also available from the Power User Menu ( WIN + X  keyboard shortcut) and is probably the quickest way to open it. You can also start Disk Management from the Command Prompt in any version of Windows, but starting it via Computer Management is probably best for most of you.

Locate from the list at the top, or from the map at the bottom, the drive you want to change the drive letter of.

If you're not sure that the drive you're looking at is really the one you want to change the drive letter for, you can right-click or tap-and-hold the drive and then choose Explore . If you need to, look through the folders to see if that's the right drive.

Right-click or tap-and-hold the drive and choose Change Drive Letter and Paths .

Select Change .

If you've selected the primary drive by accident, some versions of Windows will display a message that reads Windows cannot modify the drive letter of your system volume or boot volume.

Choose the drive letter you want Windows to assign to this storage device by selecting it from the Assign the following drive letter drop-down box.

You don't need to worry if the drive letter is already being used by another drive because Windows hides any letters you can't use.

Select OK .

Choose Yes to the Some programs that rely on drive letters might not run correctly. Do you want to continue? question.

If you have software installed to this drive, it might stop working properly after changing the drive letter. See details on this in the section below.

Once the drive letter change is complete, which usually only takes a second or two, you're welcome to close any open Disk Management or other windows.

The drive letter is different from the volume label. You can change the volume label using similar steps .

If You Have Programs Not on the Main Drive

Changing drive letter assignments for drives that have software installed to them may cause the software to stop working. This isn't quite as common with newer programs and apps but if you have an old program, especially if you're still using Windows XP or Windows Vista, this is likely to be a problem.

Fortunately, most of us don't have software installed to drives other than the primary drive (typically the C drive), but if you do, consider this your warning that you might need to reinstall the software after changing the drive letter.

No Changes for the Operating System Drive

You cannot change the drive letter of the drive that the Windows operating system is installed on. If you'd like Windows to exist on a drive other than C , or whatever it happens to be now, you can make that happen but you'll have to complete a clean install of Windows to do it. Unless you have a pressing need to have Windows exist on a different drive letter, we don't recommend going through all that trouble.

Change, Don't Switch

There's no built-in way to switch drive letters between two drives in Windows. Instead, use a drive letter that you don't plan on using as a temporary "holding" letter during the drive letter change process.

For example, let's say you'd like to swap Drive A for Drive B . Start by changing Drive A's letter to one that you don't plan on using (like X ), then Drive B's letter to Drive A's original one, and finally Drive A's letter to Drive B's original one.

Using the Command Prompt

You can also change the drive letter from Command Prompt . It's not as easy as using Disk Management and you can't see right away which letters are available to choose, but it is completely doable with the diskpart command.

Get the Latest Tech News Delivered Every Day

  • The 34 Best Free Data Destruction Tools of 2024
  • 10 Best Free Disk Partition Software Tools
  • How to Open Disk Management
  • How to Format a Hard Drive in Windows
  • What Is a Volume Label of a Drive?
  • How to Back Up Your iPhone to an External Hard Drive
  • How to Partition a Hard Drive (Windows 11, 10, 8, 7, +)
  • How to Burn an ISO File to a USB Drive
  • How to Properly Reboot (Restart) a Windows Computer
  • How to Use the Format Command to Write Zeros to a Hard Drive
  • AOMEI Partition Assistant Standard Edition v10.4.0 Review
  • What Is the NTFS File System?
  • How to Open Disk Management From Command Prompt
  • Disk Management
  • What Is a Partition?
  • How to Find a Drive's Volume Label or Serial Number

Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

How to Reassign Drive Letters in Windows

They aren’t cast in stone..

by Leo A. Notenboom

Change Drive Letter

Drive letters are not assigned at format time, and yes, they can be changed. In fact, it’s quite easy to change them; I do it all the time — for every drive except “C:”, that is. “C:” is special.

First, let’s look at the how.

Become a Patron of Ask Leo! and go ad-free!

TL;DR:

Reassign drive letters

  • Right-click on Start.
  • Click on Disk Manager.
  • Right-click on the drive you want to change.
  • Click on Change Drive Letter and Paths…
  • Click on Remove and Add to remove the existing drive letter assignment and add a new one.

Disk Manager

Right -click on the Start menu and click on Disk management .

Disk Management menu item

This will bring up the Disk Management tool.

Disk Management Tool

You’ll see that I have several disks:

  • C: is my system drive
  • L: is a second internal data drive
  • E: is my DVD/CD drive

Having that second drive assigned “L:” seems somewhat odd, 1 so let’s change it.

Changing an assigned drive letter

Close any programs that might be accessing the drive you’re about to change. Right-click on the drive in Disk Management. In my case, that’s the L: drive. Click on Change Drive Letter and Paths… in the resulting context menu .

Change drive letter on context menu

The resulting dialog will display all the drive letters currently assigned; in my case, L:.

Drive letters assigned to my drive

Click on the drive letter (L: in the example above), and then on Remove . You will get a warning.

Warning about removing a drive letter

It’s not enough that you’ve closed programs currently accessing the drive. Any program configured for any reason to access drives using the old letter will need to be adjusted to use the drive letter we’re about to assign. You may get additional warnings if the drive is still in use. You can proceed and then reboot when we’re done for the changes to take effect, so click Yes .

Right-click on the disk in Disk Manager again (it won’t show a drive letter, since we just removed that), and click on  Change Drive Letter and Paths…  again. This time, click on the Add… button in the resulting dialog. You’ll be presented with a dialog allowing you to select from available drive letters.

Assign letter dialog

I’ve clicked on D — a more sensible assignment for an internal drive. Click on OK to make the assignment.

The newly assigned drive letter

You can exit the Disk Management tool. Reboot if you were warned earlier about the drive being in use.

Multiple letters and paths

You might infer from the interface that you can assign multiple drive letters to the same drive. You cannot. If you try to Add without Removing first, the ability to assign a drive letter will be grayed out.

If you’re dealing with a monster machine with over 26 drives attached (or connected via networking), you’ll need to use the path technique. 26 Drives? Is There a Way Around the 26-drive Limit in Windows?  describes your solution.

Paths, referenced throughout the dialog, are an alternate way to refer to drives without consuming another drive letter. It’s an advanced topic, and I won’t go into detail, but the short version is simply:

  • Create an empty folder on your C: drive. Perhaps call that folder “D-Drive”.
  • Assign the path “C:\D-Drive” to the drive, using steps similar to what we’ve just done.

Now you can access the contents of the D: drive as if it were in the “D-Drive” folder on C:. You can even remove the drive letter assignment, if you like, and only access it via that path.

An important word about C:

Do not change the drive letter of your system drive. In most cases, that is C:.

When Windows was installed, it was installed onto the drive C:, and doing so will have created many, many references to C: that simply changing the drive letter will not update. It’s possible your machine will not even boot if you change the drive letter of C:.

About A: and B:

Use them if you like. Other than feeling a little odd to have disks “before” the C: drive, there’s no longer any reason not to use them.

A: and B: were originally reserved for two floppy drives that were used on the first PCs before hard drives were added. When hard drives came along, they were assigned the next available letter, C:. While floppy drives are no longer common, the default hard drive assignment at C: has persisted, and A: and B: are available for use however you like.

Subscribe to Confident Computing ! Less frustration and more confidence, solutions, answers, and tips in your inbox every week.

I'll see you there!

Footnotes & References

Podcast audio.

Play

Download (right-click, Save-As) (Duration: 5:20 — 7.4MB)

Subscribe: RSS

Related Video

windows vista change drive letter assignment

1 : Not unsurprisingly, it’s a side effect of me playing with this feature in preparation for updating this article.

83 comments on “How to Reassign Drive Letters in Windows”

I partition my 300gb drive and have got to n:/ so far. To avoid problems if I increase/reduce partitions I reserve x,y and z for cd and dvd. Sometimes if you change these and try to run a programme installed when the drive letter was F:/ there can be a problem.

How easy was that! – Well done it worked and I have no further problems – Thanks Leo

How brilliant are you! How brilliant is knowledge! I have just spent 4 1/2 hours on the net and speaking to computer buffs searching for the answer to change drive letters (too complicated to explain why). CANNOT BE DONE – CHANGE THE BIOS – ALTER JUMPERS etc. etc. You managed it in under 2 minutes!!! (After I found you)You are wasted and should be as accesable as a screwdriver. You are now No1 Bookmark Thankyou Kindest regards

I just installed a 1X2 TX RAID system using RAID 1 for mirroring. Went I went to install windows it had my drives assigned to J: for the root! Now using disk management under XP told me that I could not reassign the Windows Root Drive (J:) How do I do this without reinstalling windows?

Regards, PJ Baron

Oh my i’m so glad that i found you. I have spent 4 days tring to find out why my computer seen my flash drive but didnt show up when i went to my computer. well to keep it short my dvd drive and my flash drive had the same letter so i plugged in my flash drive and did just what you told me and now it works fine thank you ever so much…

That was great help……….

Thanks you soooo much. I have been strugeling to find a easy to understand explination for 5 days now, your pictures and explinations are awesome. Thanks very much

I have the same problem as the question on your website — My drive letters are inverted C and D, so my computer looks through my D drive which it thinks is C to get to C which is marked as D, how can I fix this? (Posted by Sheila, 9-25-06) Were you able to answer this?

Dude. Thanks for the drive switcheroo help. I never knew this stuff and I really appreciate your help, and all the hard work that you put into this site. But, it shouldn’t be called “Ask Leo.” You could name it something comical like “Ask Beardo.” That would be more memorable and funnier. Beards are awesome to the max.

HI This info was helpful but I’m still having a problem with reassigning the drive letter. For some reason when I installed XP it named my boot drive F: and my second drive C:. Before the change in operatiing systems they were boot: C:, and the second was D:Storage. It let me change my storage drive letter, but won’t let me change my boot drive from F to C. Any suggestions? Thanks

—–BEGIN PGP SIGNED MESSAGE—– Hash: SHA1

Did you read the article? It explicitly talks about exactly that.

Leo —–BEGIN PGP SIGNATURE—– Version: GnuPG v1.4.6 (MingW32)

iD8DBQFF7OeRCMEe9B/8oqERAqFLAKCMVvnwnKE/sgEMJmQKQr0w/rF1MQCeMd5f CE6OVOs/3gjO7ouPdDFJBRs= =482d —–END PGP SIGNATURE—–

I appreciate it Leo. You’ve made something that most people make out to be a four hour expedition through cmd a 20 second switch. You are now bookmarked bro.

But my system always forgets the new drive letter assignments on my CDROM & CDRW drives. Everytime I boot up, the drive letters have changed back to the first available letters above my HDDs’ partitions. To match my older computer’s CDROM & CDRW drives’ letters V: and T:, I have done the disk management drive letter change routine over and over, but each time I reboot these two drive come back as M: & N:. Additionally, Roxio’s (EMC8) drag-to-disk will not let you change the non-existent M: to T: so that I can use it to eject, format, etc. It holds on to the erroneous M: even though no M: exists resulting in a rediculous message such as “Drive is Busy” when I try to use it to eject a CDRW. EMC8 “Home” properly shows the CDRW drive as T: but apparently Drag To Disk checks only during it’s startup process and retains what it found at startup — the erroneous M:. Help!

I reassign drive letters to the way i need them. then everytime i reboot they change back??? why??? I just installed new raid sata hard drive. My raptor which has 200 gigs of info and audio/video session files on it needs to be set at drive D!! for some reason the dvd drive wants that letter evrytime i reboot??? help please!!???

HI, I had to reistall my DVD on the “F” drive, and now its missing. Now I only have the “G” drive . Is there anything I can do?

Sincerly Kenny P.S I read the letters above but I don’t understand it too well.

What about the A: (floppy) drive. I have a computer that is only for use with a particular program. In the program it asked to “backup” and dose so on a floppy. It takes forever. If I could assign the USP card as the a: it would make things so much easier.

thanks Leo and all those great people posting helpful information on the internet! Always amazed how easy it is to find info … thanks to those that devote time to helping others!

I have a simular problem… except I have 3 drives in my pc. 1st one is an older ata and the other 2 are newer sata drives. when I re-installed windows it assigned my drives as follows: c: is the older ata d: is the first sata e: is the second sata Now here is my problem. When Windows was installed it went on to the D: drive but C: is my boot drive. All the boot files are on that drive and not on the other two. I would like to remove my C: as it is getting older and does not sound that good.

There is currently nothing on either my C: (except the boot files) and E: drive. I have tried to copy the boot files over to E: and removed C: and swapped the cables around but it still will not boot up.

Is there any way I can swap my C: and D: or C: and E: as I really want to remove my old drive before it fails???

I agree with Mike French. The site should be called “Ask Beardo” because it makes so much more sense and would be funnier than just boring “Ask Leo”. Thanks for the info!

I freakkin LOVE YOU!

My external one day just went from G to N.

Dunno why. It irritated me to know end. And, because that’s one of my photo storage units the Lightroom has assigned to it’s backups and databases…I was looking at a heap of crappy, crappy trouble.

You have saved my A$$.

Thank you again,

I have an external drive which I back up to daily came to back up files and 2 things, the drive id has changed to F: and it states its full and do I want to format it…obviousley NO.

I thought if I renamed it to its previous drive letter in this case G:it would recognise the path and my files would be there, wrong so I have a drive that has heaps of data on it yet it shows it as full disc with no bytes and I cant read it.

Please can you help and advise what I need to do.

Many Thanks Colin Hudson

I tried reassignment but only got letters to change that are after the two that are missing.I have HP M370n Media Center.My Dvd writer Cd writer combo wont recognize cds /Mp3s that I recorded on it and shows up at 0 bytes like nothing is on it but there is.Also both my combo player/record and my other HP CD writer that I installed myself after the factory CD rom player quit has reassigned what was formerly E: 300n and F:HP 8000n to G:compactflashI/II – Cd Drive and H: smart media nad has the icons of both by them yet my smart media and compact flash is still L: and M: I cant figure out how to switch them back with icons and make them E and F again.I tried your method but it wont let me change to E or F as those letters seem to be missing.Any clues?Also I cant find updated drivers for 300n.

I bought a new Toshiba notebook, in order to run some of the old software.. I had to partition the HDD with a D: drive.. so, as required.. I had changed the CD ROM drive to E: drive.. after few days of struggle, everything is working.. all in a sudden.. I lost my E: drive?? now I have removed D: drive.. I mean removed the whole partition.. but I still can’t see my CD ROM drive.. it is really frustrating.. anyone had this experience.. any solution? thanks for all your help. Gs

My problems that I posted on March 21, 2007 seem to have finally resolved themselves. My personally assigned drive letter T: for the CDRW & V: for the read only CD player seem to be staying that way between boots now. Must have been corrected in a Microsoft update or something.

Many thank, you have been a great help. Pesky computers!!!

Thankyou very much, that’s exactly what i needed to do.

ok i got a dell 1100 inspiron won’t read dvd/cd rom i tryed updating driver, roll back,and last but not least changing the drive letter. i was thinking unstilling the software and redownloading from dell s website u got any other methods i could try???

hi i have an ifriends computer and i just installed a super multi dvd rewriter but now its sayin cd drive file system unknown and i have zero bytes on my drive d im not to good with computers so im kind of stuck is there something i have dones wrong please help if u can thanks!!

What a brill web site. After days of worrying your answers solved my problem in minutes.

Thanks! This help tool came in VERY handy!

This is just what I needed to know. Thank you.

I found this article ages ago and it was very useful at the time but I never commented. I’ve searched for the page again because I had a friend with the same issue I had originally and this page easily explained how to change the drive letter with screen shots etc which is really helpful.

Originally I’d been trying to access some files on my USB memory stick and it wouldn’t show up in “my computer” so I searched for why this would happen and because I already had a mapped network drive with the same letter I now know that it will only recognise one drive with that letter at a time… the page in question (no idea what page it was specifically) said change the drive letter assigned to it but didn’t tell me how. This page did :o)

Hi.. I want to install Windows XP on my 80GB external HardDisk..Pls suggest me proper steps for same..also I came to know that even if I do it, the OS when booted frm HDD will be very slow..as it will use processor from PC!! Is it the case ??

hi leo, i have recently been attacted by a worm called ‘silly dc’it changes the drive paths of the c and d drives i think i have cleaned it all up, but i am still getting a reference to ‘ resycled\boot’ as the path for the c and d drive how do i change that??? thanks in advance Alex ps im using xp pro with service pack 1

Your directions to change drive letters is very easy to carry out. I have a problem because my D: drive is shown as (Z)(D) I would like to get rid of the (Z). I am not sure wether to follow what you say or wether I would have problems I have sbsribed to your site and am waiting for the email Thanks for a very good site…Brian

Does not work in my case. I have G: drive and want to change it to D:, it does change my letter but after the boot the paths are the same linked to G so all my programs installed on G: are unaccesible.

i ve a mini laptop wit 2gb HDD.I CANT RUN ALL OTHERAPPLICATIONS COS THE HDD SPACE IS SMALL.I TRIED AN OS ON AN ETERNAL HARDRIVE.AFTER FORMATING AND COPYING OF FILES N BOOTING TO INSTALL THE WINDOWS ITS SHOWING ME A BLUE SCREEN .CAN GO FUTHER THAN DAT.WHAT MUST I DO

Thanks, this works on Windows 7.

Very easy to do. Who knew.

I installed a new c drive but it came up as H How can i get it to C ? I unhooked My card reader and my burner rebooted still comes up as H.What can I do ?

Thanks man! My CD drive came up as Z! Without any drives between it! Strange… But fixed now!

P.S. It really works on Windows 7!

I wiped my hard drive to re-install windows XP. When installing it used the “H” as my system drive. Can I change this to “C” without problems, or without removing windows and starting over? When patitioning the drive, it showed other drives, but it wouldn’t let me delete them. This is my 1st time installing windows.

Leo

Great article, you helped fix a minor emergency. Thanks very much.

I have multiple drives mapped, and it looks like I accidentally remapped the e: (my CD drive) to a file server. I have disconnected e:/ drive, but I still cannot see the CD drive to relabel it. Help.

After selecting a new drive letter for my external hard drive (I want P instead), I get an error message that says “The parameter is incorrect.” Any ideas why?

To clarify, I’m on a brand spankin’ new Asus laptop with Windows 7, and just about the only thing I’ve done is plug in my external hard drive and load Picasa. (I need the drive to stay the same letter for Picasa.) The laptop says the drive is D: for that external hard drive, and I’m I’m used to D being an important internal hard drive but I’m not sure how this laptop’s set up. Could that be why selecting P doesn’t work? (And I tried Z and it doesn’t work either.)

It turns out that I can use M, just not P or Z or Q. Strange. But M works, so I’m going with it! Thanks for this helpful article.

my h drive has been relabelled j but when i go to the drop down box in disk management it opffers me a,b then from j onwards… why has it skipped H ? i need to relabel it H..help im [ID deleted] on twitter thanks

Thank you Leo. You have saved me so much fruitless messing around on my machine to keep my portable hard drive with F assigned. Thank you, your advice was absolutely spot on.

My computer detects the dvd and the cd as different units, and they are the same. One as F and the other as Z but i need to use z as a network connection. The problem is that i can only see the dvd drive in disk management so i can only change the F. How can i change the letter of the Z cd drive?

i had windows vista in my laptop.i put out the internal hard disc and i made to it a format with a docking stasion.the problem now is that i cant give the letter c again in this disc because its allready on the lap top that the docking stasion was on.now i am tyrying to run windows with thios hdd and they stop and message telling me that is not any hdd in the lap top

Hey, I already passed the point where I can stop. Your warning re C:\ drive should be stated early in the document!

Thanks Leo you just saved me a lot of hours M

Brilliant straight forward answer. Saved hours of frustration trying to reset drive letters. Thanks Leo.

Thanks so much, Leo. I have 3 EHDs and my categories in ACDSee are assigned to one of these so when the letters changed, I lost my ability to go to those searched files. Great tutorial! You’re wonderful! PS: I always read through my recipes before starting to make sure I have everything I need. Sorry Cyberpilot. I hope nothing drastic happened.

my c drive is 1.95gb and my d drive is 35.3 thats how much they can hold not how much free storage there is and my pc is crapping out! please help, {email address removed}

@Ben You should be able to combine the 2 partitions into one with a partitioning utility

ask-leo.com/can_i_make_my_c_partition_bigger_by_taking_space_from_d.html

http://www.paragon-software.com/home/pm-express/

It is wonderful and I changed my CD/DVD drives to G: and H: long time ago but Windows-10, creates an artificial drive it calls {system reserved” and as I changed one of my drives holding major data to the same letter it had for System Reserved, I had difficulties getting Image Backups and then Restore from these Backups, as they insisted on using the same letter I had before for the then System Reserved. Now, in my Image Backups, avoiding this confusion, I back up C: Only and forget about E: which is actually replaced by J: and E: is a healthy relatively large HDD of 2 TB. My Backup/Restore uses Acronis 2018. which in its memory always included my old E: as the System Restore for C: and not the current J: Interestingly, and this is something your readers should remember, The “System Restore” is not essential to Restoring from a Backup, although a strange unmentioned notice anywhere, the many icons on the Desktop, do not come completely or perfectly using the C: only for both Backup and Restore. So, I kep separately the Desktop data separately on aa a small USB memory that I update regularly. There is also a free software called “System Restore” and I keep its data which is few bytes on same USB memory stick. It allows the icons to be located on “”Geographically” same location, I has them, not just bundled to the left of the screen (Desktop)!

I do not see what the advantage of the drive letter system is when compared to the UNIX system of mounting somewhere on the / tree. In fact I think the UNIX system abstracts better.

E.g. imagine that you have a certain application that needs to write to some directory a lot and you want to give it a faster disk. With UNIX you just connect the disk and mount it on the right place. With Windows you will have to connect the disk and then change the configuration of the software to use the new path which may or may not be a hassle.

If the software does not care about what physical drive it uses then it should not have to specify it either. And most software does not care. The drive letter system is clunky and should be abstracted away IMO.

It’s a legacy thing, but I tend to agree. You can, if you like, use the mounting approach in Windows, it’s just not quite as transparent.

At some point in your article, you mentioned to click on Removing the drive letter and thereafter to right-click on the same partition without a drive letter now in order to change and assign a new drive letter. Why cannot one just click on “change ” in the first place without removing the drive letter?. I have done it a lot of times in the way I just described without any problem.

Is there a reason for that?. Just trying to understand!.

Mostly just for educational purposes, letting people know that there are two steps.

Thanks a lot, Leo!. You know, nowadays, I am very curious about everything that has to do with procedures and new knowledge in computing. I am trying to absorb as much as I can, for I know one day it would be worth the effort. That was the only reason for my question.

Is there any way, having once assigned a persistent letter to a drive, to unassign it and get Windows to go back to assigning a temporary (available) letter instead? How do I do this? Do I have to reformat the drive?

I’ve not found a definitive answer, but two theories: format the drive on a different machine, or use a 3rd party utility per this post: https://www.techspot.com/community/topics/usb-drive-or-flash-problems-how-to-cleanup-and-remove-old-usb-storage-drivers.145884/

I bought a new Asus Laptop with Windows 10 installed. Switched it on and before it had completed updating windows 10 I got a message to say that it could not finish the updates as there was not sufficient Disk space on the internal 30Gb HDD! I purchased a 2.5″ 250Gb Crucial HDD. which fitted into the spare drive bay. formatted it and using easus, Copied the C drive to D. I am now stuck as it will not let me swap the “c” and d”” drive letters. I suppose that could reformat the c drive, but this also contains two other partitions, EFI System Partition and Recovery partition. What do you suggest?

I have an old computer with one hard drive named C. I just purchased a new computer with a 256 GB SSD, which is designated as C and a 1TB hard drive designated as D. If I use the migration tool that came with the new computer it will transfer all the data to drive C, the 256 GB drive and also the boot drive. I want to transfer the data to the D drive, but my old computer has only one drive called C, so I am assuming that it is also my boot drive. If that be the case how could I transfer the data to my new machine? I originally thought I could change the drive and paths to D on the old computer and then migrate it to the D drive on the new computer. However, if this is s also my boot drive, your article says this is a no-no. Help!

Smile

{link removed}

I’m not sure if this will work, but Easeus Partition Master is a more powerful tool than Disk Management and might be able to do what you ask. It has a free trial version which is great for a one-off job.

Hello Leo and everyone here, my hard drive recently got corrupt and I was asked to format it, so I didn’t format it, I just did a command prompt and I got the drive repaired. But now it moved my drive letter name from E to F and it’s asking me to format the E drive. Can I format it? And if I format it will it affect the F drive? Please help. I don’t know if I should format it or I should change the drive letter back to E and see if it will work

My problem. Small, solid-state C: drive, 200 GB. Large spinning D: drive, 1 Terabyte. Wish I knew how to safely move bulky programs (like Mathematica) from my C: to my D: drive.

The best way is to find out if the program’s setup program has the option to set up to a custom location. IF it does, then uninstall it, and then reinstall it to the new drive/location.

I had a similar issue. I found a program called FolderMove 3.0 Free. It will allow you to do exactly what you asked. It is available from http://www.FolderMove.com – Before I used it for the first time, I made sure I had done a complete backup of my system.

I have a Windows 10 computer with 1 terabyte drive space. Windows has apparently partitioned my drives into a C drive with 119 GB and a D drive with 931 GB. My C drive is totally out of space. I’ve moved all of my picture and music to my D drive. I don’t even know why I need a D drive if I could increase the size of my C drive. I see that I can shrink my D drive using Disk Management, but it won’t allow me to increase the C drive. Is there a way to increase C? Thanks.

There’s an article for that: Can I Make My C: Partition Bigger by Taking Space from D:?

My Disk 0 is marked as the D drive. Disk 1 is the C drive. The Delete Volume is grayed out for the D drive. Do I have to delete all of the data before I can delete the volume? I tried to shrink the D drive, but after doing so, the C drive still shows the extend volume as grayed out. Any thoughts? Thanks.

If I understand you, C: and D: are on 2 different physical drives. You can’t shrink the D: drive to extend the C: drive because a volume can’t span 2 drives. The drive number such as disk 0 and disk 1 indicate physical drives. The letters represent the logical partitions on the drives. On an unpartitioned drive, the logical drive spans the entire physical drive.

In that article Leo linked to, he recommends EaseUS Partition Master for more complicated situations. I find Partition Master much easier for most partition management tasks, easier than Windows Disk Management. It combines all the steps into one set of clicks.

EaseUS Partition Master says their software won’t work since C and D are on different disks. Here’s a screenshot of my drives. I’m at a loss of what to do. D is on Disk 0 while C is on Disk 1 Disk 2 is my external backup drive. Is there no way to increase the size of my C drive, which is totally out of space?

Ah, yes, if you have two different physical disks, there’s no practical way to make one bigger and the other smaller. It’s probably most effective to:

  • Image backup the too-small drive
  • Replace it with a larger drive
  • restore the image to the replacement drive
  • Adjust the partitions as needed to ensure the entire drive is being used.

If they are on 2 different physical disks, they can’t be combined into one. The best you can do is move as many files from C: to D: to make more room on C:.

I had some confusion with getting the drive letter assigned to external drives to stick. I have a set of external drives that I use for off-site backups, using one each month, then at the end of the month I rotate that month’s drive off site and bringing the next drive into use. I set up my backup software, Macrium Reflect, to back up to the G: drive, so I wanted each of these drives to use the letter G: There would never be more than one of these drives connected at the same time so I thought, erroneously, that I could use Disk Management to assign each to G: and that the assignment would stick. However, I learned that, this will not work and I need to assign the drive letter when each drive comes into rotation – or, at least, this is one way to accomplish what I want. This is because Windows remembers that the drive letter is in use and will not automatically use it again although it will let you manually assign it. For example, let’s say, I assign G: to drive #1, rotate it offsite, and then assign G: to drive #2. So far, so good. But when I quit using drive #2 and begin to use drive #1 again, Windows will not automatically use G: for drive #1 because it remembers that letter G is in use. So it will assign it the next available letter, in my case D:. This is simply solved by manually assigning letter G: to drive #1 again.

Leave a reply:

Before commenting please:

  • Read the article .
  • Comment on the article .
  • No personal information .

Comments violating those rules will be removed . Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.

Creative Commons License

You can do this! Gain more confidence with your technology by subscribing to my Confident Computing weekly email newsletter. Advice, instruction, tips and tricks to stay safe and get more out of your technology ... with confidence!

windows vista change drive letter assignment

Subscribe today and get your copy of the FREE edition of my most important book: The Ask Leo! Guide to Staying Safe on the Internet -- Things you can do NOW to keep yourself safe and secure.

windows vista change drive letter assignment

site logo

How to Change a Drive Letter in Windows

Sometimes when you plug in a USB device, it doesn't show up

Author avatar

A task you will most likely have to perform a few times in Windows is changing the drive letter for an external hard drive, mapped network drive, or DVD drive. Sometimes when you plug in a USB flash drive, it doesn’t automatically get a drive letter assigned to it and it may not show up on your computer.

In those types of cases, you have to change the drive letter for the device and it will normally pop right up. In this article, I’ll show you how to change the drive letter for these devices using the GUI and also via the command prompt.

Change Drive Letter via Disk Management

You can open disk management on a Windows PC by either right-clicking on the Computer or This PC icon on the desktop and choosing Manage or by clicking on Start and typing in diskmgmt.msc .

How to Change a Drive Letter in Windows image 1

You’ll see a list of volumes at the top and the disks and partitions at the bottom. Any partition that has a drive letter will be shown in the white area. If you connected a USB drive and you see it listed, but it doesn’t have a drive letter, you can now assign one.

To assign or change the drive letter for a disk or partition, simply right-click on it and choose Change Drive Letter and Paths .

How to Change a Drive Letter in Windows image 2

A window will pop up with the current drive letter, if there is one, and a couple of options. Here you want to click on Change .

How to Change a Drive Letter in Windows image 3

Next, you will choose the new drive letter from the dropdown list. You can pick from the letters A to Z.

How to Change a Drive Letter in Windows image 4

That’s about it. Click OK to close out all the dialogs and the drive should now show up in Windows with the new drive letter. If you’re having issues using the GUI interface or you simply feel more comfortable using the command prompt, read the instructions below on how to use diskpart.

Use DiskPart to Assign Drive Letter

If you need to change or assign a drive letter via the command prompt, you have to use the diskpart command. I’ve written a bit on how to use diskpart , which is really useful for many disk management tasks.

To get started, open an administrator command prompt in Windows by clicking on Start, typing in CMD and then right-clicking and choosing Run as Administrator .

How to Change a Drive Letter in Windows image 5

Now type in the following commands, each followed by the Enter key.

Above, you’ll replace x with the volume number in the list that corresponds to the drive you want to change and with the letter you want to assign to the drive. Here are the commands I ran for an external USB drive:

How to Change a Drive Letter in Windows image 6

You’ll also notice that under the Type column, external drives will show up as Removable . That’s a good way to check before you select a volume. You can also figure out which drive is correct by looking at the size and also looking at the Info column. Volume 0 in my case is the system partition, so I wouldn’t want to mess with that by accident.

Overall, it’s a fairly simple process and hopefully you won’t run into any problems. There are times, however, when things don’t work properly. Below are some possible reasons.

Troubleshoot Can’t Change Drive Letter in Windows

One problem that I have seen is that the Change Drive Letter option is simply greyed out. This can occur for a few reasons. One of the main reasons is the volume is not formatted in FAT or NTFS format. For example, if you are attaching a disk from a Mac computer, you will not be able to change the drive letter unless you format the drive into a compatible format.

Another reason is if the drive is set to read-only. If so, you’ll have to Google the steps to change the drive to allow read/write access.

How to Change a Drive Letter in Windows image 7

Also, if you don’t need any of the data on the volume in question, a simple solution is to delete the volume, which is normally never greyed out. Once you delete the volume, you can right-click again and create a new simple volume. Now you will be able to change the drive letter.

' src=

Founder of Help Desk Geek and managing editor. He began blogging in 2007 and quit his job in 2010 to blog full-time. He has over 15 years of industry experience in IT and holds several technical certifications. Read Aseem's Full Bio

Read More Posts:

windows vista change drive letter assignment

Leave a Reply

Your email address will not be published. Required fields are marked *

Sign up for our daily newsletter

  • Privacy Policy
  • Advertise with Us

6 Ways to Change the Drive Letter in Windows

Ojash Yadav

If your PC suddenly stops showing one of your internal drives in the file explorer or not list your external drive, it could be due to the OS getting confused with the drive letters. Simply changing your assigned drive letters can help you bypass this conflict. Here are six ways to change the drive letter.

1. Change the Drive Letter Using Settings

2. using command prompt, 3. disk management, 4. registry editor, 5. windows powershell, 6. drive letter changer software, frequently asked questions.

Also read: How to Clean Up and Make Space on Your Windows “C” Drive

Is It Safe to Change a Drive Letter in Windows?

Changing the drive letter is not entirely harmless and can cause significant problems based on the contents of your drive. If you have applications and software installed on your drive, those applications may cease to work.

For example, if you change the name of your D: drive to an F: drive, then the software installed in the D drive will still search for code in the D: file. While you can still access the data inside, there may be errors that will cause a nuisance in your day-to-day usage.

However, you may safely change the letter of some drives. If a partition simply includes data files that you rarely use, changing the drive letter may cause minor inconvenience, but nothing serious. The letters of external drives can almost always be changed without any problems.

  • Press Win + I to open the Settings app, then select the “System” tab. Scroll down and click on “Storage.”

Windows 11 Settings Storage Section

  • Scroll down on the right side and click on “Advanced storage settings.”

Advanced Storage Options

  • Under Advanced storage settings, click on “Disks & Volumes.”

Disk Volumes

  • Select the drive whose letter you want to change, then click on the “Properties” button for that drive.

Disk Volumes Properties

  • In the Drive Properties, you will find the option to change the drive letter of the selected drive.

Disk Volumes Change Drive Letter

  • Once you click on the option to change the drive letter, you will find a drop-down menu that will allow you to change the drive letter.

Choose Drive Letter

  • Click on the letter you want to assign.

Volume Data Drive Letter

  • Once you have selected your preferred letter, click on “OK” to confirm your choice.

System Change Drive Letter

Also read: How to Format a Drive in FAT32 in Windows

  • Search for the command prompt on the start menu by typing cmd , right-click on it, and select “Run as administrator”.

Search For Cmd

  • On the command prompt home screen, type:

Diskpart Utility Homescreen

  • Press Enter , then type:

List Volume

  • Press Enter. You’ll see a list of your system’s drives. Make a note of the volume number of the drive. In the example pictured, it’s “Volume 3”.

Cmd Select Volume

  • Type the following code:
  • Type the following code to assign the new letter:

Instead of “new drive letter,” type the letter you want. For example: assign letter=S

Diskpart Drive Letter Assigned

The drive letter will be changed to your preferred letter.

Also read: 8 Ways to Customize Windows Terminal

  • Right-click on the Windows button and open “Disk Management.”

Open Disk Management Utility

  • Under the “Volume” column, you will find the various partitions of your storage. You need to find the drive whose letter you’ll change and right-click on it.

Disk Management Select Drive

  • In the dialog box that appears, click on “Change.”

Change Drive Letter Button

  • Click the drop-down menu next to “Assign the following drive letter,” then select your letter and press “OK.”

Disk Management Select A New Drive Letter

  • A warning message will pop up. Click “Yes” if you are sure about your decision to change the drive letter.

Disk Management Apply Changes

Also read: Which Allocation Unit Size Is Best for Your Drive?

  • To change the drive letter through registry editor, first press Win + R to open the Run dialog and type regedit .

Search For Registry Editor

  • Type in the following address at the top of the application:

and press Enter .

Registry Editor Mounted Devices

  • Navigate to the list of binary keys. Select the key that corresponds to the drive letter that you want to change. For example, if we want to change the letter of the D: drive, we would look for “\DosDevices\D:”
  • Right-click on the selected registry and rename the drive letter to what you want, just as you would rename any other file.You will have to restart your computer for the effects to take place.

Registry Editor Rename

Also read: 16 Useful Windows Registry Hacks to Optimize Your Experience

  • Using the search button on the taskbar, search for “Powershell” and run it as administrator.

Windows Powershell

  • Type the following command:

Powershell Get Partition Command

  • A screen will show you your disk partitions. Make a note of what drive letter you want to change.

Administrator Windows Powershell Listing Drives

  • To change the drive letter, type the following command:

Make sure to substitute “current drive letter’ and “new drive letter” with the actual drive letters, then press Enter .

Windows Powershell Settings New Drive Letter

Also read: How to Map a WebDAV Drive in Windows

If you are looking for a tool that can help you manage your partition and drives, these software will help you change your drive letter.

  • MiniTool Partition Wizard
  • AOMEI Partition Assistant
  • EaseUS Partition Master

These tools are easy to use and have GUI interfaces that make them simple to use and also a one-stop destination for you to manage your storage devices. For the purposes of the demonstration, we are using MiniTool Partition Wizard to change the drive letter.

  • Download MiniTool Partition Wizard. (It is a direct download link.)

Minitools Installer

  • Run the installer and launch the app. You will get a listing of all your drive partitions mentioned below.

Minitool Partition Wizard Homescreen

  • Right-click on the target drive partition and select “Change Letter.”

Minitools Change Letter

  • Open the drop-down list and select a new drive letter for your target drive.

Se;ect A New Drive Letter In Minitool

  • Click on “Apply” to save the changes.

Minitool Click Apply

  • You will receive a warning pop-up asking you to close all background applications. Click “Yes.”

Minitool Apply Changes Warning

  • You will now receive a confirmation message telling you that the new changes have been applied.Click “OK.”

Minitool Changes Applied Dialouge Box

Also read: How to Format Your USB Drives in Windows

1. How are drive letters assigned in Windows?

Drive letters are assigned to every new drive in alphabetical order. Traditionally, the A: and B: drives were used for floppy disks, and the system drive on which Windows is installed is named C: by default.

2. Can I change the drive letter for the System Drive?

No, changing the drive letter on the system drive is not possible, as Windows is installed on the system drive. If that was changed, the system drive would not be found and the computer would cease working.

3. Can I switch drive letters among two drives?

No, there is no functionality in Windows to switch drive letters directly between two drives. If you want to switch the drive letters between the D: drive and the E: drive, you will have first change the D: drive to another letter (so as to free up the D:), change the E: to D:, then change the first one to E:.

Image credit: Plastic magnetic letters by 123RF

Our latest tutorials delivered straight to your inbox

Ojash Yadav

Ojash has been writing about tech back since Symbian-based Nokia was the closest thing to a smartphone. He spends most of his time writing, researching, or ranting about Bitcoin. Ojash also contributes to other popular sites like MakeUseOf, SlashGear, and MacBookJournal.

Featured Image of Microsoft Net Framework Error; Woman on Lenovo ThinkPad Source Pixabay

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Change a drive letter

  • 4 contributors
Applies To: Windows 11, Windows 10, Windows Server 2022, Windows Server 2019, and Windows Server 2016

If you want to change a drive letter assigned to a drive, or you have a drive that doesn't yet have a drive letter, use Disk Management to change it. You can also mount the drive in an empty folder so that it appears as a folder. For more information, see Mount a drive in a folder .

If you change the drive letter of a drive that already contains Windows or apps, apps might have trouble running or finding the drive. We suggest not changing the drive letter of a drive that already contains Windows or apps.

The following steps show how to change the drive letter.

Open Disk Management with administrator permissions.

In Disk Management, select and hold (or right-click) the volume on which you want to change or add a drive letter and select Change Drive Letter and Paths .

Screenshot showing the Disk Management window with the Change Drive Letter and Paths feature selected.

If you don't see the Change Drive Letter and Paths option or it's grayed out, the volume either isn't ready to receive a drive letter or it's unallocated and needs to be initialized . It might also be that the drive isn't accessible, which is the case with EFI system partitions and recovery partitions. If you've confirmed that your volume is formatted with a drive letter that you can access but you're still unable to change it, that's beyond the scope of this article. We suggest contacting Microsoft Support or the manufacturer of your PC for more help.

To change the drive letter, select Change . To add a drive letter if the drive doesn't already have one, select Add .

Screenshot of the Change Drive Letter and Paths dialog.

Select the new drive letter and choose OK . Then select Yes when prompted about how programs that rely on the drive letter might not run correctly.

Screenshot of the Change Drive Letter or Path dialog that shows how to assign a new drive letter.

Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see: https://aka.ms/ContentUserFeedback .

Submit and view feedback for

Additional resources

How-To Geek

How to change a drive letter on windows 10 or windows 11.

You can change your drive letters in Windows 10 and 11 using the Disk Management utility.

Quick Links

What changing a drive letter does, how to change a drive letter, how to fix programs broken by changing a drive letter.

Changing the letter of a drive is easy on Windows 10 and Windows 11, but you should do it as soon as you add the drive to prevent future hassles. Find out how to change a drive letter here.

Windows assigns drive letters alphabetically --- starting with C --- when they're initialized. If you want to change a drive letter, you should do it before you install anything on the drive. Changing a drive letter after programs are installed could break them since there will be references to an installation location that is no longer there.

Windows has gotten pretty smart about updating shortcuts so that programs work after changing a drive letter. Most of your applications' shortcuts will probably be automatically corrected. Unfortunately, Windows isn't as good about updating file associations. You'll have to manually set the default apps associated with files to fix file associations if they were broken by changing the drive letter.

It is possible to change the boot drive letter to something else, but we don't recommend it. Changing C:\ to another letter is likely to result in severe issues, like a PC that cannot boot into Windows at all. Even if it were able to boot, there would be a huge number of programs that would not be able to run.

Technically speaking, while they are commonly called drive letters, each letter actually refers to a partition on a disk. If you have multiple partitions on a single disk, you will need to assign a letter to each partition to make them all accessible. If a disk has just a single partition, it will just have a single letter pointing to that partition. (However, you do not have to assign a letter to each partition. Partitions without drive letters will not appear in File Explorer and elsewhere.)

Changing a drive letter is pretty simple. Click the Start button, type "Disk Management" in the search bar, and then hit Enter.

The program name displayed in the search will not be Disk Management. It will be "Create and format hard disk partitions."

You could also hit Windows+X or right-click the Start button, and then click "Disk Management."

Identify the drive you'd like to change in the Disk Management Window. In this example, we'll change the letter of the D:\ drive to J:\. You can right-click the drive on the text list, or on the menu below. Either works.

Select "Change Drive Letter and Paths" in the right-click menu that appears.

In the window that pops up, click "Change."

Select whatever letter you want from the drop-down menu. Then click "Ok."

Two popups will warn you about changing your drive letter. Click "Yes" on both of them, and then restart your computer.

Once Windows has restarted, the drive letter should be changed.

There are a few ways you can fix a program broken by changing the drive letter.

Fix The Shortcut

If you're lucky, the only thing that is broken is the shortcut. Fix a shortcut by right-clicking the shortcut on your desktop, and then click Properties.

You need to change the target of the shortcut to the new drive letter.

For example, if GIMP was previously installed at " D :\GIMP 2\bin\gimp-2.10.exe," and you changed the D drive to J, change the target of the shortcut to " J :\GIMP 2\bin\gimp-2.10.exe."

Finalize the change by clicking "Apply" and then "Ok."

Reinstall the Program

Reinstalling the program will generate new entries in the registry, so everything on the computer will know where to look for the program. Some installers won't like reinstalling directly over existing files, so you may need to rename or delete the old installation first.

Change the Drive Letter Back

If you changed the drive letter of a drive with a lot of programs installed, it might be easier to change the drive letter back. Changing the drive letter back should automatically fix any programs and file associations that were broken.

Edit the Registry

You can break programs, or even Windows itself, by editing the registry. Be careful, and learn about how to edit the registry before you try it. Make sure you backup the Windows registry first. You should not attempt this method unless you have no other options.

Windows, and a lot of programs, track where programs are installed via the Windows registry. It is possible to manually adjust the registry to fix broken programs. Keep in mind that there could be dozens of registry entries you need to edit. A program like GIMP can have registry entries for the context menu, for the "Open With" menu, for any file associations, and for the location of its executables. Other programs may only have a few entries related to where it is installed.

If you're not deterred, here's how you do it.

First, you need to know where the program was previously installed. In this case, the program was installed to the "D:\GIMP 2" folder, and the executables were found the "D:\GIMP 2\bin" sub-folder. It is now located at "J:\GIMP 2" instead.

We need to update the registry to reflect the change in location. Click the Start button, type "regedit" into the search bar, right-click Regedit, and click "Run as administrator."

In Regedit, hit Ctrl+F to bring up a search window. Type in the old location for the program you're trying to fix --- "D:\GIMP 2" for our example --- then click "Find Next."

Once Regedit has found something with "D:\GIMP 2" as part of a path, it'll show it to you. Here is an example from the GIMP search.

To actually change them, double click the name of the registry entry you want to modify. Then change the drive letter to J, or whatever you chose. If you didn't otherwise move the folder, leave the rest of the path alone. Then click "Ok."

You'll need to repeat this multiple times. To find the next result using your search term, you can hit the F3 key. There will be a popup once you've found all of the entries.

Changing drive letters can be a simple way to customize your PC. Do it before you install anything on the drive, however. You'll prevent any problems before they occur, and probably save yourself quite a bit of troubleshooting.

WindowsLoop

How to Change Drive Letter in Windows 10 & 11

Drive or partition letters are not fixed. You can change them. Here is how to change a drive letter in Windows 10 & 11 operating systems.

Windows automatically assigns a unique drive letter for all the drives, partitions, and plugged-in USB drives. Generally, the assigned letters are in incremental order starting with the letter C. For the most part, you don’t have to change the drive letter as it is pretty inconsequential in most cases. However, there might be times when you need to manually modify the drive letter of a drive, partition, or plugged-in USB drive to meet certain requirements.

For example, I want to use the drive letter X for one of my partitions because one of my older scripts requires it. The script won’t work as intended if it doesn’t have that specific drive letter. Since these are older files, and there are many of them, in typical Windows fashion, I tend to swap the drive letter rather than making the necessary changes to the script files.

Thankfully, Windows has several ways to change the drive letter . You can use the built-in partition manager or execute a few commands in the terminal. I will show both ways, follow the method you like.

Table of contents:

Change drive letter using partition manager

Commands to change drive letter.

Note: Close all active programs except your browser before proceeding with the below steps. It will reduce potential conflicts between programs and the drives.

Important: Do not change the drive letter of system volume or boot partition (C drive).

The steps below work the same in Windows 10 and 11.

Though most don’t know, Windows has a built-in partition manager called Disk Management. You can use it to quickly and easily change the drive letter. All you have to do is go to the drive options and choose the new drive letter.

Here is how to do it:

  • Press “ Win + R ” to open Run .
  • Type “ diskmgmt.msc ” and click “ Ok .”
  • Find the drive you want to modify.
  • Right-click on the drive.
  • Choose the “ Change drive letter and paths ” option.
  • Click the “ Change ” button.
  • Select the “ Assign the following drive letter ” radio option.
  • Choose a drive letter from the dropdown.
  • Click “ Ok .”
  • Click “ Yes ” in the warning window.
  • Again, click “ Yes ” in the second warning window.
  • Close the main disk management window.
  • You have successfully changed the drive letter in Windows 10 and 11.

Steps with more details:

First, search and open “Create and format hard disk partitions” from the Start menu. You can also use the “diskmgmt.msc” Run (Win + R) command.

After opening the Disk Management tool, find the drive you want to change the drive letter, right-click on it, and choose the “Change drive letter and paths” option.

Change-drive-letter-option-190820

Now, click the “Change” button.

Click-change-button-190820

Select the “Assign the following drive letter” radio option, choose a drive letter from the dropdown menu, and press “Ok.”

Select-new-drive-letter-190820

You will see a couple of warning prompts. Press the “Yes” button in both prompts.

Accept-changes-190820

Finally, close the Disk Management tool, and you are done.

That is all. You’ve successfully changed the drive letter in Windows. To make the changes take full effect, reboot the system.

Drive-letter-changed-190820

You can use the diskpart command to change the drive letter of any drive, partition, or USB drive in Windows. Here’s how to use the command to modify the drive letter.

Press the Windows Key to open the Start menu . Type “ Command Prompt ,” right-click on the result, and select the “ Run as administrator ” option. You can also right-click the Start menu, choose “Windows Terminal (Admin),” and open the Command Prompt tab in it.

After opening the cmd window, type “ diskpart ” and press Enter. This will launch the diskpart program in the cmd window.

Diskpart-command-190820

Type “ list volume ” and press Enter.

The above command will list all partitions and their volume numbers. Take note of the volume number of the drive you want to modify.

Next, execute the “ select volume #number ” command. Don’t forget to replace the #number with the actual volume number.

Diskpart-list-volume-select-volume-190820

After selecting the volume, execute the “ assign letter=NewDriveLetter ” command. Replace “ NewDriveLetter ” with the actual drive letter you want to assign.

Diskpart-change-drive-letter-190820

Once assigned, close the cmd window.

That is all. Once the diskpart commands are executed successfully, the drive letter is changed instantly. To make the changes take full effect, reboot Windows.

I hope this simple and easy Windows how-to guide helped you.

If you are stuck or need some help, send an email, and I will try to help as much as possible.

Did you know you can change a drive icon to anything you want? Follow the linked article to understand how to do it.

About The Author

Avatar for Bashkarla

Leave a Comment Cancel Reply

Your email address will not be published. Required fields are marked *

Save my name, email, and website in this browser for the next time I comment.

windows vista change drive letter assignment

windows vista change drive letter assignment

Microsoft Learn Q&A needs your feedback! Learn More

May 20, 2024

Microsoft Learn Q&A needs your feedback!

Want to earn $25 for telling us how you feel about the current Microsoft Learn Q&A thread experience? Help our research team understand how to make Q&A great for you.

Find out more!

Contribute to the Windows forum! Click  here  to learn more  💡

May 10, 2024

Contribute to the Windows forum!

Click  here  to learn more  💡

Windows 10 Forum Top Contributors: Ramesh Srinivasan  -  neilpzz  -  Volume Z  -  franco d'esaro  -  _AW_   ✅

Windows 10 Forum Top Contributors:

Ramesh Srinivasan  -  neilpzz  -  Volume Z  -  franco d'esaro  -  _AW_   ✅

  • Search the community and support articles
  • Search Community member

Ask a new question

HossamAlBitar

How to change CD Drive's letter?

I have both dvd and cd Drives shown on my computer on my laptop, i need to change the CD letter but, only DVD is shown in different programs.

windows vista change drive letter assignment

Report abuse

Reported content has been submitted​

Replies (16) 

* Please try a lower page number.

* Please enter only numbers.

MaritzaCapiro

  • Independent Advisor

5 people found this reply helpful

Was this reply helpful? Yes No

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

Thanks for your feedback.

DaveM121

1 person found this reply helpful

HossamAlBitar

Hello Maritza,

The problem is that the drive doesn't appear in Disk Management, that's why i can't change the letter.. it's in the pictures attached.

18 people found this reply helpful

2 people found this reply helpful

6 people found this reply helpful

windows vista change drive letter assignment

i mounted an ISO and it was mounted in the drive that i want to change, the one that doesn't appear in disk management.

windows vista change drive letter assignment

Question Info

  • Devices and drivers
  • Norsk Bokmål
  • Ελληνικά
  • Русский
  • עברית
  • العربية
  • ไทย
  • 한국어
  • 中文(简体)
  • 中文(繁體)
  • 日本語

How to assign permanent letters to drives on Windows 10

You can assign drive letters manually, and in this guide, we show you how on Windows 10.

windows vista change drive letter assignment

On Windows 10, when connecting a removable storage device or an internal hard drive, the system detects and assigns a drive letter automatically to make it usable. However, when reconnecting an external drive (such as a USB flash drive or SD or microSD cards), the system can end up assigning a different letter, which can be annoying.

If you want to see the same drive letter on a particular device, you can manually assign a permanent letter to any drive connected to your computer, and on Windows 10 , you can do this in at least three different ways, using Disk Management, Command Prompt, or PowerShell.

Using this approach will prevent Windows 10 from assigning a new letter or trying to set a letter already in use, which can cause conflicts. Also, it helps to select a drive letter that makes more sense to you.

In this Windows 10 guide, we walk you through several methods to manually assign a permanent letter to a drive, as long as you're connecting the drive to the same device and the letter isn't already in use.

How to assign a drive letter using Disk Management

How to assign a drive letter using command prompt, how to assign a drive letter using powershell.

To manage drive letters with the Disk Management tool, use these steps:

  • Open Start .
  • Search for Create and format hard disk partitions and click the top result to open the Disk Management experience.
  • Right-click the drive and select the Change Drive Letter and Paths option.

windows vista change drive letter assignment

  • Click the Change button.

windows vista change drive letter assignment

  • Select the Assign the following drive letter option.
  • Use the drop-down menu to assign a new drive letter. Quick tip: To avoid the system trying to assign the same letter to another drive, it's a good idea to start adding letters in backward order. For instance, instead of using D, E or F, it better to start with Z, Y or X when assigning a new letter.

windows vista change drive letter assignment

  • Click the OK button.
  • Click the OK button again.

Once you complete these steps, the drive will permanently retain the assigned letter, even after reconnecting it. However, if you connect the drive to another device, it may receive a different letter.

While the easiest way to assign a new drive letter is to use Disk Management, you can also use DiskPart in Command Prompt to perform the same task.

Get the Windows Central Newsletter

All the latest news, reviews, and guides for Windows and Xbox diehards.

To assign a drive letter using Command Prompt, use these steps:

  • Search for Command Prompt , right-click the result, and then select the Run as administrator option.
  • Type the following command to start DiskPart and press Enter : diskpart
  • Type the following command to list all the available volumes and press Enter : list volume
  • Type the following command to select the volume (drive) to assign a new letter and press Enter: select volume 3 In the command, make sure to change "3" to the number that represents the drive on your device.
  • Type the following command to assign a new drive letter, and press Enter : assign letter=Z The command assigns the letter "Z" to the drive assuming it's available. However, you need to make sure to change the letter for the one that you want to use.

windows vista change drive letter assignment

After completing these steps, similar to Disk Management, every time you reconnect the storage to the same device, Windows 10 should assign the same letter automatically.

Alternatively, you can also use PowerShell to change a drive letter on Windows 10 using these steps:

  • Search for PowerShell , right-click the result, and then select the Run as administrator option.
  • Type the following command to list the available drives and press Enter : Get-Disk
  • Type the following command to assign a permanent letter to the drive and press Enter : Get-Partition -DiskNumber 1 | Set-Partition -NewDriveLetter Z In the command, make sure to change "1" to the number that represents the drive that you want to modify, and change "Z" for the new letter that you want to use.

windows vista change drive letter assignment

Once you complete the steps, the drive will be accessible through File Explorer using the letter that you assigned, and Windows 10 won't try to change it.

Updated March 7, 2019: We revised this guide to make sure it's current with the latest version of Windows 10.

More Windows 10 resources

For more helpful articles, coverage, and answers to common questions about Windows 10, visit the following resources:

  • Windows 10 on Windows Central – All you need to know
  • Windows 10 help, tips, and tricks
  • Windows 10 forums on Windows Central

Mauro Huculak

Mauro Huculak is technical writer for WindowsCentral.com. His primary focus is to write comprehensive how-tos to help users get the most out of Windows 10 and its many related technologies. He has an IT background with professional certifications from Microsoft, Cisco, and CompTIA, and he's a recognized member of the Microsoft MVP community.

  • 2 OpenAI CEO Sam Altman admits "there's no proven playbook" after former alignment lead suggests the company prioritizes "shiny products" like GPT-4o over safety
  • 3 The deluxe edition of FromSoftware's best action game of 2023 is on sale for less $36
  • 4 Windows on ARM FAQ: What it is, how ARM processors differ from CPUs, ARM history, and more
  • 5 How to get the new Freedom Mask in The Division 2

windows vista change drive letter assignment

IMAGES

  1. Steps to Change Drive Letter Assignment in Windows

    windows vista change drive letter assignment

  2. How-To Change Drive Letters In Windows 7 or Vista

    windows vista change drive letter assignment

  3. How to change your drive letter in Windows Vista and Windows 7

    windows vista change drive letter assignment

  4. How to assign permanent letters to drives in Windows

    windows vista change drive letter assignment

  5. Change drive letter for a drive in Windows Vista

    windows vista change drive letter assignment

  6. Steps to Change Drive Letter Assignment in Windows

    windows vista change drive letter assignment

VIDEO

  1. How to Change Drive Letter in Windows 11

  2. How to Change Drive Letter in Windows 11/10

  3. Cara Mengganti Letter Drive Pada Windows

  4. How to change Partition drive name or Partition drive letter change

  5. How to Reassign Drive Letters in Windows

  6. How to Change a Drive Letter in Windows 10

COMMENTS

  1. How to Change Drive Letters In Windows 7 or Vista

    1. Click the Windows Start Orb and then Right-Click Computer and Click Manage from the context menu. 2. Click Storage > Disk Management from the left panel. Next Right-Click the drive letter that ...

  2. How to automatically assign a drive letter by using the Diskpart.exe

    If you wish to change the drive letter assignment for a removable storage device or volume: a. Right-click the appropriate volume, and then select Change Driver Letter and Paths. b. From the drop down list select the drive letter you would like to use. c. Please read the on-screen warning message, and click Yes if you wish to proceed.

  3. How to change drive letter assignments in Windows 7, Vista, and XP

    A quick how to video on how to change drive letter assignments in Windows 7, Vista, and XP. This is helpful if you are transferring USB / external drives to...

  4. How to Alter or Remove Drive Letters in Windows Vista or Windows 7/8.x

    Using Windows Disk Management. From Windows, do the following: Press WinKey+R to open the Run box. Type in diskmgmt.msc and click OK. The Disk Management window will be displayed. In the right window pane, right-click on the drive letter (partition or volume) you want to change. Click on Change Drive Letter and Paths...

  5. How to Change a Drive Letter

    Right-click and choose Change Drive Letter and Paths > Change. Select the drive letter you want to assign from Assign the following drive letter. Then select OK and choose Yes. The letters assigned to your hard drives, optical drives, and USB drives in Windows are not fixed. Use the Disk Management tool in Windows to change drive letters.

  6. How to Use the Diskpart Utility to Assign and Remove Drive Letters

    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 ...

  7. How to Remove and Assign Drive Letters in Windows with Diskpart

    Assigning a new drive letter to a partition or removable device using Diskpart is really easy. First, search for the command prompt in the Start menu, right click on it and select the option "Run as administrator.". If you are using Windows 8, press "Win + X" to open the power user menu and select the option "Command Prompt (Admin).".

  8. How to Reassign Drive Letters in Windows

    Click on Change Drive Letter and Paths… in the resulting context menu. (Screenshot: askleo.com) The resulting dialog will display all the drive letters currently assigned; in my case, L:. (Screenshot: askleo.com) Click on the drive letter (L: in the example above), and then on Remove. You will get a warning.

  9. How to Change a Drive Letter in Windows

    To assign or change the drive letter for a disk or partition, simply right-click on it and choose Change Drive Letter and Paths. A window will pop up with the current drive letter, if there is one, and a couple of options. Here you want to click on Change. Next, you will choose the new drive letter from the dropdown list.

  10. 6 Ways to Change the Drive Letter in Windows

    Press Win + I to open the Settings app, then select the "System" tab. Scroll down and click on "Storage.". Scroll down on the right side and click on "Advanced storage settings.". Under Advanced storage settings, click on "Disks & Volumes.". Select the drive whose letter you want to change, then click on the "Properties ...

  11. Change a drive letter

    The following steps show how to change the drive letter. Open Disk Management with administrator permissions. In Disk Management, select and hold (or right-click) the volume on which you want to change or add a drive letter and select Change Drive Letter and Paths. Tip. If you don't see the Change Drive Letter and Paths option or it's grayed ...

  12. Control USB Drive Letter Assignment in Windows XP/2003/Vista/2008

    Expand Storage > Disk Management. There you'll see the USB disk with its original drive letter (or no drive letter at all, depending on your OS). Right-click the partition on the removable disk ...

  13. How to Change a Drive Letter on Windows 10 or Windows 11

    Changing a drive letter is pretty simple. Click the Start button, type "Disk Management" in the search bar, and then hit Enter. The program name displayed in the search will not be Disk Management. It will be "Create and format hard disk partitions." You could also hit Windows+X or right-click the Start button, and then click "Disk Management."

  14. Manually assigning a drive letter using CMD/Diskpart

    Procedure. Open up a command prompt (CMD/PowerShell). Type "diskpart" to start up diskpart. You will see the prompt change to "DISKPART>". 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. Select the volume using "sel vol <number>".

  15. How to change a drive's letter in Windows

    To set a new drive letter for it, click or tap the Change drive letter in the Volume data section. Windows 11 will then ask you to "Choose which drive letter to use for this volume.". Click or tap on the currently displayed letter. Select the new drive letter you want to use. The new drive letter is now selected.

  16. Windows doesn't assign drive letter automatically

    1. After plug-in the drive, disk management shows it. But Windows doesn't assign drive letter automatically. 2. At this stage, in Disk Management, Properties window of the drive ( from right-click context menu) is not showing up. 3. Using 'Change drive letter and path..' I can/have to assign a drive letter (example the drive letter is J:).

  17. Windows Tip: Assign Permanent Letters to Removable Drives

    Assign a Specific Drive Letter in Windows. 1. To set this up, plug in the drive that you want to assign a permanent letter. Then open the Run dialog ( Windows Key+R) and type: compmgmt.msc and hit ...

  18. How to Change Drive Letter in Windows 10 & 11

    Press " Win + R " to open Run. Type " diskmgmt.msc " and click " Ok .". Find the drive you want to modify. Right-click on the drive. Choose the " Change drive letter and paths " option. Click the " Change " button. Select the " Assign the following drive letter " radio option. Choose a drive letter from the dropdown.

  19. Can't change drive letter

    2. In the Navigation pane, click Disk Management. 3. Right-click the partition or drive that you want to change, and then click Change Drive Letter and Paths. 4. Do one of the following: •. To assign a drive letter if one has not already been assigned, click Add, click the letter that you want to use, and then click OK.

  20. Change and Assign Drive Letter in Windows 10

    1 Open an elevated command prompt. 2 Type diskpart into the elevated command prompt, and press Enter. (see screenshot below) 3 Type list volume into the elevated command prompt, and press Enter. 4 Make note of the volume number (ex: 5) for the drive letter (ex: "F") of the drive (volume) you want to change.

  21. How to change CD Drive's letter?

    1.-Ensure that the drive you're relettering isn't in use and that no files from that drive are open. 2.-Right-click on the Start button. 3.-Click Disk Management to open the Disk Management console. 4.-Right-click the volume that has the drive letter you want to change. 5.-Click Change Drive Letter And Paths.

  22. How to assign permanent letters to drives on Windows 10

    Search for Create and format hard disk partitions and click the top result to open the Disk Management experience. Right-click the drive and select the Change Drive Letter and Paths option. Click ...