Skip to content

Commit e5b1b2a

Browse files
committed
更新第2版
1 parent 326d2a7 commit e5b1b2a

File tree

328 files changed

+13341
-454
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

328 files changed

+13341
-454
lines changed

0_清理.bat

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@echo off
2+
cd /d "%~dp0"
3+
rd /s /Q %~dp0TempFile\apply
File renamed without changes.

生成ISO.bat 11_生成ISO.bat

File renamed without changes.

1_释放WIM镜像.bat

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@echo off
2+
cd /d "%~dp0"
3+
%~dp0Bin\Tools\wimlib\wimlib-imagex.exe apply %~dp0boot.wim 1 %~dp0TempFile\apply

2_挂载配置单元.bat

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@echo off
2+
cd /d "%~dp0"
3+
reg load hklm\pe_def %~dp0TempFile\apply\windows\system32\config\default
4+
reg load hklm\pe_soft %~dp0TempFile\apply\windows\system32\config\software
5+
reg load hklm\pe_sys %~dp0TempFile\apply\windows\system32\config\system
6+
reg load hklm\pe_drv %~dp0TempFile\apply\windows\system32\config\drivers
7+

3_删除无用文件.py

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import sys
2+
import os
3+
运行目录 = os.path.split( os.path.realpath( sys.argv[0] ) )[0] + "\\"
4+
print("正在从删除无用文件")
5+
for line in open(运行目录+"delFiles.txt", "r"): #打开文件
6+
rs = line.rstrip('\n') # 移除行尾换行符
7+
if os.path.isfile(运行目录+"TempFile\\apply\\"+rs):
8+
os.system("del \""+运行目录+"TempFile\\apply\\"+rs+"\" /F /Q")
9+
if os.path.isdir(运行目录+"TempFile\\apply\\"+rs):
10+
os.system("rd \""+运行目录+"TempFile\\apply\\"+rs+"\" /S /Q")

4_添加AddFiles的文件.bat

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@echo off
2+
cd /d "%~dp0"
3+
echo ÕýÔÚÌí¼ÓÎļþ:AddFiles\*
4+
xcopy %~dp0AddFiles %~dp0TempFile\apply /Q /Y /H /R /E

