首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >专栏 >nano11、tiny11裁剪的win11 iso放弃吧,玩玩可以,正式用,算了

nano11、tiny11裁剪的win11 iso放弃吧,玩玩可以,正式用,算了

原创
作者头像
Windows技术交流
修改2025-09-17 20:25:42
修改2025-09-17 20:25:42
4210
举报
文章被收录于专栏:Windows技术交流Windows技术交流

看到tiny11和nano11把win11裁剪到不到3GB(主要是nano11),这还能用吗?

nano11

代码语言:txt
复制
https://github.com/ntdevlabs/nano11

tiny11

代码语言:txt
复制
https://github.com/ntdevlabs/tiny11builder/releases/

tiny11的用法参考https://blog.csdn.net/Joe192/article/details/140708086

nano11的用法跟tiny11一模一样,按如下步骤进行

使用nano11的中间过程省略,首尾截图记录如下

nano11开头的警示语很重要:

代码语言:txt
复制
Welcome to nano11 builder!
This script generates a significantly reduced Windows 11 image. However, it's not suitable for regular use due to its lack of serviceability - you can't add languages, updates, or features post-creation. nano11 is not a full Windows 11 substitute but a rapid testing or development tool, potentially useful for VM environments.
Do you want to continue? (y/n)

欢迎使用nano11构建器!此脚本可生成一个大幅缩减的Windows 11镜像。然而,由于其缺乏可维护性,并不适合常规使用——创建后无法添加语言、更新或功能。nano11并非Windows 11的完整替代品,而是一款快速测试或开发工具,可能对虚拟机(VM)环境有用。您是否要继续?(是/否)

网文言过其实了,我用完nano11、tiny11脚本后生成的新iso跟原版比(我的原版已经是install.esd),没太大的大小变化,可以说变化很小(old和new都是5.5GB),我估计如果我原版是install.wim,用了nano11能变小吧,试了下果然。install.esd作为原版的时候,最后生成了5.5GB的nano11.iso,install.wim作为原版,生成了2.51GB的nano11.iso。说白了,nano11让iso变小,本质上就是让install.wim变install.esd而已。但是很遗憾,这个2.51GB的nano11.iso安装系统失败。

代码语言:txt
复制
Exporting final image to highly compressed ESD format...

部 署 映 像 服 务 和 管 理 工 具 
版 本 : 10.0.26100.1150

正 在 导 出 映 像 
[==========================100.0%==========================]
操 作 成 功 完 成 。 
Performing final cleanup of installation folder root...
Removing non-essential file/folder from ISO root: support
Removing non-essential file/folder from ISO root: autorun.inf
Removing non-essential file/folder from ISO root: __chunk_data
Creating bootable ISO image...

OSCDIMG 2.56 CD-ROM and DVD-ROM Premastering Utility
Copyright (C) Microsoft, 1993-2012. All rights reserved.
Licensed only for producing Microsoft authorized content.


Scanning source tree (1000 files in 95 directories)
Scanning source tree complete (1030 files in 95 directories)

Computing directory information complete

Image file is 2718924800 bytes (before optimization)

Writing 1030 files in 95 directories to H:\nano11-main\nano11.iso

100% complete

Storage optimization saved 64 files, 15138816 bytes (1% of image)

After optimization, image file is 2706221056 bytes
Space saved because of embedding, sparseness or optimization = 15138816

Done.
Creation completed! Your ISO is named nano11.iso

今天2025-9-17,9月新版Win11我已经进行了充分的安装测试,9月企业多会话全功能版(远程双会话,其他都是远程单会话)win11 25h2(26200.6713)安装完不到11GB,比24h2同版本(26100.6713)更节省空间,且25h2的ReFS版本同24h2,之前做的24h2 winpe通用,不用适配新系统,省事。

实测github tiny11项目,干掉了预装应用包括Edge浏览器、Microsoft Store等,去掉了安装限制以安装BIOS+MBR类型。试试可以,长期用,算了。要突破win11的限制,安装BIOS+MBR至少有其他三种办法,不裁剪,完整功能长期用。

代码语言:txt
复制
下载微软最新ISO
国外(源):https://uupdump.net/
国内(fork):https://uupdump.cn/

