---
url: https://eoht.net/esxi/install/windows11.md
description: 介绍在 ESXi 中创建 Windows 11 虚拟机、配置 CPU、内存与存储、挂载安装镜像，并说明全新安装时跳过 TPM 检查的方法。
---

# ESXi 安装 Windows 11 教程：虚拟机配置与 TPM 检查绕过 {#esxi-windows-11-installation}

<Pill icon="logos:microsoft-windows-icon" name="官网下载 Windows 11" link="https://www.microsoft.com/zh-cn/software-download/windows11" />

## 选择创建新的虚拟机 {#create-windows-11-virtual-machine}

![install Windows11](https://i.eoht.net/docs/20240421192959.webp "创建新的虚拟机")

![install Windows11](https://i.eoht.net/docs/20240421193033.webp "创建新的虚拟机")

此选项将指导您完成创建新虚拟机的过程。您可以自定义处理器、内存、网络连接和存储。创建之后您需要安装客户机操作系统。

![install Windows11](https://i.eoht.net/docs/20240421193110.webp "填写虚拟机的相关信息")

![install Windows11](https://i.eoht.net/docs/20240421193200.webp "选择虚拟机存储位置")

![install Windows11](https://i.eoht.net/docs/20240421193238.webp "配置虚拟机的内存，CPU等")

## 开启虚拟机 {#start-windows-11-virtual-machine}

![install Windows11](https://i.eoht.net/docs/20240421193304.webp)

![install Windows11](https://i.eoht.net/docs/20240421193558.webp)

![install Windows11](https://i.eoht.net/docs/20240421193618.webp)

::: tip 全新安装Windows 11跳过TPM检查
**如果你是从微软官方下载的 ISO 镜像则在 `提示需要输入密钥阶段` 进入到命令提示符**

在 Windows 11 安装界面按 `Shift + F10` 打开命令行界面

1. **命令模式**

```sh
REG ADD HKLM\SYSTEM\Setup\LabConfig /v BypassTPMCheck /t REG_DWORD /d 1
REG ADD HKLM\SYSTEM\Setup\LabConfig /v BypassSecureBootCheck /t REG_DWORD /d 1
```

2. **注册表模式**

输入 `regedit` 进入注册表编辑器，然后定位到如下位置 `HKEY_LOCAL_MACHINE\SYSTEM\Setup`，创建一个名为 `“LabConfig”` 的项，接着在 `“LabConfig”` 下创建两个 `DWORD` 值：

键名 `“BypassTPMCheck”`，赋值 `“00000001”`

键名 `“BypassSecureBootCheck”`，赋值 `“00000001”`

**保存退出后，无法安装的提示就消失了。**
:::
![install Windows11](https://i.eoht.net/docs/20240421194515.webp)

![install Windows11](https://i.eoht.net/docs/20240421194619.webp)

![install Windows11](https://i.eoht.net/docs/20240421194638.webp "选择自定义")

![install Windows11](https://i.eoht.net/docs/20240421194724.webp "直接下一步系统会自动分区 安装完会自动重启即可")

## 相关 ESXi 教程 {#related-esxi-guides}

虚拟机的网卡、交换机和自动启动策略可参考 [ESXi 安装与基础配置](/esxi/install/guide)；需要同时部署软路由时，可查看 [ESXi 安装 OpenWrt](/esxi/install/openwrt)。
