- To create a virtual drive on Windows 11, open Settings > System > Storage > Advanced storage settings > Disks & volumes, and click “Create VHD.” Then, choose a name, location, drive size, format (VHD or VHDX), type (fixed or dynamic), continue with the “GPT” option, and choose the format settings.
- To create a Dev Drive, open Settings > System > Storage > Advanced storage settings > Disks & volumes, click “Create Dev Drive,” and select “Create new VHD.” Then, choose a name, location, drive size (equal or larger than 50GB), format (VHD or VHDX), type (fixed or dynamic), continue with the “GPT” option, and choose the format settings.
On Windows 11, you can now create virtual hard disks (VHD or VHDX) through the Settings app, and in this guide, you will learn how. Starting on version 23H2 and higher releases, the “Disks & volumes” settings page receives an update to create and manage virtual drives in two ways, including a traditional virtual drive and the new “Dev Drive.”
Similar to using the “Disk Management” tool, the “Disks & volumes” settings include a guided wizard to create and attach a virtual hard disk using the VHD or VHDX format and fixed size or dynamically expanding type. Also, you can choose the file system that best suits the drive.
On the other hand, the “Dev Drive” option allows you to create storage volumes designed specifically for developed workloads. The wizard provides the option to create virtual drives using the Resilient File System (ReFS) technology and includes file system optimizations and features that enable developers to better manage their performance and security profile.
In other words, the option to create traditional virtual drives is meant for general consumer workloads, such as document libraries, installing packaged applications, or non-developer tools, while the “Dev Drive” option has been designed to meet a developer’s needs to host project source code, working folders, and package caches.
This guide will teach you the different ways to create a virtual drive on Windows 11.
Create virtual drive on Windows 11
To create a virtual drive (VHD or VHDX) on Windows 11 23H2, use these steps:
-
Open Settings on Windows 11.
-
Click on System.
-
Click the Storage tab.
-
Under the “Storage management” section, click “Advanced storage settings.”
-
Click the Disks & volumes setting.
-
Click the Create VHD button.
-
Confirm a descriptive name for the drive.
-
Confirm a location to store the virtual drive.
Quick tip: Usually, you can want to store the “VHD” or “VHDX” on a secondary drive for better performance. -
Specify the size of the virtual drive. You can choose the size in megabytes, gigabytes, or terabytes.
-
Check the VHDX option.
Quick note: Although you can use the “VHD” option, the “VHDX” option is a more suitable choice since it supports drives up to 64TB and is more resilient to power failures. -
Check the Dynamically expanding option to allow the drive to grow as more data is written.
Quick note: The “Fixed size” will allocate the maximum size when the drive is created. -
Click the Create button.
-
Select the “GPT (GUID Partition Table)” option to assign a partition style to the drive.
-
Click the Initialize button.
-
Confirm a label for the virtual drive.
-
Choose the drive letter.
-
Select the “NTFS,” “FAT32,” or “REFS” option in the “File System” setting.
-
(Optional) Use the default size specified in the setting.
-
Click the Format button.
Once you complete the steps, the virtual drive will appear as a traditional drive in File Explorer.
Create Dev Drive on Windows 11
To create a virtual drive for development on Windows 11 23H2, use these steps:
-
Open Settings on Windows 11.
-
Click on System.
-
Click the Storage tab.
-
Under the “Storage management” section, click “Advanced storage settings.”
-
Click the Disks & volumes setting.
-
Click the Create Dev Drive button.
-
Select the “Create new VHD” option.
-
Click the Next button.
-
Confirm a descriptive name for the drive.
-
Confirm a location to store the virtual drive.
Quick tip: Usually, you can want to store the “VHD” or “VHDX” on a secondary drive for better performance. -
Specify the size of the virtual drive as equal to or larger than 50GB.
-
Check the VHDX option.
-
Check the Dynamically expanding option to allow the drive to grow as more data is written.
Quick note: The “Fixed size” will allocate the maximum size when the drive is created. -
Click the Create button.
-
Select the “GPT (GUID Partition Table)” option to assign a partition style to the drive.
-
Click the Initialize button.
-
Confirm a label for the virtual drive.
-
Choose the drive letter.
-
(Optional) Use the default size specified in the setting.
-
Click the Format button.
After you complete the steps, the Dev Drive will be created and accessible from File Explorer on Windows 11 23H2.