A lightweight, standalone Windows utility written in PowerShell to automatically set CPU affinity for specified applications. This tool helps prevent certain games or apps (like CS2) from using CPU 0, which can sometimes cause stuttering or performance issues.
The application features a modern dark UI, runs in the system tray, and starts automatically with Windows.
- Dark Mode UI: Easy on the eyes.
- System Tray Icon: Minimizes to the tray for unobtrusive background operation.
- Dynamic Process List: Add or remove any process executable (
.exe) on the fly. - Persistent Configuration: Your process list is saved to a
processes.jsonfile. - Start with Windows: A convenient option to launch the app automatically on system startup.
- Silent Launcher: Comes with a
.batlauncher to start the app without a console window. - Custom Icon: Features a unique icon for easy identification.
- Download: Grab the
CoreZeroExcluder.ps1andCoreZeroExcluder.batfiles from this repository. Keep them in the same folder. - Run: Double-click the
CoreZeroExcluder.batfile to start the application. The GUI will appear without any extra console window.- Note: You may need to run it as an Administrator the first time to enable process monitoring and to create the startup shortcut.
- Configure:
- Enter a process name (e.g.,
cs2.exe) in the input box and click "Add". - To remove a process, select it from the list and click "Remove Selected".
- Check the "Start with Windows" box to have the application launch automatically on login.
- Enter a process name (e.g.,
The application will now run in the background. When it detects a newly launched process from your list, it will automatically adjust its CPU affinity to exclude Core 0.
- Windows 10 / 11
- PowerShell 5.1 or later (pre-installed on modern Windows systems).
This project is licensed under the MIT License. See the LICENSE file for details.