Maximum disk device and volume count?

Hi!

How many (VHD virtual) disk devices can be attached on Windows 10?

And how many volumes can be mounted on Windows 10?
(Not letter count 26! I will access volumes by using “\\?\Volume{7d3a85e2-2e96-4342-8b31-c01f422dfc8d}\”)

Thank you!

I don’t see any reason that there would be any limit.

Peter

1 Like

Well, there will be some limit. After all, each one will require some memory. And even if it is all pageable, every specific machine will eventually run out. But I agree that there should be no practical limit. But if you are somehow trying to mount 100,000 disks, you might want to revisit your design

1 Like

Thank you!

https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/ntddvol/ns-ntddvol-_disk_extent Since disk number should be representable by ulong I guess theoretical limit is 0xffffffff + 1 disks