To run a preinstalled VHDX in Hyper-V, follow these steps:
1. Open Hyper-V Manager
- Search for Hyper-V Manager in the Start menu and open it.
2. Create a New Virtual Machine
- In Hyper-V Manager, right-click your host machine and select New > Virtual Machine.
- Follow the wizard to configure the VM:
- Name: Choose a name for your VM.
- Generation: Select Generation 1 (for legacy BIOS) or Generation 2 (for UEFI).
- Memory: Assign RAM (e.g., 8192 MB for 8GB).
- Networking: Select a virtual switch (or configure later).
- Storage: Choose Use an existing virtual hard disk and browse for your VHDX file.
3. Configure VM Settings
- Right-click the newly created VM and select Settings.
- Adjust Processor settings (e.g., set 4 virtual processors).
- Modify other settings as needed.
4. Start the Virtual Machine
- Right-click the VM and select Start.
- Right-click again and select Connect to open the VM console.
5. Install Hyper-V Integration Services (if needed)
- If the guest OS lacks Hyper-V Integration Services, install it:
- In the VM console, go to Action > Insert Integration Services Setup Disk.
- Follow the installation prompts.