website/content/en/docs/usage/guests/windows.md
| ⚡ Requirement | Lima >= 2.2, QEMU, swtpm |
|---|
Running Windows guests is experimentally supported since Lima v2.2.
{{< tabpane text=true >}} {{% tab header="Windows 11" %}}
limactl start template:windows
{{% /tab %}} {{% tab header="Windows server 2025" %}}
limactl start template:windows-2025
{{% /tab %}} {{< /tabpane >}}
The user password is randomly generated and stored in the %USERPROFILE%\password.txt file in the VM.
Consider changing it after the first login.
By default, Windows 11 enables Trusted Platform Module (TPM) emulation because of the hardware requirement. However, you can turn it off (in that case, lima bypasses the hardware check). In order to use TPM emulation, you need to install swtpm on your host computer.
For Windows server 2025, TPM emulation is disabled by default. However, there are some benefits if you enable TPM emulation. For example, you can install BitLocker disk encryption on your VM.