This project makes it possible to automate tasks on Windows, so you can use the results on Linux afterwards (eg. installing vs_buildtools for later use with Wine).
(tested with Windows 10 22H2 English ISO)
This image can be created by using the install service!
- Pro or Enterprise (to disable updates)
- no password (auto login)
- disable User Account Control
- disable file security warning
- copy run-job.bat to shell:startup
When started, the share directory is accessible from the VM at \\10.0.2.4\qemu
and the job.bat file is executed. If the VM shuts down, then the container exits and the state of the VM is reset.
You can access the VM's desktop with VNC on port 5900 or you can use the qemu monitor prompt with telnet on port 5801.
- setup a firewall for the VM
automate Windows installation, post install setup- replace the SMB network share with a disk image mount (faster copy)