ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
Command-line parameters
You can use command-line parameters to change CCleaner's installation behavior, or to change
how CCleaner runs.
Command-line parameters for CCleaner installs
There are three parameters you can use when installing CCleaner, as follows. You can use them in
batch files to automate CCleaner installations.
Parameter

Explanation

ccsetup.exe /S

Example

This performs a silent install of CCleaner

ccsetup.exe /S

with default options.
ccsetup.exe

This installs CCleaner into a different folder

ccsetup.exe

/D=<pathname>

than the default.

/D=C:Directory
(In this
example,
CCleaner would
be installed in
the C:Directory
folder.)

ccsetup.exe

This installs CCleaner with a language file

ccsetup.exe

/L=<locale>

identified by the locale ID.

/L=1036

For a list of locale IDs,

(In this

seehttp://support.microsoft.com/kb/221435.

example,

For a list of CCleaner's supported languages,

CCleaner would

see this topic.

be installed in
French.)

Note: You can use multiple parameters by including them on the same line. For example,
ccsetup.exe /S /D=C:CCleaner /L=1031

would install CCleaner silently in German to the C:CCleaner folder.
Command-line parameters for CCleaner operation
There are three parameters you can use when running CCleaner, as follows. You can use them in
batch files, scripting, shortcuts, or the Task Scheduler to automate CCleaner operation. For
example, you could set CCleaner to run automatically every day at 3:00am.
Parameter
CCleaner.ex

Explanation
CCleaner runs silently and automatically, using the current set of saved options to
e /AUTO

clean the PC. CCleaner then exits.

CCleaner.ex

CCleaner runs silently and automatically, using the current set of saved options to

e /AUTO

clean the PC. Windows then shuts down automatically..

/SHUTDOWN

Note: You cannot run /SHUTDOWN by itself. It must be preceded by /AUTO.

CCleaner.ex

CCleaner exports the cleaning rules to the INI files. Three INI files will be created

e /EXPORT

in the CCleaner's installation folder - winapp.ini, winreg.ini and winsys.ini. They
contain cleaning rules for the Application section, Registry Cleaner and the
Windows section respectively.

CCleaner.ex

CCleaner silently performs secure deletion for folders/files specified.

e /DELETE

You can specify multiple files/folders separating them with the "|" character.

"path_to_file

Example: CCleaner.exe

(s)"

/delete "D:TempSDelete*.*|D:TempSDelete*.log|D:TempSDelete*.txt|D:Te

/METHOD

mpSDeletetest.bmp"

"0-3"

The Method parameter defines the secure deletion type:
0 - 1 Pass
1 - 3 Passes
2 - 7 Passes
3 - 35 Passes
Note: You cannot use /METHOD by itself. It must be preceded by /DELETE.

Note: When you run CCleaner.exe using the /AUTO parameter, CCleaner does not run the
Registry cleaner. You cannot currently run the Registry cleaner through a command-line parameter
Command-line parameters for CCleaner operation pane focus
CCleaner has four 'panes': Cleaner, Registry, Tools, and Options. When the program is open, you
can access each pane by clicking the associated icon/button at left.
If you are launching CCleaner from a command line, you can now have it open on a particular
pane by specifying one of the following command-line switches:
/CLEANER
/REGISTRY
/TOOLS
/OPTIONS
If CCleaner is already open, it will display the appropriate pane. If you have more than one
instance of CCleaner running, the command-line switch will only affect the topmost (if open) or
left-most (if minimized) instance.
Note: CCleaner will only recognize the first pane-related command-line switch.
Command-line parameters for CCleaner Business and Technician Edition
CCleaner Business Edition and Technician Edition allow the user to perform several additional
command line operations. You can use them in batch files, scripting, shortcuts, or the Task
Scheduler to automate CCleaner operation.
Parameter

Explanation

Example
analyze

Analyses using the rules defined

ccleaner.exe

["log_filename.txt"]

in ccleaner.ini and puts the

/analyze

results in log_filename.txt

"log.txt"

clean

Cleans using the rules defined in

ccleaner.exe

["log_filename.txt"]

ccleaner.ini and puts the results

/clean "log.txt"

