System Repair Toolkit is a comprehensive command-line utility designed to diagnose, repair, and maintain various system issues on Windows and Linux operating systems. Built in Rust for performance and reliability, this tool provides automated repairs for common hardware and software problems, system maintenance tasks, and advanced diagnostic commands.
Version: 1.0.0
The vision of System Repair Toolkit is to create a unified, cross-platform solution that empowers users—from casual home users to IT professionals—to quickly identify and resolve system issues without needing deep technical expertise. By leveraging modern Rust capabilities, we aim to provide:
- Accessibility: Simple, intuitive interface with guided repairs.
- Efficiency: Fast diagnostics and automated fixes to minimize downtime.
- Extensibility: Modular design allowing easy addition of new repair modules and platform support.
- Reliability: Robust error handling and logging for trustworthy operations.
- Future Goals: Expand to more OS platforms, integrate AI-driven diagnostics, and provide web-based interfaces for remote management.
We envision this toolkit becoming an essential part of every system administrator's arsenal, reducing the need for multiple specialized tools and streamlining the repair process.
- Bluetooth & WiFi: Detect and restart wireless services.
- Audio: Identify audio devices and restart audio services.
- Disk Management: Analyze disk usage and perform cleanup.
- System Analysis: Check CPU, memory, firewall status, and system updates.
- Maintenance: Clear temporary files and analyze startup programs.
- RAM Health: Monitor and report on memory usage.
- System File Checker (SFC /scannow)
- DISM Restore Health
- Check Disk (chkdsk) repair
- Boot sector fixes (bootrec)
- Service restarts (e.g., Cryptographic Services)
- Startup Repair
- Registry Editor launch
- Configuration Management: Customizable settings for automation, verbosity, and more, stored in TOML format.
- Progress Indicators: Visual progress bars for long-running operations.
- Logging: Detailed logging with configurable levels using env_logger.
- Asynchronous Operations: Powered by Tokio for efficient concurrent tasks.
- Error Handling: Comprehensive error management with anyhow and thiserror.
- Rust and Cargo (latest stable version recommended)
- For Windows: Administrative privileges for some repairs
- For Linux: Appropriate permissions for system commands
-
Clone the repository:
git clone https://github.com/ChukwuemekaP1/system-repair-toolkit.git cd system-repair-toolkit -
Build the project:
cargo build --release -
Run the executable:
./target/release/system-repair-toolkit
The toolkit relies on the following crates:
colored: For colored terminal outputindicatif: Progress bars and spinnerssysinfo: System information gatheringtokio: Asynchronous runtimelog&env_logger: Logging facilitiesserde&toml: Configuration handlinganyhow&thiserror: Error managementchrono: Date and time utilitiesregex: Regular expression support
Install dependencies via Cargo:
cargo install
-
Run the toolkit:
cargo run -
Follow the interactive menu:
- Select repair categories (e.g., Hardware Repairs, System Maintenance)
- Choose specific issues to diagnose and fix
- Use advanced commands for in-depth repairs
Example:
SYSTEM REPAIR TOOLKIT v1.0
1. Repair Hardware Issues
2. System Maintenance
3. Advanced Commands
4. Exit
Enter your choice:
Edit config.toml in the project root to customize behavior:
auto_restart = true
verbose = true
log_level = "info"
confirm_actions = true
timeout_seconds = 30
show_progress = true
max_retries = 3- Initialization: Loads configuration and sets up logging.
- Main Loop: Displays menu and processes user input.
- Repair Dispatch: Uses
RepairCoordinatorto route issues to specific modules. - Execution: Performs diagnostics, shows progress, and applies fixes.
- Advanced Mode: Executes OS-specific commands with verification.
The toolkit uses sysinfo for real-time system monitoring and tokio for asynchronous operations, ensuring non-blocking repairs.
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Please ensure your code follows Rust best practices and includes tests where applicable.
This project is licensed under the MIT License - see the LICENSE file for details.
For more information, visit our documentation or contact the maintainers.


