diff --git a/windows-setup.bat b/windows-setup.bat index f001b4f..1789490 100644 --- a/windows-setup.bat +++ b/windows-setup.bat @@ -19,7 +19,7 @@ rem echo a | find "a" rem 使用高性能模式 rem https://learn.microsoft.com/windows-hardware/manufacture/desktop/capture-and-apply-windows-using-a-single-wim rem win8 pe 没有 powercfg -call powercfg /s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 2>nul +powercfg /s SCHEME_MIN 2>nul rem 安装 SCSI 驱动 if exist X:\drivers\ ( diff --git a/windows.xml b/windows.xml index cfc2754..c6faada 100644 --- a/windows.xml +++ b/windows.xml @@ -64,24 +64,31 @@ - + https://support.huaweicloud.com/usermanual-ims/zh-cn_topic_0047501112.html + powercfg /aliases 能显示 GUID/名称 的对应关系,vista 也能使用名称 --> 1 - powercfg /setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 7516b95f-f776-4464-8c53-06167f40cc99 3c0bc021-c8a8-4e07-a973-6b14cbcb2b7e 0 + powercfg /setacvalueindex SCHEME_BALANCED SUB_VIDEO VIDEOIDLE 0 2 - powercfg /setacvalueindex 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 7516b95f-f776-4464-8c53-06167f40cc99 3c0bc021-c8a8-4e07-a973-6b14cbcb2b7e 0 + powercfg /setacvalueindex SCHEME_MIN SUB_VIDEO VIDEOIDLE 0 3 - powercfg /setacvalueindex a1841308-3541-4fab-bc81-f71556f20b4a 7516b95f-f776-4464-8c53-06167f40cc99 3c0bc021-c8a8-4e07-a973-6b14cbcb2b7e 0 + powercfg /setacvalueindex SCHEME_MAX SUB_VIDEO VIDEOIDLE 0 + + + + 4 + powercfg /setactive SCHEME_MIN - 4 + 5 @@ -91,7 +98,7 @@ - 5 + 6 reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ReserveManager /v ShippedWithReserves /t REG_DWORD /d 0 /f