物料准备

Windows系统资源站推荐: (根据自己喜好自行下载)

登录

Windows11系统 iSO文件:

Windows 11 (business editions) (updated June 2022) (x64) - DVD (Chinese-Simplified)

下载地址:

1
2
3
4
5
6
7
8
9
10
11
# Windows 11 (business editions), version 22H2 (updated Nov 2022) (x64) - DVD (Chinese-Simplified)
ed2k://|file|zh-cn_windows_11_business_editions_version_22h2_updated_nov_2022_x64_dvd_3623b3e1.iso|5567041536|B83E64D03E93B418840E5B270E164005|/
magnet:?xt=urn:btih:3382423b817d5f964847633e0bc9c28b9b8335b6&dn=zh-cn_windows_11_business_editions_version_22h2_updated_nov_2022_x64_dvd_3623b3e1.iso&xl=5567041536

# Windows 11 (consumer editions), version 22H2 (updated Nov 2022) (x64) - DVD (Chinese-Simplified)
ed2k://|file|zh-cn_windows_11_consumer_editions_version_22h2_updated_nov_2022_x64_dvd_2c7e96c3.iso|5673539584|EB8FF2B481BB6AFE71B2784C6485733B|/
magnet:?xt=urn:btih:30072e91bc916e5a43c58b012fdaadd1d70d1c71&dn=zh-cn_windows_11_consumer_editions_version_22h2_updated_nov_2022_x64_dvd_2c7e96c3.iso&xl=5673539584

# Windows 11, version 22H2 (ARM64) - DVD (Chinese-Simplified)
ed2k://|file|SW_DVD9_Win_Pro_11_22H2_64ARM_ChnSimp_Pro_Ent_EDU_N_MLF_X23-12755.ISO|5719896064|D6DE1514C942ED84DB037F56E4457904|/
magnet:?xt=urn:btih:e8c15208116083660709eac9aee124e025c01447&dn=SW_DVD9_Win_Pro_11_22H2_64ARM_ChnSimp_Pro_Ent_EDU_N_MLF_X23-12755.ISO&xl=5719896064

虚拟机Windows驱动 iSO文件:

https://github.com/virtio-win/virtio-win-pkg-scripts

下载图中的iSO文件

Xnip2022-06-29_16-53-31.jpg

PVE 相关设置

创建虚拟机创建,选择对应的系统类型

Untitled

系统设置

Untitled

Untitled

Untitled

Untitled

虚拟机启动安装

Untitled

Untitled

Untitled

重启多次安装成功

驱动安装

Untitled

Untitled

开启网络发现

Untitled

开启远程桌面

必要条件需要账户必须设置登录密码

Untitled

Q&A

U盘安装无法运行 windows11 问题

1
2
3
4
5
6
7
8
9
在这个界面按 Shift+F10,打开命令行界面,输入 regedit 打开注册表,然后定位到:
HKEY_LOCAL_MACHINE\SYSTEM\Setup

创建一个名为“LabConfig”的项,接着在“LabConfig”下创建两个 DWORD 值(32位):
BypassTPMCheck / 00000001
BypassSecureBootCheck / 00000001

完成上述1个项和3个键值的建立和设定后,关闭注册表编辑器,关闭CMD窗口,回到报错窗口,
返回上一步(左上角按钮),重新执行安装,此时你会发现可以顺利装下去了。

Windows KMS 激活问题

1
2
3
4
5
6
7
8
9
10
11
12
一、首先需要安装好一个OpenWrt系统,并且开启KMS服务器;

二、Windows(支持win7/8/10/11)的激活方法
1、以管理员方式运行Windows Powershell,输入slmgr /upk回车,先卸载原来自带密钥。
2、输入slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX 回车替换密钥,该密钥可以激活Win10/11。
3、输入slmgr /skms 10.0.0.253 回车,其中:10.0.1.253 为 OpenWrt 的IP地址,请自行替换。
4、输入slmgr /ato回车,即可使用OpenWrt的KMS功能激活Windows。

二、Office(支持2010到2021)的激活方法
1、以管理员方式运行Windows Powershell,用cd命令进入安装到Office的目录,比如:cd “C:\Program Files\Microsoft Office\Office16”回车;
2、输入cscript ospp.vbs /sethst:10.0.1.253 回车;
3、输入cscript ospp.vbs /act 回车,即可使用OpenWrt的KMS功能激活Office。

如何禁止Windows休眠

1
2
3
4
5
6
// 如何使休眠不可用
1. 按下键盘上的**Windows** 按钮,打开开始菜单或开始屏幕。
2. 搜索“cmd”。 ...
3. 当用户帐户控制提示时,选择“继续”。
4. 在命令提示符处,键入 powercfg.exe /hibernate off ,然后按Enter
5. 键入“exit”,然后按Enter 关闭“命令提示符”窗口。

如何挂载 WebDav 磁盘

如果WebDAV不是https的,win11 默认是添加不上的,需要修改注册表使得 Win11 同时支持http和https.

1
2
3
4
5
6
7
8
9
Win + r 输入 regedit 打开注册表:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters
把BasicAuthLevel 值改成 2

即同时支持http和https,默认只支持https
然后重启服务: (WIN + R)
net stop webclient
net start webclient