As Microsoft approaches the end of support for Windows 10 on October 14, 2025, users are exploring ways to continue utilizing this familiar operating system. One effective method is to run Windows 10 in a virtual machine (VM), allowing users to maintain access to their applications and files without the risks associated with unsupported software.
To facilitate this transition, the free tool Disk2Vhd offers a straightforward solution for converting a physical Windows 10 installation into a virtual hard drive. This tool operates directly within the Windows environment, creating a VHD or VHDX file that can be booted in virtualization software like VirtualBox or Hyper-V.

To begin, download Disk2Vhd and extract it to a designated folder on your hard drive. Launch the program by double-clicking on the appropriate executable file based on your system architecture—either “disk2vhd64.exe” for 64-bit or “disk2vhd.exe” for 32-bit Windows 10. The interface will display all recognized hard drive partitions, allowing you to select which ones to include in the conversion. It is advisable to keep all system partitions checked, while you may uncheck any unnecessary partitions from secondary drives.
Create VHD or VHDX?
By default, Disk2Vhd opts for the VHDX format, which is ideal for Hyper-V users. However, if you plan to use VirtualBox, you should deselect the “Use VHDX” option to create a VHD file instead. After selecting the desired format, specify the storage location for the target file and ensure the “Use Volume Shadow Copy” option is enabled before clicking “Create” to initiate the conversion process. Upon completion, a confirmation message will indicate a successful export.

Once the conversion is complete, transfer the created hard drive file to the target computer where you intend to run Windows 10. This can also be done via an external hard drive, providing flexibility in how you manage your virtual environment.
Booting the Windows 10 Image
To boot your newly created Windows 10 image, set up a new virtual machine in either Hyper-V or VirtualBox, selecting “Windows 10” as the operating system. Instead of creating a new virtual hard drive, integrate the backup file of your Windows 10 system. In Hyper-V, choose “Use an existing virtual hard disk,” while in VirtualBox, select “Use an existing virtual hard disk file.” This process allows you to start your Windows 10 installation seamlessly.
However, it’s important to note that there is no guarantee that a converted Windows 10 installation will function flawlessly in the virtual environment. If issues arise during boot, consider re-running the conversion and adjusting the selected partitions as needed.
Reinstalling Windows 10
For those who prefer a fresh start, reinstalling Windows 10 in a virtual machine is another viable option. Although this process requires more time, it often results in improved performance and a cleaner system free from accumulated clutter.

To reinstall, you will need an installation medium, such as a Windows DVD or an ISO file, along with a valid license key. If you lack a physical installation DVD, the Media Creation Tool from Microsoft can be utilized to download the appropriate ISO image. By following the prompts within the tool, you can create installation media tailored for your specific needs.
Create a VM for Windows 10
Setting up Windows 10 as a guest operating system in VirtualBox mirrors the standard VM creation process. Select the appropriate type based on your version of Windows 10 and allocate a minimum of 4GB of virtual memory. Choose your installation medium, whether it’s the physical DVD or the ISO file, and proceed with the installation. Afterward, remember to install any necessary programs and guest extensions to optimize your virtual experience.
Creating a backup point after installation is also recommended, allowing you to revert to a stable state whenever needed.