找到注册表中的这一项
 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\icssvc\Settings
 添加
 WifiMaxPeers
 dword 值 32位 最大值是128
 设置完成后重启icssvc服务
 sc stop icssvc
 sc start icssvc
由于win11不小心装了preview版本,貌似这个8个最大的已经限定死了,改小了可以改大了虽然生效但实际还是只让连8个,想使用之前的DLL,先比较一下大小
C:\WINDOWS\System32>dir |findstr -i tethering
 2024/02/10  16:52           106,496 tetheringclient.dll
 2024/02/10  16:52            61,440 tetheringconfigsp.dll
 2024/02/10  16:52            40,960 TetheringIeProvider.dll
 2024/02/10  16:52           262,144 TetheringMgr.dll
 2024/02/10  16:52           262,144 tetheringservice.dll
 2024/02/10  16:52           266,240 TetheringStation.dll
//下面是21h2的大小
2022/06/08  17:51           102,400 tetheringclient.dll
 2022/06/08  17:51            57,344 tetheringconfigsp.dll
 2021/06/05  20:04            36,864 TetheringIeProvider.dll
 2024/03/14  12:17           253,952 TetheringMgr.dll
 2022/06/08  17:51           245,760 tetheringservice.dll
 2022/06/08  17:51           229,376 TetheringStation.dll
然后开始复制,说不让复制

这里要改一下每个dll的权限,
1.修改权限: 右键 -> 属性 -> 安全 -> 高级 -> 所有者:TrustedInstaller -> 更改 -> Administrators ->确定 -> 选择 -> Administrators -> 完全控制 -> 勾选 -> 确定 添加“完全控制”权限


还有一种方法就是用pe进到系统中拷贝再重启动。









