A modern Python Textual TUI for Windows system administration. Features a rich terminal interface with live system monitoring, categorized tools, and Deep Freeze integration.
# Download MTCP.exe from GitHub Releases
# Run as Administrator# Clone repository
git clone https://github.com/TA-Softies/mtcp.git
cd mtcp/ROOT
# Run launcher (handles everything automatically)
.\Launch.ps1The launcher will:
- Check for
MTCP.exeโ run directly - Download latest release from GitHub
- Fall back to Python mode (creates venv, installs dependencies)
- System info: hostname, domain, model, Windows version
- Network status: WiFi/Ethernet, IP address, connectivity
- Deep Freeze status: FROZEN/THAWED/Not Installed
- Boot time and uptime tracking
- CPU usage percentage
- RAM usage (used/total GB)
- Disk usage (used/total GB)
- Network connectivity status
| Category | Tools |
|---|---|
| Troubleshooting | SFC, DISM, Event Viewer, Check Disk, Network diagnostics |
| Maintenance | Disk cleanup, Windows Update, System optimization |
| System Tools | Advanced utilities, PowerShell scripts |
- Automatic status detection via
DFC.exe - Quick toggle with hotkey [D]
- Supports FROZEN โ THAWED states
- Password-protected operations
- Downloads from GitHub Releases
- Standalone
.exedistribution - Background update checks
- OS: Windows 10 or Windows 11
- Python: 3.10 or higher (auto-installed by launcher if missing)
- Privileges: Administrator rights required
- Internet: Optional (required for updates/release download)
- Download
MTCP.exefrom GitHub Releases - Place in
ROOT/folder alongsidesfu-tools/ - Run as Administrator
cd ROOT
.\Launch.ps1 # Handles venv creation and dependenciescd ROOT
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r mtcp/requirements.txt
python -m mtcp| Key | Action |
|---|---|
โ / โ |
Navigate menu items |
Enter / โ |
Select/Execute |
Esc / โ |
Go back |
W |
Quick wallpaper change |
D |
Toggle Deep Freeze |
/ |
Command mode |
F1 |
Help screen |
Q / E |
Exit |
| Command | Action |
|---|---|
/help |
Show help screen |
/credits |
Show credits |
/debug |
Debug information |
/update |
Check for updates |
/exit |
Exit application |
Main Menu
โโ [CAT] Troubleshooting
โ โโ [SUB] System
โ โ โโ System File Checker
โ โโ [SUB] Disk
โ โโ [SUB] Network
โโ [CAT] Maintenance
โโ [CAT] System Tools
Edit ROOT/sfu-tools/config.json to customize tools and categories.
-
Create your PowerShell script in
ROOT/sfu-tools/# My-CustomTool.ps1 Write-Host "Running custom tool..." -ForegroundColor Green
-
Add to
config.json:{ "name": "My Custom Tool", "description": "What it does", "command": "& '$PSScriptRoot\\sfu-tools\\My-CustomTool.ps1'" } -
Restart MTCP to see your new tool
MTCP integrates with Faronics Deep Freeze:
- Automatic status detection via
DFC.exe - Toggle states: FROZEN โ THAWED
- Dedicated screen with Y/N/Esc controls
- Supports DFC commands:
/BOOTFROZEN- Restart frozen/BOOTTHAWED- Restart thawed
cd ROOT
pip install pyinstaller
pyinstaller mtcp.spec --noconfirm
# Output: dist/MTCP.exeSFU-TOOLS/ # Git repository root
โโโ .github/workflows/build.yml # CI/CD workflow
โโโ .gitignore # Git exclusions
โโโ README.md # This file
โโโ LICENSE # MIT License
โโโ ROOT/ # MTCP application
โโโ Launch.ps1 # Smart launcher
โโโ mtcp.spec # PyInstaller spec
โโโ mtcp/ # Python package
โ โโโ __main__.py # Entry point
โ โโโ app.py # Main Textual app
โ โโโ screens.py # Modal screens
โ โโโ sysinfo.py # System info (WMI)
โ โโโ tools.py # Tool execution
โ โโโ theme.tcss # CSS theme
โ โโโ requirements.txt # Dependencies
โ โโโ icons/ # App icons
โโโ sfu-tools/ # Tool scripts
โโโ config.json # Configuration
โโโ Toggle-DeepFreeze.ps1 # DF toggle
โโโ Invoke-CheckDisk.ps1 # Disk checker
โโโ [custom scripts...] # Your tools
- Requires administrator privileges
- WMI used for system information
- No credential persistence
- Releases distributed via GitHub
"Script cannot be loaded"
# Run as Administrator:
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope ProcessDeep Freeze status shows "Not Installed"
- Check if
C:\Windows\SysWOW64\DFC.exeexists - Verify Deep Freeze is properly installed
Python not found
- Run
Launch.ps1- it will auto-install Python 3.12 - Or manually install from python.org
Window rendering issues
- Use Windows Terminal for best results
- Ensure terminal supports UTF-8
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
cd ROOT
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r mtcp/requirements.txt
pip install pyinstaller # For building
python -m mtcp # Run from source- Migrated from PowerShell to Python Textual TUI
- Added live monitoring panel (CPU, RAM, Disk, Network)
- Modern terminal UI with CSS theming
- Standalone .exe distribution via PyInstaller
- GitHub Actions CI/CD for automated builds
- Smart launcher with release download
- Initial PowerShell-based release
- Interactive menu interface
- Deep Freeze integration
- Auto-update system
This project is licensed under the MIT License - see the LICENSE file for details.
Technical Assistants - A Simon Fraser University Student Organization
- Meesum Ahmed - Lead Developer
- TA-Softies Team - Contributors and Maintainers
- Repository: https://github.com/TA-Softies/mtcp
- Issues: https://github.com/TA-Softies/mtcp/issues
- Releases: https://github.com/TA-Softies/mtcp/releases
For support, please:
- Check the Troubleshooting section
- Search existing Issues
- Create a new issue with detailed information
If you find this project useful, please consider giving it a star on GitHub!
Made with โค๏ธ by Technical Assistants