Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rem by neil78@bilibili
- rem 1. 重置全部电源计划
- powercfg -restoredefaultschemes
- rem 2. 创建一个基于平衡电源计划的游戏计划 (AMD Ryzen, win10)
- powercfg /list
- REM "Game24S"
- REM 复制电源方案 GUID: 381b4222-f694-41f0-9685-ff5bb260df2e (平衡)
- REM powercfg /duplicatescheme 381b4222-f694-41f0-9685-ff5bb260df2e
- SET GUID1=b325ede2-0868-42f8-9321-fbf0629c1c0f
- powercfg /changename %GUID1% "Game24S" "Game_Power_Plans_24S"
- powercfg /S %GUID1%
- REM 基本设置
- Powercfg -setacvalueindex scheme_current sub_processor PROCTHROTTLEMIN 17
- Powercfg -setacvalueindex scheme_current sub_processor PROCTHROTTLEMIN1 17
- Powercfg /setacvalueindex scheme_current sub_processor Perfautonomous 1
- Powercfg /setacvalueindex scheme_current sub_processor PERFEPP 0
- Powercfg /setacvalueindex scheme_current sub_processor PERFEPP1 0
- Powercfg /setacvalueindex scheme_current sub_processor PERFBOOSTMODE 3
- Powercfg -setactive scheme_current
- REM 线程优化
- Powercfg -setacvalueindex scheme_current 54533251-82be-4824-96c1-47b60b740d00 93b8b6dc-0698-4d1c-9ee4-0644e900c85d 2
- Powercfg -setacvalueindex scheme_current 54533251-82be-4824-96c1-47b60b740d00 bae08b81-2d5e-4688-ad6a-13243356654b 4
- Powercfg -setactive scheme_current
- REM 空闲状态
- rem 处理器电源管理\停用已停用性能状态的处理器性能核心
- Powercfg -setacvalueindex scheme_current sub_processor CPPERF 1
- rem 处理器电源管理\针对第 1 类处理器电源效率停用已停用性能状态的处理器性能核心
- Powercfg -setacvalueindex scheme_current sub_processor CPPERF1 2
- Powercfg -setactive scheme_current
- REM USB 相关
- rem USB 设置\Hub Selective Suspend Timeout
- powercfg /setacvalueindex scheme_current 2a737441-1930-4402-8d77-b2bebba308a3 0853a681-27c8-4100-a2fd-82013e970683 1999
- rem USB 设置\USB 3 Link Power Mangement
- powercfg /setacvalueindex scheme_current 2a737441-1930-4402-8d77-b2bebba308a3 d4e98f31-5ffe-4ce1-be31-1b38b384c009 0
- rem To apply changes
- powercfg /setactive SCHEME_CURRENT
Add Comment
Please, Sign In to add comment