How-To -> Clean the download folders for all users of a PC

Get help for CCleaner LabTech plugin
Post Reply
User avatar
Cubert
Posts: 1414
Joined: Tue Dec 29, 2015 7:57 pm
Contact:

How-To -> Clean the download folders for all users of a PC

Post by Cubert »

You can do this by using the %USERPROFILE% environment variable in your include entry in conjunction with ALL USER cleaning.

Note: ALL USER cleaning is default enabled in Business Edition of CCleaner, to confirm check the CCleaner.ini file for entry: UsersMethod=1. This is set for you automatically by the plugin and does not require any entries in the global configurations editor.

You should add "Include#" lines to the Bulk directives section of the global and computer level configuration editors.

This will clean all files in a test folder held within a user profile download folder.

Code: Select all

Include1=PATH|%USERPROFILE%\Downloads\Test\*.*
For Downloads, use:

Code: Select all

Include1=PATH|%USERPROFILE%\Downloads\*.*
If you are adding several folders then remember to increment the include value for each entry you have.

Code: Select all

Include1=PATH|%USERPROFILE%\Downloads\Test\*.*
Include2=PATH|%USERPROFILE%\Downloads\Test2\*.*
Include3=PATH|%USERPROFILE%\Downloads\Test3\*.*
You must also activate Custom Folder cleaning by checking the box for (App)Custom Folders before the folders get cleaned.

Now you are ready to clean the download folder for all profiles on each PC being cleaned by plugin.
Clean-Custom-Folders-All-Profiles.PNG
Clean-Custom-Folders-All-Profiles.PNG (57.51 KiB) Viewed 4272 times

Post Reply