How tomytate/win-debloat works
Win-Debloat is a PowerShell framework for Windows debloating, optimization, privacy, and hardening, with GUI and terminal interfaces. The user workflow is to launch the app with administrator privileges, choose or configure system changes, and apply them with encrypted snapshots intended to support rollback. README capabilities identify profiles, logging, software installation, networking, repair, and enterprise deployment. The launcher-to-script links are visible in source; most module-level wiring is unsampled, so those links are not inferred.
Main entry points: Launcher.cs Folder launcher · LauncherEmbed.cs Embedded launcher · Config.psm1 Configuration · State.psm1 Snapshots and rollback
Components 21
Entry and interface
- Folder launcher
src/core/Launcher.cs - Embedded launcher
src/core/LauncherEmbed.cs - PowerShell application
Win-Debloat.ps1 - WPF interface
src/ui/gui/GUI.psm1 - Terminal menu
src/ui/Menu.psm1
Configuration and state
- YAML profiles
profiles - Configuration
src/core/Config.psm1 - Snapshots and rollback
src/core/State.psm1 - Structured logging
src/core/Logger.psm1 - Registry operations
src/core/Registry.psm1 - System state
src/core/SystemState.psm1
Windows operations
- Bloatware removal
src/modules/Bloatware/Bloatware.psm1 - Performance tuning
src/modules/Performance - Network and DNS
src/modules/Network/Network.psm1 - Software catalog
src/modules/Software/Software.psm1 - Repair and maintenance
src/modules/Repair/Repair.psm1
Privacy and security
- Privacy controls
src/modules/Privacy/Privacy.psm1 - Security hardening
src/modules/Security/Security.psm1 - Sysprep deployment
src/core/Sysprep.psm1
Other components
- Administrator
- Windows system
Connections 17
- Administrator → Folder launcher: runs as admin
README.md - Administrator → Embedded launcher: runs as admin
README.md - Folder launcher → PowerShell application: launches script
src/core/Launcher.cs - Embedded launcher → PowerShell application: launches payload
src/core/LauncherEmbed.cs - Administrator → WPF interface: uses interface
README.md - Administrator → Terminal menu: uses interface
README.md - YAML profiles → Configuration: configure changes
README.md - Configuration → Snapshots and rollback: snapshot before changes
README.md - Snapshots and rollback → Windows system: restore state
README.md - Bloatware removal → Windows system: remove apps
README.md - Performance tuning → Windows system: optimize system
README.md - Network and DNS → Windows system: configure networking
README.md - Software catalog → Windows system: install software
README.md - Repair and maintenance → Windows system: repair system
README.md - Privacy controls → Windows system: reduce telemetry
README.md - Security hardening → Windows system: harden system
README.md - Sysprep deployment → Windows system: prepare deployment
README.md