add 01-Components/00-KK-System Tools

This commit is contained in:
slore 2025-01-31 15:39:11 +08:00
parent aebb0435c7
commit d9832f77ce
14 changed files with 56 additions and 24 deletions

View File

@ -0,0 +1,38 @@
if "x%opt[component.MMC]%"=="xtrue" (
call ApplyPatch "..\MMC"
)
if "x%opt[component.taskmgr]%"=="xtrue" (
call AddFiles %0 :[TaskManager]
)
if "x%opt[component.resmon]%"=="xtrue" (
call AddFiles %0 :[ResMon]
)
if "x%opt[component.bitlocker]%"=="xtrue" (
call ApplyPatch "..\BitLocker"
)
goto :EOF
:[TaskManager]
@\Windows\System32\
pdh.dll,d3d12.dll
TaskManagerDataLayer.dll
taskmgr.exe
;already in winre.wim
Windows.Web.dll
goto :EOF
:[ResMon]
@\Windows\System32\
pdhui.dll
perf*.dll,perf*.exe
perfmon.msc
pla.dll
wdc.dll
resmon.exe
goto :EOF

View File

@ -0,0 +1,18 @@
<div style="margin:10px 5px;font-size:1.2em;">
<fieldset>
<legend><label><input type="checkbox" name="component.MMC" class="opt_item" />MMC Components</label></legend>
<div style="margin-left:20px;font-size:1.0em;">
<li>Computer Management</li>
<li>Device Manager</li>
<li>Disk Management</li>
<li>Services</li>
</div>
</fieldset>
<br/>
<label><input type="checkbox" name="component.taskmgr" class="opt_item"> Taskmgr</label></legend>
<br/>
<label><input type="checkbox" name="component.resmon" class="opt_item"> Resource Monitor</label>
<br/>
<label><input type="checkbox" name="component.bitlocker" class="opt_item"> BitLocker</label>
<br/>
</div>

View File

@ -1,19 +1,7 @@
if "x%opt[component.taskmgr]%"=="xtrue" (
call AddFiles "pdh.dll,d3d12.dll,TaskManagerDataLayer.dll,taskmgr.exe"
)
if "x%opt[component.bitlocker]%"=="xtrue" (
call ApplyPatch ".\BitLocker"
)
if "x%opt[component.DWM]%"=="xtrue" (
call ApplyPatch ".\DWM"
)
if "x%opt[component.MMC]%"=="xtrue" (
call ApplyPatch ".\MMC"
)
if "x%opt[component.search]%"=="xtrue" (
call ApplyPatch ".\Search"
)

View File

@ -1,17 +1,5 @@
<div style="margin:10px 5px;font-size:1.2em;">
<fieldset>
<legend><label><input type="checkbox" name="component.MMC" class="opt_item" />MMC Components</label></legend>
<div style="margin-left:20px;font-size:1.0em;">
<li>Computer Management</li>
<li>Device Manager</li>
<li>Disk Management</li>
<li>Services</li>
</div>
</fieldset>
<br/>
<label><input type="checkbox" name="component.DWM" class="opt_item"> DWM</label><br/>
<label><input type="checkbox" name="component.taskmgr" class="opt_item"> Taskmgr</label><br/>
<label><input type="checkbox" name="component.bitlocker" class="opt_item"> BitLocker</label><br/>
<label><input type="checkbox" name="component.search" class="opt_item"> Search</label><br/>
<br/>
<label><input type="checkbox" name="patch.drvinst" class="opt_item"> Disable driver signature verification</label>