CCleaner is a utility used to clean potentially unwanted files and invalid Windows Registry entries from a computer. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of CCleaner from the command line using the EXE installer.
How to Install CCleaner Silently
CCleaner Silent Install (EXE)
- Navigate to: https://www.ccleaner.com/ccleaner/download/standard
- Download the ccsetupxxx.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command: ccsetupxxx.exe /S
- Press Enter
After a few moments you should see the CCleaner Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | CCleaner |
Vendor: | Piriform |
Architecture: | x86_x64 |
Installer Type: NSIS | EXE |
Silent Install Switch: | ccsetupxxx.exe /S |
Silent Uninstall Switch: | "%ProgramFiles%\CCleaner\uninst.exe" /S |
Download Link: | https://www.ccleaner.com/ccleaner/download/standard |
PowerShell Script: | https://silentinstallhq.com/ccleaner-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-ccleaner-powershell/ |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download link provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Additional Configurations
Change the CCleaner Default Installation Directory
You can also change the default installation directory by using the following NSIS command-line parameters. In this example, I’m installing CCleaner to “C:\CCleaner”
ccsetup.exe /S /D=C:\CCleaner |
Set the Language for CCleaner
The language within CCleaner can be configured using the following command line switches. The default language ID is English (1033).
ccsetup.exe /S /L=1033 |
Available Languages
Albanian | 1052 |
Arabic | 1025 |
Armenian | 1067 |
Azerbaijani (Latin) | 1068 |
Belarusian | 1059 |
Bosnian | 5126 |
Bulgarian | 1026 |
Burmese | 1109 |
Catala (Catalan) | 1027 |
Ceský (Czech) | 1029 |
Chinese (Simplified) | 2052 |
Chinese (Traditional) | 1028 |
Corsu (Corsican) | 1155 |
Danish | 1030 |
Deutsch (German) | 1031 |
Eesti keel (Estonian) | 1061 |
English | 1033 |
Espanol (Spanish) | 1034 |
Farsi | 1065 |
Français (French) | 1036 |
Galician | 1110 |
Georgian | 1079 |
Greek | 1032 |
Hebrew | 1037 |
Hindi | 1081 |
Hrvatski (Croatian) | 1050 |
Indonesian | 1057 |
Italiano (Italian) | 1040 |
Japanese | 1041 |
Kazakh | 1087 |
Korean | 1042 |
Kurdish | 9999 |
Latvian | 1062 |
Lietuviu (Lithuanian) | 1063 |
Macedonian | 1071 |
Magar (Hungarian) | 1038 |
Malay (Malaysia) | 1086 |
Marathi | 1102 |
Mongolian | 1104 |
Nederlands (Dutch) | 1043 |
Norwegian | 1044 |
Polski (Polish) | 1045 |
Portugues (Portuguese) | 2070 |
Portugues do Brasil (Brazilian Portuguese) | 1046 |
Romana (Romanian) | 1048 |
Russian | 1049 |
Serbian (Cyrillic) | 3098 |
Serbian (Latin) | 2074 |
Slovak | 1051 |
Slovenian | 1060 |
Suomi (Finnish) | 1035 |
Svenska (Swedish) | 1053 |
Tatar | 1092 |
Thai | 1054 |
Türkçe (Turkish) | 1055 |
Turkmen | 1090 |
Ukrainian | 1058 |
Vietnamese | 1066 |
How to Uninstall CCleaner Silently
Check out the following posts for a scripted solution:
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter the following command:
CCleaner Silent Uninstall (EXE)
"%ProgramFiles%\CCleaner\uninst.exe" /S |
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.