5_导入注册表.bat

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
@echo off
2+
cd /d "%~dp0"
3+
echo 正在导入注册表项
4+
5+
reg import %~dp0Bin\RegistryFiles\SOFT_精简注册表.reg
6+
reg import %~dp0Bin\RegistryFiles\CMD字体和透明.reg
7+
reg import %~dp0Bin\RegistryFiles\HDTunePro.reg
8+
reg import %~dp0Bin\RegistryFiles\Pecmd.ini.reg
9+
reg import %~dp0Bin\RegistryFiles\StartIsBack_浅.reg
10+
reg import %~dp0Bin\RegistryFiles\Windows颜色模式浅.reg
11+
reg import %~dp0Bin\RegistryFiles\打开HotPE模块.reg
12+
reg import %~dp0Bin\RegistryFiles\任务管理器默认详细信息.reg
13+
reg import %~dp0Bin\RegistryFiles\任务栏合并按钮.reg
14+
reg import %~dp0Bin\RegistryFiles\任务栏图标.reg
15+
reg import %~dp0Bin\RegistryFiles\鼠标指针.reg
16+
reg import %~dp0Bin\RegistryFiles\开始菜单不显示搜索.reg
17+
reg import %~dp0Bin\RegistryFiles\开始菜单不显示最近打开项.reg
18+
reg import %~dp0Bin\RegistryFiles\控制面板界面.reg
19+
reg import %~dp0Bin\RegistryFiles\控制面板删除管理工具.reg
20+
reg import %~dp0Bin\RegistryFiles\控制面板删除任务栏和导航.reg
21+
reg import %~dp0Bin\RegistryFiles\控制面板删除设备和打印机.reg
22+
reg import %~dp0Bin\RegistryFiles\控制面板删除无效图标.reg
23+
reg import %~dp0Bin\RegistryFiles\控制面板删除字体.reg
24+
reg import "%~dp0Bin\RegistryFiles\删除右键3D Edit.reg"
25+
reg import %~dp0Bin\RegistryFiles\删除右键包含到库.reg
26+
reg import %~dp0Bin\RegistryFiles\删除右键个性化和显示设置.reg
27+
reg import %~dp0Bin\RegistryFiles\删除右键恢复到之前版本.reg
28+
reg import %~dp0Bin\RegistryFiles\删除右键设为壁纸.reg
29+
reg import %~dp0Bin\RegistryFiles\删除资源管理器内桌面等文件夹.reg
30+
reg import %~dp0Bin\RegistryFiles\视觉效果.reg
31+
reg import %~dp0Bin\RegistryFiles\修复此电脑右键管理.reg
32+
reg import %~dp0Bin\RegistryFiles\隐藏3D对象等文件夹.reg
33+
reg import %~dp0Bin\RegistryFiles\隐藏导航窗格.reg
34+
reg import %~dp0Bin\RegistryFiles\隐藏开始菜单启动和管理工具.reg
35+
reg import %~dp0Bin\RegistryFiles\隐藏映射网络驱动器.reg
36+
reg import %~dp0Bin\RegistryFiles\隐藏3D对象等文件夹.reg
37+
reg import %~dp0Bin\RegistryFiles\电源键默认重启.reg
38+
reg import %~dp0Bin\RegistryFiles\计算机属性.reg
39+
reg import %~dp0Bin\RegistryFiles\绕过TPM检测.reg
40+
reg import %~dp0Bin\RegistryFiles\右键用记事本打开文件.reg
41+
reg import %~dp0Bin\RegistryFiles\右键显示设置.reg
42+
reg import %~dp0Bin\RegistryFiles\HashTab.reg
43+
reg import %~dp0Bin\RegistryFiles\WinX开机动画.reg

6_修改图标.py

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import sys
2+
import os
3+
运行目录 = os.path.split( os.path.realpath( sys.argv[0] ) )[0] + "\\"
4+
print("正在修改图标")
5+
if os.path.exists(运行目录+"TempFile\\apply\\Windows\\System32\\imageres.dll"):
6+
os.system("copy \""+运行目录+"TempFile\\apply\\Windows\System32\\imageres.dll\" \""+运行目录+"Bin\\imageres_dll\\imageres.dll\"")
7+
os.system(运行目录 + "Bin\\imageres_dll\\cmd.bat")
8+
os.system("del "+运行目录+"TempFile\\apply\\windows\\system32\\imageres.dll /F /S /Q")
9+
os.system("del "+运行目录+"TempFile\\apply\\windows\\SysWOW64\\imageres.dll /F /S /Q")
10+
os.system("copy \""+运行目录+"Bin\\imageres_dll\\new_imageres.dll\" \""+运行目录+"TempFile\\apply\\windows\\system32\\imageres.dll\"")
11+
os.system("copy \""+运行目录+"Bin\\imageres_dll\\new_imageres.dll\" \""+运行目录+"TempFile\\apply\\windows\\SysWOW64\\imageres.dll\"")
12+
#os.system("del "+运行目录+"TempFile\\imageres32.dll /F /S /Q")
13+
#os.system("del "+运行目录+"TempFile\\temp_imageres32.dll /F /S /Q")
14+
#os.system("del "+运行目录+"TempFile\\new_imageres32.dll /F /S /Q")

7_加密Pecmd脚本.py

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import sys
2+
import os
3+
def 加密PECMD脚本 (path):
4+
os.system(运行目录+"Bin\Tools\pecmd.exe \"CMPS -bin "+path+","+path+".new\"")
5+
os.remove(path)
6+
os.rename(path+".new",path)
7+
return
8+
运行目录 = os.path.split( os.path.realpath( sys.argv[0] ) )[0] + "\\"
9+
print("正在加密Pecmd脚本文件")
10+
加密PECMD脚本(运行目录+"TempFile\\apply\\windows\\system32\\PECMD.ini")
11+
加密PECMD脚本(运行目录+"TempFile\\apply\\Program Files\\PETools.ini")
12+
#加密PECMD脚本(运行目录+"TempFile\\apply\\Program Files\\RegistryFiles\\Edgeless\\注册Edgeless.ini")

