Noktomezo

Disable CPU C-States

Feb 1st, 2025 (edited)
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Winbatch 2.68 KB | Source Code | 0 0
  1. :: ─────────────────────────────────────────────────────────────────────────────
  2. :: 🌞 DISABLE CPU C-STATES
  3. :: ─────────────────────────────────────────────────────────────────────────────
  4. :: 📖 Disables processor "idle" states, which reduces the number of stutters
  5. :: ─────────────────────────────────────────────────────────────────────────────
  6. :: ⚠️ Increases power consumption and reduces battery life on laptops
  7. :: ⚠️ RESTART IS REQUIRED
  8. :: ─────────────────────────────────────────────────────────────────────────────
  9. :: ©️ Copy & Paste it to your own .cmd/.bat file
  10. :: ─────────────────────────────────────────────────────────────────────────────
  11.  
  12.  
  13.  
  14. :: 📜 SCRIPT
  15. :: ─────────────────────────────────────────────────────────────────────────────
  16.  
  17. reg add "HKLM\SYSTEM\ControlSet001\Control\Class\{4D36E968-E325-11CE-BFC1-08002BE10318}\0000" /v "AllowDeepCStates" /t REG_DWORD /d "0" /f
  18.  
  19. :: ─────────────────────────────────────────────────────────────────────────────
  20.  
  21.  
  22.  
  23. :: 🔁 RESTORE DEFAULT VALUES
  24. :: ─────────────────────────────────────────────────────────────────────────────
  25.  
  26. reg add "HKLM\SYSTEM\ControlSet001\Control\Class\{4D36E968-E325-11CE-BFC1-08002BE10318}\0000" /v "AllowDeepCStates" /t REG_DWORD /d "1" /f
  27.  
  28. :: ─────────────────────────────────────────────────────────────────────────────
Advertisement
Add Comment
Please, Sign In to add comment