in log_filename.txt
update

Performs an immediate silent

ccleaner.exe

update.

/update

Note: If you are using a 64 bit system, simply substitute ccleaner.exe with ccleaner64.exe for the
above commands.

Scheduling CCleaner
To schedule system cleans (for example clean the system every Friday at 10am) you will need to
manually create CCleaner entries in the Windows Task Scheduler. Please note that in order to do
this your user account needs to have Administrative privileges.
1. Open Windows Task scheduler. This is done by clicking Start > Control Panel. Then
switching to the classic view using left navigation pane. Then entering Administrative
Tools > Task Scheduler.
2. Click Task Scheduler Library.
3. From the Actions menu on the right side of the window click Create Basic Task. Create
Basic Task Wizard should open.
4. In the Name text field enter the name you’d like the task to be identified as. For
example CCleaner weekly cleans. Click Next button.
5. Select how often you’d like CCleaner to run. For example Weekly. ClickNext button.
6. Enter the date and time when you’d like the 1st clean to be performed. Then select how
often you’d like the cleaning to recur and when. ClickNext button.
7. Select Start a program option. Click Next button.
8. Click browse button and navigate to your main CCleaner.exe. It is usually located
in C:Program FilesCCleaner. Double click CCleaner (orCCleaner64 if you are using 64-bit
version of Windows).
9. In the Add arguments (optional) text field enter /auto. Click Nextbutton.
10. Check Open the Properties dialog for this task when I click Finish and
click Finish button. Properties window should open.
11. Check Run with highest privileges option and press OK button.
That’s it. All done.
Note: These instructions are intended for Windows Vista and onwards. On older operating systems
this is done in similar way but there are some differences (for example Task Scheduler is in
different location).
How to run CCleaner from a USB drive
We provide a special version of CCleaner you can install to and run from a USB drive.
Why would you use this? Well, if you go to an Internet cafe and browse the Web from there, you
can use CCleaner portable on a USB stick to erase your browsing tracks. Or, if you want to erase
some data from your work PC and they won't let you install software, the portable version of
CCleaner can come in very handy.
Note: CCleaner Portable and CCleaner do exactly the same thing.
1. Download the latest CCleaner Portable version (a ZIP file)
athttp://www.piriform.com/ccleaner/builds.
2. Unzip the contents of the ZIP file into a folder.
The contents of this folder contain all the files you need to run CCleaner Portable. You can now
copy this folder to a USB stick.
To run CCleaner Portable, double-click the CCleaner.exe file in the CCleaner Portable folder.

How to list installed programs
You can easily create a list of all the programs you have installed on your PC in a text file.
Why do this? Well, if you're upgrading your operating system, or you're buying a new PC, it's very
handy to have a list the programs you installed on this one. It's really easy to forget about the
'little helpers' you use every day.
Here's how to run that list:
1.
2.

In CCleaner, click the Tools icon at left.
In the Uninstall screen, click the Save to text file... button.

3. Choose a location and type a name for the text file (the default is install.txt), and then
click Save.
You can open the text file with Notepad or any text editor. Print it out if you need a hard copy.
Note: The version numbers of the programs are often included in the list, but not always.

How to increase the size of fonts CCleaner uses
If you have restricted eyesight, you can change the size of fonts (typefaces) used in your Windows
system. This will increase the font size in CCleaner, as well as all other programs.
To increase the size of fonts in Windows 7 and 8:
1. Right-click a blank part of the desktop, and then click Personalize.
2. In the left-hand pane of the Control Panel which appears, click Display.
3. In the Change the size of all items section, select Medium or Larger.
4. Click Apply. You will need to log off and log on again.
To increase the size of fonts in Windows Vista:
1. Right-click a blank part of the desktop, and then click Personalize.
2. In the Control Panel which appears, click Adjust Font Size (DPI) at left.
3. In the DPI Scaling window, select Larger Scale (120 DPI).
4. Click OK. You may need to restart your computer.
To increase the size of fonts in Windows XP:
1. Right-click a blank part of the desktop, and then click Properties.
2. On the Appearance tab, change the Font size setting from Normal toLarge
Fonts or Extra Large Fonts.
3. Click OK. You may need to restart your computer.

