Giter Site home page Giter Site logo

windows_cpu_frequency_powercfg_changer's Introduction

WINDOWS_CPU_FREQUENCY_POWERCFG_CHANGER

A tool for limiting max CPU frequency in Windows by changing powercfg settings

  • Useful for laptops
  • Prevents power overuse
  • Prevents overheating during the routine use or downtime
  • Full max CPU frequency control

img

Requirements

  • Windows
  • Python >= 3.8
  • Git (optional)
  • UAC admin rights accessibility

Installation

(Make sure Python is in your system PATH environment variable)

Default installation:

git clone https://github.com/VEGAMETA/WINDOWS_CPU_FREQUENCY_POWERCFG_CHANGER.git
cd WINDOWS_CPU_FREQUENCY_POWERCFG_CHANGER

python -m venv venv
.\venv\Scripts\pip install -r requirements.txt

Running

To run the script you can use (and modify as you want) freq.bat or run by command:

.\venv\Scripts\pythonw .\main.py

or

.\freq

Configuration

Check config.ini and read the comments

Additionally

Turn off any other built-in or other limiter utilities for proper operation.

If you want to run the script hidden in system tray from a start run:

freq.bat -h

To change frequency manually in windows power settings you must unhide PROCFREQMAX attribute by running following command (runs automatically if an attribute was hidden)

powercfg -attributes SUB_PROCESSOR PROCFREQMAX -ATTRIB_HIDE

Make sure that script execution is enabled if you activate the venv in powershell:

Set-ExecutionPolicy -Scope CurrentUser RemoteSigned

This command stops the service, so you can delete OpenHardwareMonitorLib.sys file if you need to:

sc stop WinRing0_1_2_0

Use at your own risk, the developer is not responsible.

windows_cpu_frequency_powercfg_changer's People

Contributors

vegameta avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.