Ask Leo! by Leo A. Notenboom

26 Drives? Is there a way around the 26 drive limit in Windows?

Search First! Then browse: Categories | Full Archive | By Date | Newsletter

Home » Windows

Summary: 26 drives appears to be the limit within Windows, with drive letters assigned A: to Z:. There are alternatives to 26 drives that are, effectively, limitless.

Is there a way around the limit to 26 drives in Explorer? My in-home network leaves me only 3 drives available (X:, Y: and Z:). I am looking to add a 500GB drive (either internal or external) to my system, but want to partition it into at least 5 drives. Is it possible to do this without losing the ability to connect to the rest of my network? What suggestions would you have to handle this?

This is one of those situation's I've been meaning to get around to for quite a while myself. I have one machine on which I have several physical drives installed, and a USB 8-in-one flash reader that adds 4 more drives, and two CD-ROM drives. On top of that I, too, want to connect to several other machines on my network. I wasn't running out of room, but things were getting tight.

Note how I said "were". There are a couple of good solutions.

Hard Disks

We'll start with the physical drives attached to your system.

As we saw in a previous article Can I reassign my drive letters? you can, using the system drive management tool, assign the letters of your choice to your drives, rather than accepting the Windows default. While I don't recommend renaming "C:", the default Windows install drive, pretty much any other drive can be assigned any letter that isn't already in use.

Or none at all.

But at least one of your drives, probably your C:, or Windows installation drive, needs to be NTFS format.

Following the instructions in that article:

  • Right click on My Computer and click on Manage to bring up the Computer Management Dialog

  • click on Disk Management, to open up the Disk Management Dialog

  • Right click on one of the drives that is not your Windows install drive, and then click on Change Drive Letter and Paths...

Doing that on my machine for my external backup drive (E:), I get this:

Change Drive Letter and Paths... for E:

Now, this time instead of pressing Change... to change a drive letter, we're going to press Add.... This dialog results:

Add Drive Letter and Paths... for E:

What we haven't talked about is that "or Path" part these dialogs keep talking about. In Windows Explorer, create this folder on your NTFS formatted C: drive:

c:\backupdrive

The name is totally up to you - the only requirement is that the drive be NTFS formatted, and that this folder you just created be empty.

Now enter that folder name in the Add Drive Letter or Path... dialog we have open:

Add Drive Letter and Paths... for E: with entry

Press OK.

Now you should see the contents of the E: drive.:

Windows Explorer open on E:

Appear within the folder C:\backupdrive:

Windows Explorer open on c:\backupdrive

Recalling that the problem was that too many drive letters were in use, there's one last step.

Back in disk manager, right click on the drive we've been playing with (E: in my case) and once again click on Change Drive Letter and Paths... - it should look similar to this:

Change Drive Letter and Paths dialog

Make sure that the drive letter is selected, and click Remove. You'll get a warning, which I'll discuss in a moment. Press OK on that warning, and the drive letter is no longer associated with that hard disk. It's been freed up for use elsewhere. The contents of that hard disk are still available at c:\backupdrive.

The directory "c:\backupdrive" is called a "mount point" or junction. It's the point at which the contents of another drive are mounted. Physically all the contents below that mount point are on that other hard drive, but logically all files are referenced via paths beginning with c:\backupdrive.

The warning you got above is simply telling you that programs which might have expected files on (in my case) "E:" are now going to fail - they'll have to be instructed to look at "c:\backupdrive" instead.

One other thing to note; mount points are treated just like any other directory for file sharing purposes. So if, for example, my "C:" drive was shared out, then by mounting the E: drive in a mount point on C:, it also became available for file sharing.

This is actually quite handy - for example if you have several drives, as I do, you might create a subdirectory full of mount points:

c:\dev\harddisk2
c:\dev\backupdisk
c:\dev\harddisk3

Now, simply by sharing c:\dev, all the hard disks mounted underneath are automatically shared.

Using mount points you can add a virtually unlimited number of drives or partitions to your system without using up any of the precious 26 drive letters.

Networking

