Windows Maintenance is a Windows 10/11 administrative toolkit that combines cleanup, repair, privacy hardening, debloat, and performance tuning in one guided interface.
The project is designed to be practical for real systems:
- Safe-by-default baseline actions are prioritised.
- Heavier or repair-focused tasks are available but optional.
- Complete runs are guided by a planner with preset profiles and per-task explanations.
- Windows 10 or Windows 11
- Administrator privileges
- PowerShell execution allowed for the session
- Run as Administrator.
- If execution policy blocks scripts, use:
Set-ExecutionPolicy Bypass -Force - Launch using either:
RunMaintenance.bat(easiest)WindowsMaintenance.ps1in elevated PowerShell
Note: execution policy changes are often reverted by system policy or at reboot, depending on your environment configuration.
- Windows Install Cleanup (Windows 10/11 aware)
- Reinstall Default Apps (restore removed inbox apps)
- Uninstall OneDrive
- System Cleaner
- Delete Old User Profiles (DelProf2)
- User Profile Temp Cleaner
- DISM health scan and repair
- System File Checker (SFC)
- Disk check and repair
- Disk optimisation / defragmentation workflow
- Performance tuning controls
- Privacy hardening controls
- Service and scheduled task reduction
- RAM footprint tuning (safe and advanced modes)
- UI cleanup (including widgets/feed-style surfaces)
- Optional Windows AI feature disablement
The troubleshooting module includes guided routines for common issues such as:
- Internet/network faults
- Windows Update faults
- Microsoft Store faults
- Max path policy adjustments
- Selected update error remediation flows
The Complete PC Setup workflow opens a planner before any actions run.
Key behaviours:
- Recommended tasks are pre-selected.
- Optional/repair-heavy tasks are left unticked by default.
- Selecting a task shows detailed explanation and expected impact.
- Optional Windows AI disablement is available and clearly described.
-
Minimal- Light cleanup and baseline optimisation.
- Avoids repair-heavy or broad-impact changes.
-
Optimal(recommended)- Balanced everyday profile for debloat, privacy, and responsiveness.
- Intended for most personal systems.
-
Aggressive- Wider repair/tuning coverage and deeper policy hardening.
- Longer runtime and stronger impact warnings.
Preset selection also sets optimisation depth (minimal, optimal, aggressive) for profile-driven deep tuning during automated runs.
When enabled, the tool applies policy/configuration changes to disable AI-related Windows surfaces, including Copilot- and cloud-assisted AI/search paths where supported by the host build and policy scope.
This option is explicitly optional and can be left off.
Scripts/CustomChanges.ps1 is provided for bespoke local changes and testing.
If you add custom workflows, ensure they are wired into the main launcher UI if you want them exposed to end users.
- PowerShell: https://docs.microsoft.com/en-us/powershell/
- DelProf2 by Helge Klein: https://helgeklein.com/free-tools/delprof2-user-profile-deletion-tool/
This repository is licensed under GNU terms as provided in the project licence file.