1. Install Windows on the Physical PC
Use any supported version (Windows 10/11 or Server).
This is temporary—you’ll use it to build the management VM.
2. Create a Windows VM Using Hypervisor Software
Install VMware Workstation, VirtualBox, or Hyper-V on the Windows OS.
Create a new VM with:
- 2+ vCPUs
- 4–8 GB RAM
- 40+ GB disk space
- Network adapter set to bridged or NAT
Install Windows inside this VM—this will be your management VM.
3. Install ESXi Management Tools in the VM
Install VMware Host Client, PowerCLI, or any browser to access ESXi.
Optionally install VMware Remote Console or vSphere CLI if you want advanced control.
4. Export the VM to USB
Shut down the VM.
Use your hypervisor’s export feature:
- In VMware Workstation: File ➜ Export to OVF
- In VirtualBox: File ➜ Export Appliance
- In Hyper-V: Use Export-VM PowerShell cmdlet
Save the exported files (OVF/OVA or VM folder) to a USB drive.
After Installing ESXi on the PC
Once ESXi is installed on the same physical machine:
5. Import the Management VM into ESXi
Plug in the USB drive.
Use the ESXi Direct Console UI (DCUI) or SSH to upload the VM files to a datastore.
Register the VM using the ESXi Host Client or command line:
shell command:
vim-cmd solo/registervm /vmfs/volumes/datastore1/YourVM/YourVM.vmx
6. Configure Passthrough Devices
Enable USB passthrough and GPU passthrough in ESXi:
Go to Host ➜ Manage ➜ Hardware ➜ PCI Devices
Mark the GPU and USB controller for passthrough
Notes:
VMDirectPath I/O (PCI passthrough) is supported in the free version of ESXi, assuming your hardware meets the requirements
If your management VM uses passthrough devices (like GPU or USB), make sure:
- The VM has full memory reservation (required for passthrough).
- You've rebooted the host after enabling passthrough in the hardware settings.
- You're using UEFI firmware in the VM for better compatibility with modern GPUs
Edit the VM settings to add these devices.
7. Connect Peripherals
Plug your monitor into the passthrough GPU.
Plug keyboard/mouse into passthrough USB ports.
Power on the VM—it should boot into Windows and display on the monitor.