High-Performance Windows Process Priority Optimizer & Automated Background Enforcer
Download Executable • Key Features • UI Preview • CLI Usage • How It Works • Build Guide
By default, the Windows scheduler treats demanding 3D games, streaming tools (OBS Studio), digital audio workstations (DAWs), and background browser tabs with identical Normal CPU priority. Whenever background tasks spike, your foreground game or render workload experiences frame drops, audio stutter, and latency spikes.
Crypto90's Process Priority Manager solves this problem permanently. Define custom priority rules (High, Above Normal, etc.) for your critical games and applications once. The built-in Real-Time Auto-Enforce Watcher detects when target processes launch—whether from Steam, Epic, or manual boot—and instantly elevates their Win32 Priority Class in the background.
End-users do not need Python installed. Standalone Windows executables are compiled automatically via GitHub Actions:
| Version | Asset | Direct Download | Platform |
|---|---|---|---|
| v0.2.0 (Latest) | Crypto90s_ProcessPriorityManager.exe |
⬇️ Download v0.2.0 Executable | Windows 10 / 11 (64-bit) |
📁 Browse all versions and changelogs in GitHub Releases.
| A non-blocking background daemon thread continuously monitors system processes and instantly applies target priorities to newly launched games and apps without manual intervention. |
Leverages native Win32 OpenProcess and SetPriorityClass kernel APIs for instantaneous, zero-overhead process priority management.
|
Built-in UAC detection immediately flags protected system processes and provides a one-click Restart as Administrator button (runas).
|
A modern, high-contrast dark palette (#121418 / #1a1d24) with emerald status badges, glowing sort indicators, and zero UI stutter.
|
| Instantly search by Process Name, PID, or Priority. Quick filter toggles let you isolate configured rules (★) or elevated processes with a single click. |
Run headless in the background via --silent --watch or apply priorities once and exit with --apply—ideal for Windows Task Scheduler.
|
Stores configurations safely with portable mode fallback to %LOCALAPPDATA%\Crypto90s_ProcessPriorityManager. Backward-compatible with legacy config formats.
|
Easily toggle automated launch on Windows startup directly from the GUI or CLI via HKCU\Software\Microsoft\Windows\CurrentVersion\Run.
|
Process Priority Manager features a rich CLI interface for terminal power users, Task Scheduler jobs, and batch scripts:
# Apply all configured rules immediately to running processes and exit
python Crypto90s_Process_Priority_Manager.py --apply
# Run headless daemon continuously in the background without opening GUI
python Crypto90s_Process_Priority_Manager.py --silent --watch
# List all saved priority rules
python Crypto90s_Process_Priority_Manager.py --list
# Add or update a priority rule from terminal
python Crypto90s_Process_Priority_Manager.py --set Cyberpunk2077.exe High
# Remove a configured priority rule
python Crypto90s_Process_Priority_Manager.py --remove Cyberpunk2077.exe
# Display version
python Crypto90s_Process_Priority_Manager.py --version
# View all CLI options
python Crypto90s_Process_Priority_Manager.py --help| Flag | Argument | Description |
|---|---|---|
--apply |
None | Applies all saved rules to current processes immediately and exits. |
--silent, --headless |
None | Runs without opening the graphical user interface. |
--watch, --daemon |
None | Runs continuously in the background, auto-prioritizing newly launched processes. |
--list |
None | Prints all currently configured rules to the terminal. |
--set |
PROCESS PRIORITY |
Adds or updates a rule (e.g. --set obs64.exe Above Normal). |
--remove |
PROCESS |
Removes a process from the auto-priority list. |
--version |
None | Displays current software version. |
-h, --help |
None | Prints full usage instructions. |
flowchart TD
A["Launch Process Priority Manager"] --> B{"CLI Flags Provided?"}
B -->|--silent / --apply| C["Execute Headless Engine"]
B -->|Standard| D["Initialize Modern Dark Slate GUI"]
D --> E["Load Config (JSON / Legacy Migration)"]
E --> F["Enumerate System Processes (psutil + Win32)"]
F --> G["Render Interactive Treeview & Status Badges"]
D --> H["Start Background Watcher Thread"]
C --> H
H --> I["Sleep Interval (3.0s)"]
I --> J["Poll Active Processes"]
J --> K{"Process Matches Saved Rule?"}
K -->|No| I
K -->|Yes| L{"Current Priority == Target Priority?"}
L -->|Matches| I
L -->|Differs| M["Win32 OpenProcess & SetPriorityClass"]
M --> N["Log Timestamped Success in Console"]
N --> O["Update Live UI Row"]
O --> I
- Python 3.8+ (Windows 10 or 11 recommended)
- Git
git clone https://github.com/Crypto90/ProcessPriorityManager.git
cd ProcessPriorityManager
pip install -r requirements.txtpython Crypto90s_Process_Priority_Manager.pyYou can compile a standalone .exe using PyInstaller:
Option A (One-Click Windows Script):
Double-click build_exe.bat in the repository root.
Option B (Manual Terminal Command):
pyinstaller --onefile --noconsole --name "Crypto90s_ProcessPriorityManager" Crypto90s_Process_Priority_Manager.pyThe compiled binary will be placed into the dist/ directory:
dist/Crypto90s_ProcessPriorityManager.exe
Configurations are stored in structured, human-readable JSON:
- Portable location: Next to the executable/script if writable (
process_priority_config.json). - Protected directory fallback:
%LOCALAPPDATA%\Crypto90s_ProcessPriorityManager\process_priority_config.json.
{
"version": "v0.2.0",
"priorities": {
"Cyberpunk2077.exe": "High",
"obs64.exe": "Above Normal",
"Discord.exe": "Below Normal"
},
"settings": {
"auto_enforce": true,
"enforce_interval_sec": 3.0,
"run_at_startup": false
}
}Contributions, bug reports, and suggestions are warmly welcomed!
- Fork the repository.
- Create your feature branch (
git checkout -b feature/amazing-feature). - Commit your changes (
git commit -m 'Add amazing feature'). - Push to the branch (
git push origin feature/amazing-feature). - Open a Pull Request.
If Crypto90's Process Priority Manager helps keep your system responsive and your games running smoothly, please consider buying me a coffee:
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.

