A comprehensive, modular Windows 10/11 optimization and productivity toolkit that automates system tweaks, software installation, and configuration tasks.
This toolkit has been completely redesigned with a modular, scalable architecture:
windows-automation-toolkit/
├── src/
│ ├── __init__.py
│ ├── config/
│ │ ├── __init__.py
│ │ └── settings.py # Configuration settings
│ ├── utils/
│ │ ├── __init__.py
│ │ └── system.py # Core system utilities
│ └── modules/
│ ├── __init__.py
│ ├── debloat.py # Windows debloat & tweaks
│ ├── settings.py # Windows settings & run commands
│ ├── power.py # Power management
│ ├── installer.py # App installation
│ ├── ai_tools.py # AI tools installation
│ └── autohotkey.py # AutoHotKey management
├── main.py # Main entry point
├── setup.py # Package setup
├── requirements.txt # Dependencies
├── .gitignore # Git ignore file
└── README.md # This file
- Administrator Detection: Automatically detects and requests admin privileges
- Modular Architecture: Each feature is a separate, extensible module
- Safety Confirmations: User confirmation before all system operations
- Error Handling: Comprehensive error handling with clear status messages
-
Windows Debloat & Tweaks (
debloat.py)- Win11Debloat (raphi.re)
- Debloat11 (git.io)
- Windows Tweaks (christitus.com)
- Windows Activation (get.activated.win)
-
Windows Settings & Run Commands (
settings.py)- Performance Options
- System Properties
- Power Options
- Programs and Features
- Network Connections
-
Power Management (
power.py)- Ultimate Performance plan unlocker
- Power plan switching
- Custom power plan creation
- Power plan import/export
-
App Installer (
installer.py)- Winget-based app installation
- Batch installation support
- App status checking
- Custom app management
-
AI Tools Installer (
ai_tools.py)- OpenCode AI
- Qwen Code CLI
- iFlow CLI
- npm package management
-
AutoHotKey Manager (
autohotkey.py)- AutoHotKey installation
- Script creation and management
- Startup integration
- Script status monitoring
- Windows 10/11
- Python 3.10+
- Administrator privileges (recommended)
- Internet connection (for downloads)
- Windows Package Manager (winget) - for app installation
-
Clone or download this repository
-
Install required Python packages:
pip install -r requirements.txt
-
Run the toolkit:
python main.py
The toolkit features a clean menu-driven interface:
- Launch: Run
python main.py - Admin Check: Toolkit will detect admin privileges and offer to relaunch
- Main Menu: Choose from 6 main modules
- Module Menus: Each module has its own submenu with specific options
- Confirmation: All operations require user confirmation
- Feedback: Clear success/failure messages with indicators
The modular architecture makes it easy to add new functionality:
- Create a new file in
src/modules/ - Inherit from base patterns in existing modules
- Import and initialize in
main.py - Add menu option to
UI_CONFIGinsettings.py
- Add settings to
src/config/settings.py - Import in your module
- Use configuration instead of hardcoded values
- Add utility functions to
src/utils/system.py - Make them available to all modules
The included AutoHotKey script provides:
- F3 → Left Mouse Button: Full mouse control using F3 key
- Middle Mouse → Back: Browser back navigation with middle mouse button
Script location: Documents\AutoHotKey\automation.ahk
- Modular Loading: Only load modules when needed
- Efficient Commands: Optimized PowerShell and subprocess calls
- Timeout Handling: Prevent hanging operations
- Memory Management: Clean resource handling
- User Confirmation: All system operations require explicit consent
- Command Transparency: Shows commands before execution
- Error Handling: Graceful error handling with clear messages
- Non-Destructive: No permanent changes without user consent
- Rollback Support: Easy to undo changes where possible
The modular structure makes testing easier:
# Test individual modules
python -c "from src.modules.debloat import WindowsDebloat; print('Debloat module works')"
# Test configuration
python -c "from src.config.settings import UI_CONFIG; print('Config works')"
# Test utilities
python -c "from src.utils.system import SystemUtils; print('Utils work')"The modular architecture allows for easy updates:
- Module Updates: Update individual modules without affecting others
- Configuration Updates: Centralized configuration management
- Dependency Management: Clear dependency structure
This toolkit is provided for educational and personal use. Use at your own risk.
The modular structure makes contributions easy:
- Fork the repository
- Create a new branch for your feature
- Add or modify modules in
src/modules/ - Update configuration if needed
- Test your changes
- Submit a pull request
- Winget not found: Install Windows Package Manager from Microsoft Store
- PowerShell scripts blocked: Run as administrator for proper execution
- Node.js required: Install Node.js via Essential Apps installer before AI tools
- Module import errors: Check Python path and ensure all
__init__.pyfiles exist
- v2.0.0: Complete modular rewrite with scalable architecture
- v1.0.0: Original monolithic implementation