VM创建win11虚拟机
1. 准备文件
通过微软官网下载iso磁盘映像文件https://www.microsoft.com/zh-cn/software-download/windows11
2. 虚拟机创建
- (1)创建新的虚拟机-导入win11 iso文件;
![](https://img2024.cnblogs.com/blog/2755468/202403/2755468-20240319205242813-1289219612.png)
- (2)命名并选择安装位置;
![](https://img2024.cnblogs.com/blog/2755468/202403/2755468-20240319205242704-697904842.png)
- (3)选择加密(最好找个是方保存下密码)
![](https://img2024.cnblogs.com/blog/2755468/202403/2755468-20240319205242730-1382821212.png)
- (4)磁盘情况默认就好。虚拟机的磁盘空间随着文件的增多物理机也会占用磁盘空间.
![](https://img2024.cnblogs.com/blog/2755468/202403/2755468-20240319205242684-1128945174.png)
- (5) 自定义硬件,一般默认就行。内存按推荐的4G就行,大了运行时也会占用物理机内存。完成虚拟机创建。
![](https://img2024.cnblogs.com/blog/2755468/202403/2755468-20240319205242686-1705765342.png)
3.虚拟机中win11安装
- (1)启动并进入虚拟机后选择第二个选项,enter后会出现提示:press any key to boot from cd or dvd,直接按任意键后进入安装。
![](https://img2024.cnblogs.com/blog/2755468/202403/2755468-20240319205242710-1128060627.png)
- (2)选择输入法及语言并安装。
![](https://img2024.cnblogs.com/blog/2755468/202403/2755468-20240319205242909-1732012027.png)
![](https://img2024.cnblogs.com/blog/2755468/202403/2755468-20240319205242664-640372558.png)
- (3)产品密钥-无;版本-专业版;接受条款;安装类型-自定义;安装位置-默认盘,等待完成安装即可。
![](https://img2024.cnblogs.com/blog/2755468/202403/2755468-20240319205242910-1979109013.png)
![](https://img2024.cnblogs.com/blog/2755468/202403/2755468-20240319205242662-1700172206.png)
![](https://img2024.cnblogs.com/blog/2755468/202403/2755468-20240319205242697-845195538.png)
![](https://img2024.cnblogs.com/blog/2755468/202403/2755468-20240319205242694-1818113378.png)
- (4)按正常windows安装各步骤进行即可
![](https://img2024.cnblogs.com/blog/2755468/202403/2755468-20240319205242828-1341965327.png)
win11安装会有连网的步骤,可参考此篇文章操作即可,注意ctrl+G将光标锁定到虚拟机:https://blog.csdn.net/RogerFedererGO/article/details/134743017?spm=1001.2014.3001.5501
![](https://img2024.cnblogs.com/blog/2755468/202403/2755468-20240319205242823-1018882411.png)
执行命令后重新安装会有无网选项,后续以无网情况按步骤操作即可
![](https://img2024.cnblogs.com/blog/2755468/202403/2755468-20240319205243049-255444117.png)
安装成功:
![](https://img2024.cnblogs.com/blog/2755468/202403/2755468-20240319205242754-1392991774.png)