More Related Content

Similar to Ccleaner command (20)

How to speed up window 7
How to speed up window 7How to speed up window 7
How to speed up window 7
Binna Krassniqi
Ìý
Windows 7-getting-started
Windows 7-getting-startedWindows 7-getting-started
Windows 7-getting-started
jaimehero
Ìý
Family Tree Explorer Manual
Family Tree Explorer ManualFamily Tree Explorer Manual
Family Tree Explorer Manual
soft Xpansion GmbH & Co. KG
Ìý
Darkroom 2 photoshop masking techniques and smart objects
Darkroom 2 photoshop masking techniques and smart objectsDarkroom 2 photoshop masking techniques and smart objects
Darkroom 2 photoshop masking techniques and smart objects
daviddiener
Ìý
task manager presentation in Operating System
task manager presentation in Operating System task manager presentation in Operating System
task manager presentation in Operating System
FariaChaudhry6
Ìý
Operating systems 2
Operating systems 2Operating systems 2
Operating systems 2
mariacalji
Ìý
Optimize your computer for peak performance
Optimize your computer for peak performanceOptimize your computer for peak performance
Optimize your computer for peak performance
pacampbell
Ìý
How To Make System Work Faster
How To Make System Work FasterHow To Make System Work Faster
How To Make System Work Faster
Gaurav bhatnagar
Ìý
Programming
ProgrammingProgramming
Programming
Camille Hazellie
Ìý
CCleaner Installation and Operation
CCleaner Installation and OperationCCleaner Installation and Operation
CCleaner Installation and Operation
Lorens Tech Solutions
Ìý
How to use disk cleanup on your PC
How to use disk cleanup on your PCHow to use disk cleanup on your PC
How to use disk cleanup on your PC
rochoaz78
Ìý
Windows
WindowsWindows
Windows
NICT
Ìý
Revo Uninstaller Pro Help
Revo Uninstaller Pro HelpRevo Uninstaller Pro Help
Revo Uninstaller Pro Help
guestd9ca37
Ìý
Darkroom 2 customize light room and photoshop
Darkroom 2 customize light room and photoshopDarkroom 2 customize light room and photoshop
Darkroom 2 customize light room and photoshop
daviddiener
Ìý
Basic Computer skill-P2.pptx
Basic Computer skill-P2.pptxBasic Computer skill-P2.pptx
Basic Computer skill-P2.pptx
Mastewal5
Ìý
Orangescrum Time Log Add-on User Manual
Orangescrum Time Log Add-on User ManualOrangescrum Time Log Add-on User Manual
Orangescrum Time Log Add-on User Manual
Orangescrum
Ìý
Optimize and speed up windows 7
Optimize and speed up windows 7Optimize and speed up windows 7
Optimize and speed up windows 7
Power Admin LLC
Ìý
Users guide
Users guideUsers guide
Users guide
Horlarthunji Azeez
Ìý
codeblocks-instructions.pdf
codeblocks-instructions.pdfcodeblocks-instructions.pdf
codeblocks-instructions.pdf
RavinderKSingla
Ìý
Introduction to gui based operating system
Introduction to gui based operating systemIntroduction to gui based operating system
Introduction to gui based operating system
Jaydip Kayal
Ìý
How to speed up window 7
How to speed up window 7How to speed up window 7
How to speed up window 7
Binna Krassniqi
Ìý
Windows 7-getting-started
Windows 7-getting-startedWindows 7-getting-started
Windows 7-getting-started
jaimehero
Ìý
Darkroom 2 photoshop masking techniques and smart objects
Darkroom 2 photoshop masking techniques and smart objectsDarkroom 2 photoshop masking techniques and smart objects
Darkroom 2 photoshop masking techniques and smart objects
daviddiener
Ìý
task manager presentation in Operating System
task manager presentation in Operating System task manager presentation in Operating System
task manager presentation in Operating System
FariaChaudhry6
Ìý
Operating systems 2
Operating systems 2Operating systems 2
Operating systems 2
mariacalji
Ìý
Optimize your computer for peak performance
Optimize your computer for peak performanceOptimize your computer for peak performance
Optimize your computer for peak performance
pacampbell
Ìý
How To Make System Work Faster
How To Make System Work FasterHow To Make System Work Faster
How To Make System Work Faster
Gaurav bhatnagar
Ìý
CCleaner Installation and Operation
CCleaner Installation and OperationCCleaner Installation and Operation
CCleaner Installation and Operation
Lorens Tech Solutions
Ìý
How to use disk cleanup on your PC
How to use disk cleanup on your PCHow to use disk cleanup on your PC
How to use disk cleanup on your PC
rochoaz78
Ìý
Windows
WindowsWindows
Windows
NICT
Ìý
Revo Uninstaller Pro Help
Revo Uninstaller Pro HelpRevo Uninstaller Pro Help
Revo Uninstaller Pro Help
guestd9ca37
Ìý
Darkroom 2 customize light room and photoshop
Darkroom 2 customize light room and photoshopDarkroom 2 customize light room and photoshop
Darkroom 2 customize light room and photoshop
daviddiener
Ìý
Basic Computer skill-P2.pptx
Basic Computer skill-P2.pptxBasic Computer skill-P2.pptx
Basic Computer skill-P2.pptx
Mastewal5
Ìý
Orangescrum Time Log Add-on User Manual
Orangescrum Time Log Add-on User ManualOrangescrum Time Log Add-on User Manual
Orangescrum Time Log Add-on User Manual
Orangescrum
Ìý
Optimize and speed up windows 7
Optimize and speed up windows 7Optimize and speed up windows 7
Optimize and speed up windows 7
Power Admin LLC
Ìý
codeblocks-instructions.pdf
codeblocks-instructions.pdfcodeblocks-instructions.pdf
codeblocks-instructions.pdf
RavinderKSingla
Ìý
Introduction to gui based operating system
Introduction to gui based operating systemIntroduction to gui based operating system
Introduction to gui based operating system
Jaydip Kayal
Ìý