代码语言:txt
复制
企业多会话版:VMKVQ-3MN6B-BVM9F-YWV97-R9FCX
企业版:NPPR9-FWDCX-D2C8J-H872K-2YT43
专业版:W269N-WFGWX-YVC9B-4J6C9-T83GX
专业工作站版:NRG8B-VKK3Q-CXVCJ-9G2XF-6Q84J

建议用"企业多会话版",类似Server版,直接启用Administrator用户,跳过了微软帐户,省事。其他版本都会卡在微软帐户,要跳过比较麻烦,需参考我这篇文档https://cloud.tencent.com/developer/article/2403649。

如果不用tiny11/nano11这类开源脚本来处理iso大小,最简单的办法就是用dism.exe命令的/Compress参数,它用于在捕获 Windows 映像 (WIM) 文件时指定使用的压缩算法。

假如我有个原版ISO已经挂载到W:,把W:\sources\install.wim变成install.esd或者还是install.wim但让其变小些,得用/Compress参数(如下示例中,W:是虚拟光驱,H:\是存储位置)

A. 转为 ESD(体积最小,适合分发/写入U盘)

代码语言:txt
复制

# 1) 查看 install.wim 的索引信息
dism /Get-WimInfo /WimFile:W:\sources\install.wim

# 2) 仅导出需要的索引(示例:只要索引 1),输出到 H:\
dism /Export-Image /SourceImageFile:W:\sources\install.wim /SourceIndex:1 /DestinationImageFile:H:\install.esd /Compress:recovery /CheckIntegrity

# 如需多个索引,重复追加导出到同一个 H:\install.esd(仅修改 /SourceIndex,下图示例中我的ISO就2个,所以追加到2就行了)
# dism /Export-Image /SourceImageFile:W:\sources\install.wim /SourceIndex:2 /DestinationImageFile:H:\install.esd /Compress:recovery /CheckIntegrity
# dism /Export-Image /SourceImageFile:W:\sources\install.wim /SourceIndex:3 /DestinationImageFile:H:\install.esd /Compress:recovery /CheckIntegrity
# dism /Export-Image /SourceImageFile:W:\sources\install.wim /SourceIndex:4 /DestinationImageFile:H:\install.esd /Compress:recovery /CheckIntegrity

B. 仍为 WIM,但用更高压缩减小体积(便于后续离线服务)

代码语言:txt
复制

# 1) 查看索引信息
dism /Get-WimInfo /WimFile:W:\sources\install.wim

# 2) 导出需要的索引为新的 WIM(最大压缩 LZX)
dism /Export-Image /SourceImageFile:W:\sources\install.wim /SourceIndex:1 /DestinationImageFile:H:\install_new.wim /Compress:max /CheckIntegrity

# 如需多个索引,继续追加到同一个 H:\install_new.wim(仅修改 /SourceIndex,下图示例中我的ISO就2个,所以追加到2就行了)
# dism /Export-Image /SourceImageFile:W:\sources\install.wim /SourceIndex:2 /DestinationImageFile:H:\install_new.wim /Compress:max /CheckIntegrity
# dism /Export-Image /SourceImageFile:W:\sources\install.wim /SourceIndex:3 /DestinationImageFile:H:\install_new.wim /Compress:max /CheckIntegrity
# dism /Export-Image /SourceImageFile:W:\sources\install.wim /SourceIndex:4 /DestinationImageFile:H:\install_new.wim /Compress:max /CheckIntegrity

从install.wim变成install.esd是很耗费CPU的,因为压缩比很明显

压缩前:

压缩后:

很明显,.esd比.wim小很多。其实,安装到系统盘后,占用的空间是一样的。

现在的ISO越搞越大,有的甚至超过8GB,想搞到8GB的(实际只有7GB多)优盘里是不可能的,只能通过把install.wim搞成install.esd来解决。其实,最简单的办法是什么?买个大点的优盘,现在的优盘白菜价了,32GB、64GB的USB3.x优盘才20元左右。

我有个外国朋友现在失联了,他是个电脑小白,之前用Windows电脑会遇到各种问题,一有问题就找我,后来建议他买了MacBook,再也不找我了,你看,没有用处了就不联系了。这个故事告诉我们,问题有时候不一定非要从技术层面解决的,钱能解决的问题就不是问题,可现实很残酷,有的人就是差那20块钱,值他几天的口粮。

最重点的,原来,我可以没有朋友,因为几乎所有问题都可以靠自己和家人解决。本质上,我属于疏离型人格,你来,我微笑相迎,你不来,我自得其乐。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档