- Useful for laptops
- Prevents power overuse
- Prevents overheating during the routine use or downtime
- Full max CPU frequency control
- Windows
- Python >= 3.8
- Git (optional)
- UAC admin rights accessibility
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
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
Check config.ini
and read the comments
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