Open Chocolatey Reducer is a script that mimics the official Chocolatey Package Reducer available in the Pro and Business versions of Chocolatey.
Open Chocolatey Reducer mimics the official Chocolatey Package Reducer by using Windows batch scripting to manually & recursively delete any 7z, zip, rar, gz, tar, sfx, iso, msi, msu, msp, and exe files in the "%APPDATA%\chocolatey" directory at the log-on of any user.
The official Chocolatey Package Reducer scans the "%APPDATA%\chocolatey" directory recursively for any 7z, zip, rar, gz, tar, sfx, iso, msi, msu, msp, and exe files. If it locates any of the listed file types, it deletes them. Additionally, it also reduces the file size of nupkg files. This is an effective way to remove unwanted installation files, but it's unfortunately locked behind a paywall. I highly encourage you to support Chocolatey if you feel so inclined.
- Working installation of Windows 7 / 8 / 8.1 / 10 / 11
- Working installation of Chocolatey
- Administrator access on your PC
-
Extract "OCR_1.0.1.zip" into your Downloads folder. If you extract to a different directory, you'll have to edit the installation .bat file accordingly.
-
Open the "Installer" directory located within the "OCR_1.0.1" folder that you just extracted.
-
Open "(Step 1) Import Task into Task Scheduler"
-
Import the "Open Chocolatey Reducer.xml" into Task Scheduler.
A guide on how to import tasks can be found here or elsewhere online.
-
Return to the "Installer" directory.
-
Right-click "(Step 2) Installer" and click "Run as administrator" from the context menu.
-
Press any key to continue . . .
-
Navigate back to your Downloads folder and delete "OCR_1.0.1" and "OCR_1.0.1.zip"
-
Tell your friends about this script :D Spread the word!
-
Upon the next reboot, the script will become active.
Boost Software License - Version 1.0 - see LICENSE