Recently uploaded (20)

Emancipatory Information Retrieval (Invited Talk at UCC)
Emancipatory Information Retrieval (Invited Talk at UCC)Emancipatory Information Retrieval (Invited Talk at UCC)
Emancipatory Information Retrieval (Invited Talk at UCC)
Bhaskar Mitra
Ìý
Google News Consideration for SEO | Google Search NYC
Google News Consideration for SEO | Google Search NYCGoogle News Consideration for SEO | Google Search NYC
Google News Consideration for SEO | Google Search NYC
Primary Position
Ìý
Powering Energy and Utilities with Data Integration: Smarter Data, Smoother O...
Powering Energy and Utilities with Data Integration: Smarter Data, Smoother O...Powering Energy and Utilities with Data Integration: Smarter Data, Smoother O...
Powering Energy and Utilities with Data Integration: Smarter Data, Smoother O...
Safe Software
Ìý
Unleash the Power of Symfony Messenger
Unleash the  Power  of Symfony MessengerUnleash the  Power  of Symfony Messenger
Unleash the Power of Symfony Messenger
Kris Wallsmith
Ìý
WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...
WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...
WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...
WSO2
Ìý
AI Agents, such as Autogen at Tide Sprint
AI Agents, such as Autogen at Tide SprintAI Agents, such as Autogen at Tide Sprint
AI Agents, such as Autogen at Tide Sprint
Nathan Bijnens
Ìý
Benefits of Using Ultrasonic Level Transmitters for Control
Benefits of Using Ultrasonic Level Transmitters for ControlBenefits of Using Ultrasonic Level Transmitters for Control
Benefits of Using Ultrasonic Level Transmitters for Control
nikeson80
Ìý
Multi Agent Systems | PPT | Presentation
Multi Agent Systems |  PPT | PresentationMulti Agent Systems |  PPT | Presentation
Multi Agent Systems | PPT | Presentation
Codiste
Ìý
Large Language Models vs Small Language Models
Large Language Models vs Small Language ModelsLarge Language Models vs Small Language Models
Large Language Models vs Small Language Models
Nathan Bijnens
Ìý
Slack Social Meetup Connect, Collaborate & Grow!.pptx
Slack Social Meetup Connect, Collaborate & Grow!.pptxSlack Social Meetup Connect, Collaborate & Grow!.pptx
Slack Social Meetup Connect, Collaborate & Grow!.pptx
SanjeetMishra29
Ìý
"Constructive Interaction During Emotional Burnout: With Local and Internatio...
"Constructive Interaction During Emotional Burnout: With Local and Internatio..."Constructive Interaction During Emotional Burnout: With Local and Internatio...
"Constructive Interaction During Emotional Burnout: With Local and Internatio...
Fwdays
Ìý
Software-Engineering-and-Best-Practices.
Software-Engineering-and-Best-Practices.Software-Engineering-and-Best-Practices.
Software-Engineering-and-Best-Practices.
oziasrondonc
Ìý
[NYC Scrum] 4 bad ideas about productivity... and what Agilists should do ins...
[NYC Scrum] 4 bad ideas about productivity... and what Agilists should do ins...[NYC Scrum] 4 bad ideas about productivity... and what Agilists should do ins...
[NYC Scrum] 4 bad ideas about productivity... and what Agilists should do ins...
Jason Yip
Ìý
The nature of technolog and Computer networks.pptx
The nature of technolog and Computer networks.pptxThe nature of technolog and Computer networks.pptx
The nature of technolog and Computer networks.pptx
vallidevi6
Ìý
[QUICK TALK] "Why Some Teams Grow Better Under Pressure", Oleksandr Marchenko...
[QUICK TALK] "Why Some Teams Grow Better Under Pressure", Oleksandr Marchenko...[QUICK TALK] "Why Some Teams Grow Better Under Pressure", Oleksandr Marchenko...
[QUICK TALK] "Why Some Teams Grow Better Under Pressure", Oleksandr Marchenko...
Fwdays
Ìý
Measuring Copilot and Gen AI Success with Viva Insights and Purview
Measuring Copilot and Gen AI Success with Viva Insights and PurviewMeasuring Copilot and Gen AI Success with Viva Insights and Purview
Measuring Copilot and Gen AI Success with Viva Insights and Purview
Nikki Chapple
Ìý
20250314_Kit-Works Team Study_JAVA Record.pdf
20250314_Kit-Works Team Study_JAVA Record.pdf20250314_Kit-Works Team Study_JAVA Record.pdf
20250314_Kit-Works Team Study_JAVA Record.pdf
Wonjun Hwang
Ìý
CSUN 2025 - Interactive Charts for Everyone.pptx
CSUN 2025 - Interactive Charts for Everyone.pptxCSUN 2025 - Interactive Charts for Everyone.pptx
CSUN 2025 - Interactive Charts for Everyone.pptx
Øystein Moseng
Ìý
[QUICK TALK] "Coaching 101: How to Identify and Develop Your Leadership Quali...
[QUICK TALK] "Coaching 101: How to Identify and Develop Your Leadership Quali...[QUICK TALK] "Coaching 101: How to Identify and Develop Your Leadership Quali...
[QUICK TALK] "Coaching 101: How to Identify and Develop Your Leadership Quali...
Fwdays
Ìý
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
WSO2
Ìý
Emancipatory Information Retrieval (Invited Talk at UCC)
Emancipatory Information Retrieval (Invited Talk at UCC)Emancipatory Information Retrieval (Invited Talk at UCC)
Emancipatory Information Retrieval (Invited Talk at UCC)
Bhaskar Mitra
Ìý
Google News Consideration for SEO | Google Search NYC
Google News Consideration for SEO | Google Search NYCGoogle News Consideration for SEO | Google Search NYC
Google News Consideration for SEO | Google Search NYC
Primary Position
Ìý
Powering Energy and Utilities with Data Integration: Smarter Data, Smoother O...
Powering Energy and Utilities with Data Integration: Smarter Data, Smoother O...Powering Energy and Utilities with Data Integration: Smarter Data, Smoother O...
Powering Energy and Utilities with Data Integration: Smarter Data, Smoother O...
Safe Software
Ìý
Unleash the Power of Symfony Messenger
Unleash the  Power  of Symfony MessengerUnleash the  Power  of Symfony Messenger
Unleash the Power of Symfony Messenger
Kris Wallsmith
Ìý
WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...
WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...
WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...
WSO2
Ìý
AI Agents, such as Autogen at Tide Sprint
AI Agents, such as Autogen at Tide SprintAI Agents, such as Autogen at Tide Sprint
AI Agents, such as Autogen at Tide Sprint
Nathan Bijnens
Ìý
Benefits of Using Ultrasonic Level Transmitters for Control
Benefits of Using Ultrasonic Level Transmitters for ControlBenefits of Using Ultrasonic Level Transmitters for Control
Benefits of Using Ultrasonic Level Transmitters for Control
nikeson80
Ìý
Multi Agent Systems | PPT | Presentation
Multi Agent Systems |  PPT | PresentationMulti Agent Systems |  PPT | Presentation
Multi Agent Systems | PPT | Presentation
Codiste
Ìý
Large Language Models vs Small Language Models
Large Language Models vs Small Language ModelsLarge Language Models vs Small Language Models
Large Language Models vs Small Language Models
Nathan Bijnens
Ìý
Slack Social Meetup Connect, Collaborate & Grow!.pptx
Slack Social Meetup Connect, Collaborate & Grow!.pptxSlack Social Meetup Connect, Collaborate & Grow!.pptx
Slack Social Meetup Connect, Collaborate & Grow!.pptx
SanjeetMishra29
Ìý
"Constructive Interaction During Emotional Burnout: With Local and Internatio...
"Constructive Interaction During Emotional Burnout: With Local and Internatio..."Constructive Interaction During Emotional Burnout: With Local and Internatio...
"Constructive Interaction During Emotional Burnout: With Local and Internatio...
Fwdays
Ìý
Software-Engineering-and-Best-Practices.
Software-Engineering-and-Best-Practices.Software-Engineering-and-Best-Practices.
Software-Engineering-and-Best-Practices.
oziasrondonc
Ìý
[NYC Scrum] 4 bad ideas about productivity... and what Agilists should do ins...
[NYC Scrum] 4 bad ideas about productivity... and what Agilists should do ins...[NYC Scrum] 4 bad ideas about productivity... and what Agilists should do ins...
[NYC Scrum] 4 bad ideas about productivity... and what Agilists should do ins...
Jason Yip
Ìý
The nature of technolog and Computer networks.pptx
The nature of technolog and Computer networks.pptxThe nature of technolog and Computer networks.pptx
The nature of technolog and Computer networks.pptx
vallidevi6
Ìý
[QUICK TALK] "Why Some Teams Grow Better Under Pressure", Oleksandr Marchenko...
[QUICK TALK] "Why Some Teams Grow Better Under Pressure", Oleksandr Marchenko...[QUICK TALK] "Why Some Teams Grow Better Under Pressure", Oleksandr Marchenko...
[QUICK TALK] "Why Some Teams Grow Better Under Pressure", Oleksandr Marchenko...
Fwdays
Ìý
Measuring Copilot and Gen AI Success with Viva Insights and Purview
Measuring Copilot and Gen AI Success with Viva Insights and PurviewMeasuring Copilot and Gen AI Success with Viva Insights and Purview
Measuring Copilot and Gen AI Success with Viva Insights and Purview
Nikki Chapple
Ìý
20250314_Kit-Works Team Study_JAVA Record.pdf
20250314_Kit-Works Team Study_JAVA Record.pdf20250314_Kit-Works Team Study_JAVA Record.pdf
20250314_Kit-Works Team Study_JAVA Record.pdf
Wonjun Hwang
Ìý
CSUN 2025 - Interactive Charts for Everyone.pptx
CSUN 2025 - Interactive Charts for Everyone.pptxCSUN 2025 - Interactive Charts for Everyone.pptx
CSUN 2025 - Interactive Charts for Everyone.pptx
Øystein Moseng
Ìý
[QUICK TALK] "Coaching 101: How to Identify and Develop Your Leadership Quali...
[QUICK TALK] "Coaching 101: How to Identify and Develop Your Leadership Quali...[QUICK TALK] "Coaching 101: How to Identify and Develop Your Leadership Quali...
[QUICK TALK] "Coaching 101: How to Identify and Develop Your Leadership Quali...
Fwdays
Ìý
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
WSO2
Ìý

