- 积分
- 244
- 最后登录
- 2024-1-21
- 精华
- 0
- 阅读权限
- 30
- 主题
- 1
- UID
- 26051
- 帖子
- 131
- PB币
- 265
- 威望
- 32
- 贡献
- 0
- 技术
- 0
- 活跃
- 896
- UID
- 26051
- 帖子
- 131
- PB币
- 265
- 贡献
- 0
- 技术
- 0
- 活跃
- 896
|
发表于 2019-11-3 23:14:43
IP属地陕西
|显示全部楼层
Z:\WimBuilder2\Projects\WIN10XPE\01-Components\BitLocker\main.bat
rem ==========update filesystem==========
rem Explorer BitLocker integration
rem full files
rem call AddFiles "@\Windows\System32\#nbde*.exe,fve*.exe,bde*.dll,fve*.dll,BitLocker*.*,EhStor*.*"
rem unlock ONLY
call AddFiles "@\Windows\System32\#nbdesvc.dll,bdeunlock.exe,fvenotify.exe"
if not "%opt[build.wim]%"=="winre" (
call AddFiles "@\Windows\System32\#nbdeui.dll,fveapi.dll,fvecerts.dll,fveui.dll"
)
if "x%opt[shell.app]%"=="xexplorer" (
rem auto contextmenu
call AddFiles "@\Windows\System32\#nStructuredQuery.dll,Windows.Storage.Search.dll"
)
rem ==========update registry==========
rem call RegCopy HKLM\System\ControlSet001\Services\BDESVC
call RegCopy "HKLM\Software\Classes\Drive\shell\unlock-bde"
reg add "HKLM\Tmp_software\Classes\Drive\shell\unlock-bde" /v "Icon" /d "bdeunlock.exe" /f
|
|
|