|
本帖最后由 parsons 于 2020-8-15 18:00 编辑
笔记本壓下電源開關可關閉顯示器方法:
1.使用regshot取出的機碼 , 放進 \WimBuilder2-Full.v2020-07-07\Projects\WIN10XPE\02-Apps\7-Zip\7z-Register.reg 裡面
- ;PowerSchemes
- [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Power\User\PowerSchemes\381b4222-f694-41f0-9685-ff5bb260df2e\4f971e89-eebd-4455-a8de-9e59040e7347]
- [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Power\User\PowerSchemes\381b4222-f694-41f0-9685-ff5bb260df2e\4f971e89-eebd-4455-a8de-9e59040e7347\7648efa3-dd9c-4e3e-b566-50f929386280]
- "DCSettingIndex"=dword:00000003
- "ACSettingIndex"=dword:00000004
- [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Power\User\PowerSchemes\381b4222-f694-41f0-9685-ff5bb260df2e\4f971e89-eebd-4455-a8de-9e59040e7347\96996bc0-ad50-47ec-923b-6f41874dd9eb]
- "DCSettingIndex"=dword:00000000
- "ACSettingIndex"=dword:00000000
- [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Power\User\PowerSchemes\8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c\4f971e89-eebd-4455-a8de-9e59040e7347]
- [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Power\User\PowerSchemes\8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c\4f971e89-eebd-4455-a8de-9e59040e7347\7648efa3-dd9c-4e3e-b566-50f929386280]
- "DCSettingIndex"=dword:00000003
- "ACSettingIndex"=dword:00000004
- [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Power\User\PowerSchemes\8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c\4f971e89-eebd-4455-a8de-9e59040e7347\96996bc0-ad50-47ec-923b-6f41874dd9eb]
- "DCSettingIndex"=dword:00000000
- "ACSettingIndex"=dword:00000000
- [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Power\User\PowerSchemes\a1841308-3541-4fab-bc81-f71556f20b4a\4f971e89-eebd-4455-a8de-9e59040e7347]
- [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Power\User\PowerSchemes\a1841308-3541-4fab-bc81-f71556f20b4a\4f971e89-eebd-4455-a8de-9e59040e7347\7648efa3-dd9c-4e3e-b566-50f929386280]
- "DCSettingIndex"=dword:00000003
- "ACSettingIndex"=dword:00000004
- [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Power\User\PowerSchemes\a1841308-3541-4fab-bc81-f71556f20b4a\4f971e89-eebd-4455-a8de-9e59040e7347\96996bc0-ad50-47ec-923b-6f41874dd9eb]
- "DCSettingIndex"=dword:00000000
- "ACSettingIndex"=dword:00000000
复制代码
2. 在 \WimBuilder2-Full.v2020-07-07\Projects\WIN10XPE\_CustomFiles_\PEMaterial\Pecmd.ini 裡面
的PostShell 段最後一行加入:
EXEC =!"%WinDir%\System32\powercfg.exe" /setactive 381b4222-f694-41f0-9685-ff5bb260df2e
New.zip
(2.29 KB, 下载次数: 4)
|
|