Verified end-to-end in Hyper-V

Windows 11 Enterprise ISO
with Ollama + Gemma 4

A self-installing AI-agent appliance. Ollama runs as a loopback-only Windows service, gemma4:latest is the local model, and a modern computer-use chat client lets you talk to Gemma 4 and let it drive the machine.

Final ISO
8.34 GiB
Windows image
Enterprise Eval · 25H2
Model
gemma4 :latest
Endpoint
127.0.0.1 :11434

What's inside

Everything is local — the model, the API, and the agent. Nothing leaves the loopback interface.

⚙️ Ollama as a service

Automatic (delayed) LocalSystem service on a first-party OllamaServiceHost.exe that supervises ollama serve with 5s/15s/60s restart backoff. No NSSM.

🤖 Local Gemma 4

gemma4:latest served over 127.0.0.1:11434. Thin-ISO pulls it on first boot with progress shown in the chat client; or embed it in the image.

💬 Computer-use chat

Modern .NET 8 WPF client, bottom-right at logon. Chat with Gemma 4 and it proposes actions: run PowerShell/cmd, open apps, files, keystrokes, clipboard, screenshots.

🔒 Loopback only

Bound to 127.0.0.1, no inbound firewall rule, local-only CORS origins. The installer asserts loopback binding at first start.

🛡️ Nothing removed

Defender, Windows Update, Secure Boot support, servicing, networking, PowerShell, recovery — all intact. No security controls are disabled.

📦 Clean install

Agent ships via sources\$OEM$ so install.wim stays pristine and Windows Setup installs fully unattended, straight past the product key.

Pipeline walkthrough

Six stages from clean checkout to a validated ISO. Expand any step to see what it actually does and the exact command that runs.

0 / 6 open

Proven end-to-endfresh Gen2 VM · Secure Boot + vTPM

Hyper-V · Win11-Agent-Gemma4 (Gen2)Idle · click ▶ Play boot
UEFI Firmware · efisys_noprompt.bin
Secure Boot: ON · TPM 2.0: present
Press ▶ Play boot to begin

Validate

Expected outputs for every gate — checksums, bootable-ISO structure, and the Gen2 UEFI boot test. Failures highlight in red with the exact reason and remediation. Toggle a row's simulate fail to see how a regression surfaces.

Not run0 pass0 fail0 running
Checksums3 checks
Bootable ISO3 checks
UEFI boot3 checks