Ccleaner command

  • 1. Command-line parameters You can use command-line parameters to change CCleaner's installation behavior, or to change how CCleaner runs. Command-line parameters for CCleaner installs There are three parameters you can use when installing CCleaner, as follows. You can use them in batch files to automate CCleaner installations. Parameter Explanation ccsetup.exe /S Example This performs a silent install of CCleaner ccsetup.exe /S with default options. ccsetup.exe This installs CCleaner into a different folder ccsetup.exe /D=<pathname> than the default. /D=C:Directory (In this example, CCleaner would be installed in the C:Directory folder.) ccsetup.exe This installs CCleaner with a language file ccsetup.exe /L=<locale> identified by the locale ID. /L=1036 For a list of locale IDs, (In this seehttp://support.microsoft.com/kb/221435. example, For a list of CCleaner's supported languages, CCleaner would see this topic. be installed in French.) Note: You can use multiple parameters by including them on the same line. For example, ccsetup.exe /S /D=C:CCleaner /L=1031 would install CCleaner silently in German to the C:CCleaner folder. Command-line parameters for CCleaner operation There are three parameters you can use when running CCleaner, as follows. You can use them in batch files, scripting, shortcuts, or the Task Scheduler to automate CCleaner operation. For example, you could set CCleaner to run automatically every day at 3:00am. Parameter CCleaner.ex Explanation CCleaner runs silently and automatically, using the current set of saved options to
  • 2. e /AUTO clean the PC. CCleaner then exits. CCleaner.ex CCleaner runs silently and automatically, using the current set of saved options to e /AUTO clean the PC. Windows then shuts down automatically.. /SHUTDOWN Note: You cannot run /SHUTDOWN by itself. It must be preceded by /AUTO. CCleaner.ex CCleaner exports the cleaning rules to the INI files. Three INI files will be created e /EXPORT in the CCleaner's installation folder - winapp.ini, winreg.ini and winsys.ini. They contain cleaning rules for the Application section, Registry Cleaner and the Windows section respectively. CCleaner.ex CCleaner silently performs secure deletion for folders/files specified. e /DELETE You can specify multiple files/folders separating them with the "|" character. "path_to_file Example: CCleaner.exe (s)" /delete "D:TempSDelete*.*|D:TempSDelete*.log|D:TempSDelete*.txt|D:Te /METHOD mpSDeletetest.bmp" "0-3" The Method parameter defines the secure deletion type: 0 - 1 Pass 1 - 3 Passes 2 - 7 Passes 3 - 35 Passes Note: You cannot use /METHOD by itself. It must be preceded by /DELETE. Note: When you run CCleaner.exe using the /AUTO parameter, CCleaner does not run the Registry cleaner. You cannot currently run the Registry cleaner through a command-line parameter Command-line parameters for CCleaner operation pane focus CCleaner has four 'panes': Cleaner, Registry, Tools, and Options. When the program is open, you can access each pane by clicking the associated icon/button at left. If you are launching CCleaner from a command line, you can now have it open on a particular pane by specifying one of the following command-line switches: /CLEANER /REGISTRY /TOOLS /OPTIONS If CCleaner is already open, it will display the appropriate pane. If you have more than one instance of CCleaner running, the command-line switch will only affect the topmost (if open) or left-most (if minimized) instance. Note: CCleaner will only recognize the first pane-related command-line switch. Command-line parameters for CCleaner Business and Technician Edition CCleaner Business Edition and Technician Edition allow the user to perform several additional command line operations. You can use them in batch files, scripting, shortcuts, or the Task Scheduler to automate CCleaner operation. Parameter Explanation Example
  • 3. analyze Analyses using the rules defined ccleaner.exe ["log_filename.txt"] in ccleaner.ini and puts the /analyze results in log_filename.txt "log.txt" clean Cleans using the rules defined in ccleaner.exe ["log_filename.txt"] ccleaner.ini and puts the results /clean "log.txt" in log_filename.txt update Performs an immediate silent ccleaner.exe update. /update Note: If you are using a 64 bit system, simply substitute ccleaner.exe with ccleaner64.exe for the above commands. Scheduling CCleaner To schedule system cleans (for example clean the system every Friday at 10am) you will need to manually create CCleaner entries in the Windows Task Scheduler. Please note that in order to do this your user account needs to have Administrative privileges. 1. Open Windows Task scheduler. This is done by clicking Start > Control Panel. Then switching to the classic view using left navigation pane. Then entering Administrative Tools > Task Scheduler. 2. Click Task Scheduler Library. 3. From the Actions menu on the right side of the window click Create Basic Task. Create Basic Task Wizard should open. 4. In the Name text field enter the name you’d like the task to be identified as. For example CCleaner weekly cleans. Click Next button. 5. Select how often you’d like CCleaner to run. For example Weekly. ClickNext button. 6. Enter the date and time when you’d like the 1st clean to be performed. Then select how often you’d like the cleaning to recur and when. ClickNext button. 7. Select Start a program option. Click Next button. 8. Click browse button and navigate to your main CCleaner.exe. It is usually located in C:Program FilesCCleaner. Double click CCleaner (orCCleaner64 if you are using 64-bit version of Windows). 9. In the Add arguments (optional) text field enter /auto. Click Nextbutton. 10. Check Open the Properties dialog for this task when I click Finish and click Finish button. Properties window should open. 11. Check Run with highest privileges option and press OK button. That’s it. All done. Note: These instructions are intended for Windows Vista and onwards. On older operating systems this is done in similar way but there are some differences (for example Task Scheduler is in different location).
  • 4. How to run CCleaner from a USB drive We provide a special version of CCleaner you can install to and run from a USB drive. Why would you use this? Well, if you go to an Internet cafe and browse the Web from there, you can use CCleaner portable on a USB stick to erase your browsing tracks. Or, if you want to erase some data from your work PC and they won't let you install software, the portable version of CCleaner can come in very handy. Note: CCleaner Portable and CCleaner do exactly the same thing. 1. Download the latest CCleaner Portable version (a ZIP file) athttp://www.piriform.com/ccleaner/builds. 2. Unzip the contents of the ZIP file into a folder. The contents of this folder contain all the files you need to run CCleaner Portable. You can now copy this folder to a USB stick. To run CCleaner Portable, double-click the CCleaner.exe file in the CCleaner Portable folder. How to list installed programs You can easily create a list of all the programs you have installed on your PC in a text file. Why do this? Well, if you're upgrading your operating system, or you're buying a new PC, it's very handy to have a list the programs you installed on this one. It's really easy to forget about the 'little helpers' you use every day. Here's how to run that list: 1. 2. In CCleaner, click the Tools icon at left. In the Uninstall screen, click the Save to text file... button. 3. Choose a location and type a name for the text file (the default is install.txt), and then click Save. You can open the text file with Notepad or any text editor. Print it out if you need a hard copy. Note: The version numbers of the programs are often included in the list, but not always. How to increase the size of fonts CCleaner uses If you have restricted eyesight, you can change the size of fonts (typefaces) used in your Windows system. This will increase the font size in CCleaner, as well as all other programs. To increase the size of fonts in Windows 7 and 8: 1. Right-click a blank part of the desktop, and then click Personalize. 2. In the left-hand pane of the Control Panel which appears, click Display. 3. In the Change the size of all items section, select Medium or Larger. 4. Click Apply. You will need to log off and log on again. To increase the size of fonts in Windows Vista: 1. Right-click a blank part of the desktop, and then click Personalize. 2. In the Control Panel which appears, click Adjust Font Size (DPI) at left. 3. In the DPI Scaling window, select Larger Scale (120 DPI). 4. Click OK. You may need to restart your computer. To increase the size of fonts in Windows XP:
  • 5. 1. Right-click a blank part of the desktop, and then click Properties. 2. On the Appearance tab, change the Font size setting from Normal toLarge Fonts or Extra Large Fonts. 3. Click OK. You may need to restart your computer.