Introduce IElevatedTaskService and ElevatedTaskService to manage scheduled-task based elevated launch and autostart. Update App.xaml.cs to bootstrap elevation, attempt managed elevated launch, and handle task registration markers. Refactor AutostartService to delegate autostart operations to the elevated task service, remove legacy registry usage where appropriate, add logging, and update DI registration and unit tests. Remove MSIX packaging support and related tooling: delete build/build-msix.ps1, remove MSIX publish/validation/upload steps from GitHub Actions, drop MSIX-related csproj targets and EnableMsixTooling, and update docs/README/.gitignore to no longer reference MSIX artifacts.
ThreadPilot ✈️ v1.1.1
ThreadPilot is a free and open-source Windows process and power plan manager focused on deterministic performance workflows.
The project targets users who need Process Lasso style capabilities in a modern WPF desktop application with enterprise-grade reliability, security hardening, and automation support.
✨ Key Features
- Process management with live refresh, filtering, and high-volume process handling.
- CPU affinity and priority controls with topology-aware logic.
- I/O and scheduling related tuning utilities.
- Rule-driven power plan switching based on process start/stop events.
- Conditional profiles, system tray controls, and runtime monitoring.
- Windows 11 first-class support; Windows 10 support is best effort.
Screenshots
⚙️ Requirements
- Windows 11 (official support), Windows 10 22H2+ (best effort).
- .NET 8 SDK for source builds.
- Administrator privileges are required only for advanced process and power operations.
📦 Download
Latest artifacts are published on each tagged release in GitHub Releases.
| Package | File name | Recommended use |
|---|---|---|
| Installer (Recommended) | ThreadPilot_v1.1.1_Setup.exe |
Standard Windows installer (Inno Setup) for most users |
| Portable | ThreadPilot_v1.1.1_singlefile_win-x64.zip |
No-install deployment for power users |
Verification example:
Get-FileHash .\ThreadPilot_v1.1.1_Portable.zip -Algorithm SHA256
Install flow summary:
- Download the package matching your deployment model.
- Installer package (recommended): run
ThreadPilot_vX.Y.Z_Setup.exeand complete the wizard. - Portable package: extract ZIP and launch
ThreadPilot.exe.
Notes:
- ThreadPilot runs with a least-privilege manifest (
asInvoker) and requests elevation only for operations that need administrator rights. - If UAC elevation is declined for a privileged action, the application continues running in limited mode.
- In
Power Plans > Custom Power Plans, useAdd .pow Fileto add new custom plans directly from the app. - The first opening of Performance shows a blocking onboarding modal with blurred background for clarity.
Installation
Install from winget:
winget install PrimeBuild.ThreadPilot
Install from Chocolatey:
choco install threadpilot
Direct installer (latest release):
Verify SHA256 before running the installer:
Get-FileHash .\ThreadPilot_v1.1.1_Setup.exe -Algorithm SHA256
Compare the output with SHA256SUMS.txt from the same release.
Build from Source
git clone https://github.com/PrimeBuild-pc/ThreadPilot.git
cd ThreadPilot
dotnet restore ThreadPilot_1.sln
dotnet build ThreadPilot_1.sln --configuration Release
dotnet run --project ThreadPilot.csproj --configuration Release
Useful startup arguments:
- --start-minimized
- --autostart
- --test
- --smoke-test
Usage Examples
Run integrated runtime tests:
dotnet run --project ThreadPilot.csproj --configuration Release -- --test
Publish a self-contained build:
dotnet publish ThreadPilot.csproj --configuration Release --runtime win-x64 --self-contained true
Build release artifacts via script:
./build/build-release.ps1
Quality and Security
- CI validates build, formatting, analyzers, vulnerability checks, and secret scanning.
- Security disclosures are handled through private GitHub advisories. See docs/SECURITY.md.
- Change history is tracked in docs/CHANGELOG.md.
Comparison with Process Lasso
| Capability | ThreadPilot | Process Lasso |
|---|---|---|
| Open source | Yes (AGPL v3) | No |
| Rule-based power plan switching | Yes | Yes |
| CPU affinity and priority controls | Yes | Yes |
| Modern Windows 11 Fluent UI | Yes | Partial |
| Scriptable CI release artifacts | Yes | Not applicable |
| Package manager distribution | winget + Chocolatey | Varies by edition |
Repository Docs
- docs/README.md
- docs/RELEASE_SIGNING.md
- docs/reference/ARCHITECTURE_GUIDE.md
- docs/reference/API_REFERENCE.md
- docs/reference/DEVELOPER_GUIDE.md
- docs/reference/PROJECT_STRUCTURE.md
- docs/reference/UI_STYLE_GUIDE.md
- docs/release/PACKAGING.md
Contributing
See docs/CONTRIBUTING.md and docs/CODE_OF_CONDUCT.md before opening pull requests.
🛠️ Roadmap
- Expand dedicated unit and integration coverage for core services.
- Continue async reliability refactoring for long-running monitoring paths.
- Improve accessibility and localization readiness in all major views.
- Formalize release signing and distribution hardening.
📄 License
Licensed under GNU Affero General Public License v3.0. See LICENSE.
📞 Support
Made with love for Windows power users☕ PayPal.me