8_破解USB弹出功能文件.bat

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@echo off
2+
cd /d "%~dp0"
3+
echo ÕýÔÚÆƽâUSBµ¯³ö¹¦ÄÜÎļþ
4+
%~dp0Bin\Tools\binmay.exe -u %~dp0TempFile\apply\Windows\System32\DeviceSetupManager.dll\" -s u:SystemSetupInProgress -r u:DisableDeviceSetupMgr
5+
del %~dp0TempFile\apply\Windows\System32\DeviceSetupManager.dll.org

9_卸载配置单元.PY

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
from __future__ import print_function
2+
import ctypes, sys
3+
import os
4+
5+
def is_admin():
6+
try:
7+
return ctypes.windll.shell32.IsUserAnAdmin()
8+
except:
9+
return False
10+
if is_admin():
11+
import sys
12+
import os
13+
def 卸载配置单元 (KeyName):
14+
os.system ("reg unload "+KeyName)
15+
return
16+
17+
卸载配置单元 ("hklm\pe_def")
18+
卸载配置单元 ("hklm\pe_soft")
19+
卸载配置单元 ("hklm\pe_sys")
20+
卸载配置单元 ("hklm\pe_drv")
21+
22+
os.system("del /f /q /ah \"" + 运行目录 + "TempFile\\apply\\Windows\\System32\\config\\*.*\"")
23+
24+
else:
25+
if sys.version_info[0] == 3:
26+
ctypes.windll.shell32.ShellExecuteW(None, "runas", sys.executable, __file__, None, 1)
27+
91.5 KB
Binary file not shown.

AddFiles/Program Files/7-Zip/7z.dll

1.63 MB
Binary file not shown.

AddFiles/Program Files/7-Zip/7z.exe

523 KB
Binary file not shown.

AddFiles/Program Files/7-Zip/7z.reg

28.1 KB
Binary file not shown.

AddFiles/Program Files/7-Zip/7zFM.exe

924 KB
Binary file not shown.

AddFiles/Program Files/7-Zip/7zG.exe

652 KB
Binary file not shown.

AddFiles/Program Files/7z-zs/Lang/zh-cn.txt AddFiles/Program Files/7-Zip/Lang/zh-cn.txt

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
;!@Lang2@!UTF-8!
22
; 2.30 : 2002-09-07 : Modern Tiger, kaZek, Hutu Li
3-
; 3.08 : 2003-08-29 : Tunghsiao Liu (aka. Sparanoid)
4-
; 16.00 : 2016-05-16 : Tunghsiao Liu (aka. Sparanoid)
3+
; 3.08 : 2003-08-29 : Tunghsiao Liu
4+
; 21.03 : 2021-07-21 : Tunghsiao Liu
55
;
66
;
77
;
@@ -241,7 +241,7 @@ iNode
241241
使用大内存页(&L)
242242
2900
243243
关于 7-Zip
244-
7-Zip 是一款自由软件。您可以通过捐赠的方式来支持 7-Zip 的开发。
244+
7-Zip 是一款自由软件
245245
3000
246246
系统无法分配所需内存
247247
未发现错误
@@ -490,6 +490,6 @@ CPU 使用率
490490
7710
491491
链接类型
492492
硬链接
493-
文件符号链接(Symbolic Link)
494-
目录符号链接(Symbolic Link)
495-
目录接合点(Directory Junction)
493+
文件符号链接
494+
目录符号链接
495+
目录连接(Directory Junction)
-160 KB
Binary file not shown.
-130 KB
Binary file not shown.

AddFiles/Program Files/7z-zs/7z.dll

-3.99 MB
Binary file not shown.

AddFiles/Program Files/7z-zs/7z.exe

-451 KB
Binary file not shown.

0 commit comments

Comments
 (0)