Windows VM Creation
Windows VM Creation
Windows VM Creation in Proxmox
- Preperation:
- Download the Windows ISO from the official Microsoft website.
- Upload the ISO to Proxmox:
- Navigate to the Proxmox web interface.
- Go to
Datacenter>Storage>ISO Images. - Click on
Uploadand select the downloaded Windows ISO file.
- Download the VirtIO drivers ISO from the Fedora Project.
- Upload the VirtIO ISO to Proxmox in the same way as the Windows ISO.
- VM Creation
- In the Proxmox web interface, click on
Create VM. - Fill in the following details:
- General:
- Node: Select the Proxmox node where you want to create the VM.
- VM ID: Leave it as default or set a custom ID.
- Name: Enter a name for your VM (e.g.,
Windows-VM).
- OS:
- ISO Image: Select the Windows ISO you uploaded.
- Guest OS Type: Choose
Microsoft Windows. - Version: Select the appropriate version (e.g.,
Windows 10/2016). - Add additional drive for VirtIO drivers: Check this option to add the VirtIO drivers ISO.
- VirtIO Drivers ISO: Select the VirtIO ISO you uploaded.
- System:
- BIOS: Select
OVMF (UEFI)if you want UEFI support, otherwise leave it asSeaBIOS. - Machine: Leave it as default.
- Qemu Agent: Enable this option for better integration.
- BIOS: Select
- Disks:
- Hard Disk: Set the disk size (e.g.,
50 GB). - Cache: Set to
Write backfor better performance.
- Hard Disk: Set the disk size (e.g.,
- CPU:
- Cores: Set the number of cores (e.g.,
2). - Type: Leave it as default.
- Cores: Set the number of cores (e.g.,
- Memory:
- Memory: Set the amount of RAM (e.g.,
4096 MB). - Ballooning: Enable this option for dynamic memory management.
- Memory: Set the amount of RAM (e.g.,
- Network:
- Model: Select
virtiofor better performance. - Bridge: Choose the appropriate bridge (e.g.,
vmbr0).
- Model: Select
- General:
- Click
Finishto create the VM.
- In the Proxmox web interface, click on
- Installing Windows
- Start the VM by selecting it in the Proxmox web interface and clicking on
Start. - Open the console for the VM.
- Follow the Windows installation prompts.
- When prompted for drivers, load the VirtIO drivers from the additional CD drive.
- Click on
Load driver. - Browse to the VirtIO CD drive and navigate to the appropriate folder for your Windows version (e.g.,
viostorfor storage drivers).- Hard Disk:
vioscsi\w10\amd64 - Network:
NetKVM\w10\amd64 - Ballooning:
vioser\w10\amd64
- Hard Disk:
- Select the appropriate driver and click
Next.
- Click on
- Complete the Windows installation as usual.
- Start the VM by selecting it in the Proxmox web interface and clicking on
- Post-Installation
- Install the QEMU guest agent for better performance and management.
- Run
qemu-ga-x86_64.msifrom the VirtIO drivers ISO.
- Run
- Install remaining VirtIO drivers:
- Run
virtio-win-gt-x64.msifrom the VirtIO drivers ISO.
- Run
- Configure Windows settings as needed (e.g., network, updates).
- Remove
Shutdownfrom the Start menu.- Open
Registry Editor(regedit). - Navigate to
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\default\Start\HideShutDown. - Set
valueto1to hide the Shutdown option.
- Open
- Install the QEMU guest agent for better performance and management.
Related Posts
This post is licensed under CC BY 4.0 by the author.