(I'm going to assume that you have file sharing already working between the machines you care about. Network setup and file sharing is beyond the scope of this article.)

Network connections can eat up drive letters as well, if you use Map Network Drive:

Map Network Drive dialog

Or if you make the connection in the command prompt:

NET USE Y: \\leo\mail

In many cases there's simply no need to do this.

In Windows Explorer, in the address bar, simply type \\server\share as the "folder" you want to browse:

Windows Explorer open on \\leo\mail

In many cases (though admittedly not all) you can simply use \\server\sharename instead of a drive letter to access a remote resource. This means you don't have to eat up a drive letter by mapping a network drive unless you find you really need to.

Putting it all Together

Finally, let's combine all this together.

Machine B has 6 hard disk drives; "C:" plus 5 others. We'll set up mount points on that machine:

c:\dev\harddisk2
c:\dev\harddisk3
c:\dev\harddisk4
c:\dev\harddisk5
c:\dev\harddisk6

Then, still on machine B, we share the directory "C:\dev" to the local area network.

Now, over on machine A, we have a choice. We can map a drive:

NET USE Q: \\MACHINE-B\dev

and we can access all of machine B's hard drives as "Q:\harddisk2", "Q:\harddisk3" and so on.

OR we can skip the mapping entirely, and simply reference those drives as "\\MACHINE-B\dev\harddisk2", "\\MACHINE-B\dev\harddisk3" and so on.

In this extreme case, you can access all the hard disks on both your local and the remote machine without using any drive letters on either.

I'll confess that I do still use drive letters, but mostly as a shorthand. "Q:" is much shorter to type that "\\server\\share". But in most cases, that's the only reason.

Article C2749 - August 8, 2006

Helpful? Get new articles weekly by email in my FREE newsletter!

Your Name:
Your Email:


Why Subscribe?

Recent Comments
15 Comments

I run a Citrix network at my workplace. One workstation has the data cached onto the hard drives and the other workstation has the Terminal Services Client and Applications. One of the Applications we use requires lots of "reference materials" from the Caching PC. The program creates a the drives on the Caching PC, shares it over to the TSC PC and loads a data source (a reference book). When the program closes it erases the data from the shared drive deletes the drive itself. The process is repeated on each application start-up but refers also to each different Citrix Launch. The application currently reads from 12 data books simultaneously (due to network and drive constraints from G-X). We are about to buy a product with 21 Reference materials. If i set up mounting points, will the application automatically create the same mounting points to use for the sources?

Posted by: dan at May 30, 2007 3:52 AM

Thanks alot! This helps so much! Now I can go out & add those new HDDs, buy another computer for my network, & even (re)attach old drives collecting dust on my shelves!

Posted by: Ryan Bergman at June 14, 2007 1:31 PM

I was grateful to find this work-around but after implementing it, I am having second thoughts. Using the Recycle Bin has become a pain. When deleting large files or many files at once, which I do regularly, it takes several minutes just to complete the process. It takes as long to delete files as it does to "wipe" them using the Peter Gutmann (35 pass) wipe.
I understand I can try disabling the recycle bin completely and that may solve this problem, but it's not unheard of for me to restore accidentally deleted files or unforeseen necessary ones.
Bottom line: I value the recycle bin's purpose, is there any work-around for the slow deletion issue?

Thanks,
Timogin

System specs:
Self built as always.
Windows XP Pro SP2
AMD64 Dual Core 5600+
4GB RAM (Windows limited at 3+GB)
Drives in question are all SATA300 (300mbps enabled) Mostly Seagate, a couple WD. (approaching 3Tb total)
Motherboard - Foxconn C51XEM2AA (AM2 NVIDIA nForce 590)

Posted by: Timogin at October 27, 2007 3:09 PM

Hi Leo,

I read your article "26 Drives? Is there a way around the 26 drive limit in Windows?"

One question: does the drive to be mounted to the empty NTFS folder has to be formated as NTFS? In other words, can a drive of FAT be mounted to the empt NTFS folder?

I would appreciate it if you can email me back to verify that!

Robert

Posted by: Robert at June 25, 2008 10:09 PM

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yes. I've mounted FAT formatted SD and CF cards using this
technique.

Leo


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFIZmwRCMEe9B/8oqERAuM9AJ9uoW9DBuLNfvL7RWnhLJGd/G2vXQCfV/Fr
0vLbFGaO7jA9OAGpcJm72q4=
=DUQc
-----END PGP SIGNATURE-----

Posted by: Leo at June 28, 2008 9:51 AM

Hey Leo, I was browsing for info on doing full copies of my new, clean Windows OS for backup purposes when I ran across this great article that solved another problem, that of drive lettering. I'm sure I could have found the info elsewhere on the 'net, but I check with you first for most everything because your answers are thorough, clear-cut, and have lots of great supplementary guidance. Still the best!

Posted by: Jeff Lentz at December 21, 2008 6:12 AM

[teal][b]How many network drives i can connect with a window system?

Posted by: viren at January 16, 2009 7:09 AM

I'm glad I read this. Thanks for the new knowledge, Leo!
On a single computer not networked, must file sharing be enabled to change the path of an installed hard drive(not the main one which Windows is installed under)?

Posted by: snail at August 10, 2009 3:46 PM

I was wondering a couple of things.

1)If I usually slipstream windows,so win folder is on c:, "program files" is on d: and "my documents" is on e:.
- How can I mount these drives to folders in that (or during that) kind of installation?

2)If I want to do a backup (ghost style, not separate documents);
- would I be able to backup only c: without those mounted folders?
- would I be able to full backup c: and those mounted folders without backing up the entire drive (ie: Swap partition, and other extra partitions.)??

One last thing. I do remember that time ago network folders assigned to a letter used to run faster and feel more agile than UNC paths. But still;
- Is there a way to mount those paths to letters and then to folders like "\\Jamespc\my documents" to "c:\Network\james" and so on?
(I know I has been mention before in the comments but the answer wasn't completely clear about it)

Even if you cannot answer these questions, thank you very much Leo, I appreciate the info, the time and the effort.

Posted by: Fennet at September 11, 2009 10:02 PM

How do I reverse this procedure, to reassign the drive to what it was before. Is it just a reverse of this procedure. I have a 49-port USB hub I want to experiment with...

Posted by: Shilts at September 17, 2009 8:37 AM

Post a comment on "26 Drives? Is there a way around the 26 drive limit in Windows?":






(Email Address will not be published.)

Remember Me?

By popular demand...
my tip jar
Cuppa Joe
Buy Leo a Latte!

(you may use HTML tags for style)

RSS feed Subscribe to the RSS Feed specifically for comments on this article.

Before commenting, please...

  • Read the article at the top of this page. If your comment shows you didn't, it'll be deleted and ignored.

  • Comment only on this article. Use the Google search box at the top of the page if you have a question about something else.

  • Don't include personal information in the comment. No email addresses. No phone numbers. No physical addresses.

  • Don't spam. Excessive links to unrelated sites within a comment or across multiple comments will cause all such comments to be removed.

  • Don't ask me to recover lost passwords or hacked accounts. I can't, and those comments will be deleted.

  • I can't respond to every comment. And I can't vouch for the accuracy of others who do.

Please wait. Your comment is being processed ...


Question? Ask Leo!