This Bash script automates the creation of a Windows virtual machine on Proxmox VE. It provides an interactive setup using Whiptail, letting you pick the Windows edition, the installation language and the VM hardware.
-> inspired by https://github.com/community-scripts/ProxmoxVE
To use this script on your own Proxmox VE server, copy this line into your Proxmox terminal (with root privileges). It works on both Proxmox VE 8.x and 9.x:
bash -c "$(wget -qLO - https://raw.githubusercontent.com/cedev-1/WindowsServer-Proxmox-HelperScript/main/windows-vm.sh)"Important
When the script asks you to open the console, do it before answering yes. The Windows installer only waits about 5 seconds for the "Press any key to boot from CD or DVD" prompt. Miss it and OVMF reports No bootable option or device was found.
| System | ISO source |
|---|---|
| Windows Server 2025 | Evaluation Center, several languages |
| Windows Server 2022 | Microsoft direct download, several languages |
| Windows Server 2019 | local ISO or manual URL |
| Windows 11 Enterprise | Microsoft direct download, several languages |
| Windows 10 Enterprise | local ISO or manual URL |
Available languages are probed live, so only the ones Microsoft actually serves are offered. You can list them without creating anything:
./windows-vm.sh --probe ws2025The VirtIO driver ISO is downloaded and attached automatically as a second CD-ROM.
windows-server-vm.sh (Proxmox VE 8.x) and windows-server-vm-proxmox-9.sh (Proxmox VE 9.x) only install Windows Server 2022 in English. They are kept for reference; use windows-vm.sh instead.
You can help me to improve this script, report bugs or request new features by creating an issue on this repository.
- Add support for Proxmox VE 9
- Add multi-language support (with multi ISO download)
- Add support for Windows Server 2025
- Add Client possibility
- Find automatable ISO sources for Windows Server 2019 and Windows 10
- Add full auto mode (autounattend.xml)
- Add more...
