无忧启动论坛

标题: 关于系统DIY [打印本页]

作者: soukouzen    时间: 2017-10-12 21:31
标题: 关于系统DIY
前几天我发了一个帖子《Windows组件wiki》,这篇文章是希望各位爱折腾的同好一起完善windows组件信息,帮助大家进行系统DIY。所以我希望大家看了本篇帖子,能一起完善该组件包wiki,为大家提供更多的便利!
Win7精简注意事项看2楼
下面我跟大家说一下系统DIY工具,分别是MSMG ToolKit,Package_Remover,install_wim_tweak.exe,Export-System-Packages。
MSMG ToolKit(链接:https://pan.baidu.com/s/1eRSKCk6    密码:s7j8)
功能特点:添加/移除组件,APPX,开启/关闭功能,镜像封装,ISO生成,系统优化。
界面:英文界面,下载链接有中文汉化
首次使用请将系统ISO文件拷贝倒工具的ISO文件夹内,然后打开批处理工具,根据工具提示进行操作(那啥我知道你们都是爱折腾的人,自己看看怎么搞吧,我真的不适合写教程)





Package_Remover作者给的教程如下(文件下载: Package_Remover.rar (8.32 KB, 下载次数: 635)
该功能有在线和离线功能,测试每个组件,大家可以在虚拟机下使用在线移除的方式测试每个组件的包名。
1. 列出全部封包 (主封包 + 语言包)

a. 修改 1_Get_Full_Packages.cmd 映像文件夹并保存

比如
set MT=H: (系统以外的分区)
set MT=z:\1 (映像挂载的文件夹)

b. 滑鼠左键双击 1_Get_Full_Packages.cmd

2. 列出主封包

滑鼠左键双击 2_Get_Main_Packages.cmd

3. 列出目标封包

a. 查看 2_Get_Main_Packages.txt 并将目标封包复制/黏贴到 Remove.txt

比如 Adobe-Flash-For-Windows
Adobe-Flash-For-Windows-onecoreuap-Package~31bf3856ad364e35~amd64~~10.0.15063.0.mum
Adobe-Flash-For-Windows-Package~31bf3856ad364e35~amd64~~10.0.15063.0.mum

b. 删除 Remove.txt 内所列封包副文件名 .mum 并保存

比如
Adobe-Flash-For-Windows-onecoreuap-Package~31bf3856ad364e35~amd64~~10.0.15063.0
Adobe-Flash-For-Windows-Package~31bf3856ad364e35~amd64~~10.0.15063.0

4. 移除封包

a. 修改 3_Remove_Offline.cmd 映像挂载文件夹并保存

比如
set MT=H: (系统以外的分区)
set MT=z:\1 (映像挂载的文件夹)

b. 滑鼠右键点击 3_Remove_Offline_RunAsAdmin.cmd, 再用滑鼠左键点击 "以系统管理员身分运行" 开始封包移除
install_wim_tweak.exe(点击下载: install_wim_tweak.rar (18.84 KB, 下载次数: 492)
此工具为命令操作。
以下为官方提供操作教程
install_wim_tweak.exe /?
This will show all available options..

install_wim_tweak.exe /p <MountPath>
This will unhide all the packages in the selected image

install_wim_tweak.exe /o
This will unhide all the packages on the currently installed OS

install_wim_tweak.exe /p <MountPath> /l
This will list all the packages available in the selected image and write them to a text file in the same directory.

install_wim_tweak.exe /o /l
This will list all the packages available on the installed OS and write them to a text file in the same directory.

install_wim_tweaks.exe /p <MountPath> /c Microsoft-Windows-.........
This will just inhide the selected component from the selected image, can also be used with /o. If you add /r at the end it will remove the package.


Changes made from the original version by wnuku

*/h will restore them to default (must use without /h first)
*/n will not create backups (faster)
*/d will not delete owners keys.
*/m is no longer needed, will do the task by default
*/l will output a list of all packages to a text file.
*/o will use currently installed image.
*fixed a bug where it did not work if there was a space in the mountpath.
*/c <PackageName> will un-hide specific package
* using /r with /c will remove the package
*Win32Security.dll file is no longer needed
*Added new colours, errors are displayed in Red
*Fixed bug crashing at end of running
*Fixed bug where it cannot unmount registry if something fails
*Added specific component selection
*Fixed some other bugs
*Added an appropriate small icon for the app

Also normally you will have to put the specific component name i.e.
"/c Microsoft-Hyper-V-Common-Drivers-Package~31bf3856ad364e35~x86~~6.1.7601.17514"
but if for example you put "/c Microsoft-Hyper-V-Common-Drivers-Package" it will show all packages starting with that.
Export-System-Packages(文件下载: Export-System-Packages.zip (191.26 KB, 下载次数: 636)

该工具是一个组件导出工具,可以将在线或者离线挂载的系统组件导出成.cab格式,方便大家制作把移除的组件通过dism命令方式集成回去,使用场景大家想吧(比如LTSB的应用商店)
作者给的操作方法为
1.右键以管理员权限运行Start.cmd
2.会在当前目录下生成一个_Packagelist_Base.txt,双击打开,找到你想提取的组件
假如你想提取出Linux子系统的.cab组件安装包,那么依次输入前面的编号
,依次提取出这几个包
3.完成后,在Output目录下去找到你提取出来.cab包,zh-CN目录下是这个组件的.cab中文包
然后就能用dism或dism++工具集成它到别的系统
4.Done
Have fun.
系统DIY完成后,记得打包测试哦!


作者: soukouzen    时间: 2017-10-12 21:31
本帖最后由 soukouzen 于 2017-10-12 21:33 编辑

Windows由于系统特性,某些包会以隐藏形式不被命令所移除,所以我们需要将隐藏的包显示出来即可
操作方法为修改对应包名的注册表即可。
Windows7的移除要重点注意这个,因为win7的包大多是隐藏形式不能被命令直接移除
作者: soukouzen    时间: 2017-10-12 21:31
3楼占领备用
作者: soukouzen    时间: 2017-10-12 21:32
4楼占领备用
作者: 邪恶海盗    时间: 2017-10-12 21:41
围观,帮顶了...
作者: y7y007    时间: 2017-10-12 22:42
期待更多精简教程,统一精简大业,指日可待!
作者: 尼采1729    时间: 2017-10-12 22:44
这个很难吧/一直有点迷糊
作者: soukouzen    时间: 2017-10-13 00:07
尼采1729 发表于 2017-10-12 22:44
这个很难吧/一直有点迷糊

这个不难,很简单,主要是定位组件比较麻烦,所以做了一个wiki让大家分享完善,以后就可以愉快的DIY了
作者: devilma    时间: 2017-10-13 10:00
谢谢分享!楼主弄得不错!
作者: dony2006    时间: 2017-10-13 13:34
ㄧ○︿
   \   
  √ ﹀
好帖!~我大力的帮你顶起...!

















作者: 2012hc5568892    时间: 2017-10-13 14:36
期待更多精简教程,统一精简大业,指日可待!
作者: JCDN    时间: 2017-10-13 17:10
收藏一下,有时间看看
作者: soukouzen    时间: 2017-10-14 10:49
沉水了
作者: lifei    时间: 2017-10-14 10:58
谢谢分享         很给力!
作者: 测得电流    时间: 2017-10-16 09:58
谢谢楼主分享
作者: hs6688    时间: 2017-10-25 01:20
支持一个,评分再帮顶!
作者: chshrm    时间: 2018-2-22 21:16
大力顶起!
作者: dadaewqq    时间: 2018-3-4 22:31
很棒的资源哦 不错 谢了*^_^*
作者: wangshe    时间: 2018-4-13 16:16
非常实用的教程啊,多谢了。
作者: Black灰    时间: 2018-4-13 17:19
啊哈很棒哦SEO
作者: 令狐大虾    时间: 2018-12-19 02:57
本帖最后由 令狐大虾 于 2018-12-19 03:16 编辑

楼主这叫“撒手不管版”,win7的封包移除既然说是修改对应的注册表,那么具体如何修改怎不做个演示呢。已知"Visibility"=dword:00000001都并无卵用哦
作者: eastmz    时间: 2018-12-19 10:13
给力……感谢分享
作者: 丶陪妳看流星    时间: 2019-1-16 18:07
照着这个教程把32位的edge导出来装到ltsc上试试
作者: stfm12    时间: 2019-12-2 13:02
支持,好贴,实用
作者: fulibo    时间: 2020-1-26 15:57
厉害啊!谢谢分享
作者: gmail123    时间: 2020-1-29 01:21
!楼主弄得不错!
作者: csp85123    时间: 2020-1-29 14:37
支持一下

作者: kabut天    时间: 2020-10-9 22:55
想尝试一下拿出19041的edge安装包
作者: asdfboy2001    时间: 2021-4-27 13:35
实用工具感谢分享
作者: 周迁    时间: 2021-5-13 01:46
用了楼主的win7一段时间了,很不错,能满足我的需求,感谢楼主
作者: linzhi1168    时间: 2021-5-19 21:33
感谢分享
作者: Drownrolic    时间: 2021-6-30 01:24
抱歉,您没有权限下载本附件  Package_Remover.rar   install_wim_tweak.rar  Export-System-Packages.zip  可以分享下吗?  

作者: cbsghost    时间: 2022-8-14 02:18
感谢分享 很实用
作者: dxhjh    时间: 2022-8-14 08:46

谢谢分享
作者: hyh101010    时间: 2023-6-23 13:43
太有效了!!非常感谢!!!
作者: yyz2191958    时间: 2023-6-23 14:06
强大的工具
作者: for2008    时间: 2023-6-23 14:57
没有动手精神的人,就只有坐享其成了。顶起
作者: zhangz9    时间: 2023-6-23 15:19
多谢分享
作者: niitgk    时间: 2024-3-18 12:33
不错,谢谢分享
作者: crt1024x768    时间: 2024-3-18 12:48
看看别人的宝贵经验 谢谢分享
作者: hehuiying    时间: 2024-3-20 14:24
谢谢分享
作者: hehuiying    时间: 2024-3-26 17:40
谢谢分享




欢迎光临 无忧启动论坛 (http://bbs.wuyou.net/) Powered by Discuz! X3.3