Skip to content

Releases: 5cover/WinClean

1.3.1

02 Dec 18:55
Compare
Choose a tag to compare

This minor update brings new features and scripts, and fixes many of the issues and shortcomings of the previous versions.

Most notable changes include:

  • Bugfixes
  • Script fixes
  • UI and localization improvements

Improvements

  • Added script execution icon for skipped scripts
  • Asynchronous script loading
  • Clicking the Stop button during script execution now closes the wizard
  • Improved script execution icons
  • More logging
  • No more incompatible script warning message when no script is selected
  • Proper pluralization in UI texts
  • Restored administrator permissions requirement as a temporary workaround for managing script permission requirements until a better solution is found

New features

  • Added a Report issue... menu item to the Help menu
  • Added a setting to force execution of effective scripts
  • Copy from the script output text box
  • Scripts are now highlighted based on their safety level in the script execution wizard, like in the main window
  • The wizard title bar close button is no longer disabled during script execution

Scripts

  • Added a script action execution ordering system. Each script action is associated to an integer order (0 by default). They are executed in ascending order.
  • Added script "Disable UAC prompt desktop dimming"
  • Added script "Run Service Pack cleanup"
  • Added source and license URLs where appropriate as a temporary workaround for referencing script source, license and author and respecting copyright until a better solution is found. More information in the Scripts wiki page.
  • Added verbose output arguments where relevant
  • Fixed script "Disable delivery optimization"
  • Fixed script "Remove Cortana"
  • Fixed script "Restore classic Windows Photo Viewer": fixed detection
  • Improved script "Delete junk files" : no longer tries to delete folders
  • Improved script "Remove Microsoft Edge": removed useless 3 second timeout
  • Improved script "Remove useless apps" : added more apps and indicated which apps are deleted in the description
  • Improved script "Schedule Check Disk utility": now works with all volumes
  • Removed script "Remove Microsoft Print to PDF"
  • Scripts actions can now have a list of successful exit codes. Those are the exit codes of the host process to consider successful. Only 0 is considered successful by default.
  • Scripts are now executed with the "High" process priority class

Bugs

  • Fixed del command in Batch scripts prompting for confirmation causing some scripts to never terminate
  • Fixed aborting a script after its completion causing an unhandled exception
  • Fixed assertions on expressions with side effects not executing in release mode causing scripts not to be removed properly
  • Fixed concurrency issues caused by scripts that output a lot of text quickly
  • Fixed Dism capability removal scripts causing HRESULT 0x800f0806 errors for other scripts. They are now executed after all the others.
  • Fixed Dism capability removal scripts prompting for confirmation to restart causing them to never terminate
  • Fixed estimated and measured execution times for individual scripts and for the whole execution being wrong or inaccurate
  • Fixed execution time still being measured when a script is paused
  • Fixed globalization issue that caused XML localized strings to be looked up under the wrong culture
  • Fixed script execution cancellation causing exceptions
  • Fixed scripts which haven't been affected a capability (for example, when they haven't been yet shown in the UI) not being selected properly
  • Fixed update check causing an unhandled exception when not connected to the Internet

Backwards compatibility

This update brings changes to the script XML format, in the form of two optional attributes for actions : SuccessExitCodes and Order.

Custom scripts written for previous versions should still work.

Name Description
WinClean-1.3.1-win-x64.exe Installer (64 bits)
WinClean-1.3.1-win-x86.exe Installer (32 bits)
WinClean-x64.exe Portable (64 bits) (requires .NET Desktop Runtime 6.0.2 or later)
WinClean-x86.exe Portable (32 bits) (requires .NET Desktop Runtime 6.0.2 or later)

Thank you for your continued support!

Full Changelog: v1.3.0...v1.3.1

1.3.0

16 Jun 22:16
Compare
Choose a tag to compare

This update features many UI improvements, new scripts and bugfixes, and fixes many of the issues and shortcomings of the previous versions.

Improvements

  • Interface overhaul
    • Wizard for script execution
    • Script separation
  • Logging: now disabled by default.
  • Console mode: now case-insensitive.
  • Added self-signed open-source certificate. Windows still doesn't see it as safe, but it's better than nothing.
  • Application doesn't require administrator permissions anymore. Some scripts may not work in user mode though.
  • Implemented a WPF tweak to improve text rendering (TextFormattingMode).

New features

  • Scripts and hosts can now have supported Windows version ranges. The range is based on the SemVer 2.0.0 standard version range syntax.
  • New host: direct execution: behaves like the "Run..." dialog box.
  • Unhandled exception dialog: added "Ignore" button
  • Console mode : added --ListScripts command.

Scripts

  • Scripts can now be simply executed, or enabled/disabled (useful for registry tweaks and system configuration).
  • For scripts that can be enabled or disabled, the current state is detected automatically.
  • Removed most service-related scripts (too much issues, performance boost negligible)
  • Removed script: Show folder merge conflicts (opinionated)
  • Added script: Enable verbose status messages

Bugfixes

  • Issues with script names: setting a script name to a reserved Windows filename (such as CON, AUX, NUL...) would result in errors.
  • Console mode : fixed errors when attaching console.

Backwards compatiblity

  • Custom scripts written in the previous versions should still work.
  • However, the filename of a custom script will now remain as the filename of the original file, instead of being set to the script's invariant name.
Name Description
WinClean-Installer-x64 Installer (64 bits)
WinClean-Installer-x86 Installer (32 bits)
WinClean-x64.exe Portable (64 bits) (requires .NET Windows Desktop Runtime 6.0.2 or later)
WinClean-x86.exe Portable (32 bits) (requires .NET Windows Desktop Runtime 6.0.2 or later)

.NET download page

Thank you for your continued support!

Full Changelog: v1.2.1...v1.3.0

1.2.1

04 Nov 14:27
Compare
Choose a tag to compare

Improvements

  • The main window disables itself during script execution.
  • Remove ExecutionTime element from scripts
  • Removed "Allow custom script edit" setting

New features

  • Added a "Delete" button for custom scripts
  • Script hosts are now configurable. They are stored in Hosts.xml.
  • Added more script selection options.

Bugfixes

  • Fixed crash on invalid custom script metadata
  • Fixed custom scripts not getting loaded
  • Removed the "Remove touch keyboard and handwriting service" script (#3)
  • Fixed default script metadata combo boxes still being editable.

Warning
Backup any custom scripts before updating! This update clears the %appdata%\WinClean\Scripts directory.

Name Description
WinClean-Installer-x64 Installer (64 bits)
WinClean-Installer-x86 Installer (32 bits)
WinClean-x64.exe Portable (64 bits) (requires .NET Windows Desktop 6.0.10 or later)
WinClean-x86.exe Portable (32 bits) (requires .NET Windows Desktop 6.0.10 or later)

1.2.0

01 Nov 19:37
Compare
Choose a tag to compare
1.2.0 Pre-release
Pre-release

Improvements

  • Limited scripts are now gray
  • Added a "Don't show again" checkbox to the update dialog
  • Default scripts are now embedded and cannot be modified

New features

Bugfixes

Warning
Backup any custom scripts before updating! This update clears the %appdata%\WinClean\Scripts directory.

Name Description
WinClean-Installer-x64 Installer (64 bits)
WinClean-Installer-x86 Installer (32 bits)
WinClean-x64.exe Portable (64 bits)
WinClean-x86.exe Portable (32 bits)

1.1.1

01 Nov 09:04
Compare
Choose a tag to compare

Improvements

  • Updated to .NET Desktop Runtime 6.0.9
  • Added more logging
  • Improved UI consistency

New features

  • Added console support. See the associated wiki page for more information.

Bugfixes

  • Fixed a bug that prevented .NET Desktop Runtime from downloading in the x86 distribution.

Note
The executables were removed due to a versioning problem

1.1.0

28 Aug 09:45
Compare
Choose a tag to compare

Improvements

  • Improved XML script format
  • Removed verbose warning when executing scripts
  • Removed UI style for button color
  • Code cleanup and refactor
  • Updated scripts
  • Improved .NET Desktop Runtime 6.0.8 detection and installation in install script
  • Custom setup page for installing .NET Desktop Runtime
  • Separate installers for x64 and x86

New features

  • Added update checking at startup
  • Added a "Time remaining" display when executing scripts
  • Added a progress notification when creating a restore point
  • You can now reach the logs and scripts folders from the "File" menu.

Bugfixes

  • Fixed an issue where incorrect execution policy settings would prevent PowerShell scripts from executing properly
  • Fixed repository link in About window not working properly
  • Fixed an issue with the installer always installing .NET Desktop Runtime even if it is already installed

1.0.1

18 Jul 10:57
Compare
Choose a tag to compare

Minor bugfixes

  • Added a default button to the "Script execution cancellation" dialog
  • Script progress reporting now only takes place after the script has been executed.
  • Fixed ArgumentOutOfRangeException during script execution
  • Fixed double "Script executed" log entries
  • Fixed InvalidOperationException when trying to cancel script execution at some times

1.0.0

15 Jul 17:11
Compare
Choose a tag to compare

Initial release