Monday, February 17, 2014

Install and run CCleaner on multiple remote Windows workstations


RemoteExec is an agentless and encrypted software solution that will allow you to:
- easily deploy MSI packages, Service Packs, patches, hotfixes, etc. and be instantaneously informed of the results
- remotely execute programs, scripts, and associated files, or schedule them for a later date or time
- modify the registry, change LocalAdmin passwords, disable local accounts, copy/update/delete files and folders
- remotely power off, wake up, reboot servers and workstations, lock or close user sessions, etc.
http://www.isdecisions.com/products/remoteexec/
1.

Download CCleaner [Part 1 - Deploy CCleaner]

Download the latest version of CCleaner from: http://www.piriform.com/ccleaner/download
Ccleaner-logo_big
2.

Open RemoteExec [Part 1 - Deploy CCleaner]

Open RemoteExec and go to Remote Jobs/New Remote Job/File execution through the Configuration tree.
Re-configuration-tree-file-execution_big
3.

Select the setup file [Part 1 - Deploy CCleaner]

In the first section "Settings", browse the File field to the setup file previously downloaded.
Ccleaner-settings_big
4.

Set installation parameters [Part 1 - Deploy CCleaner]

You can find in the help file of CCleaner all command line parameters:
http://www.piriform.com/docs/ccleaner/advanced-usage/command-line-parameters
/S: Performs a silent install of CCleaner with default options.
/D= Permits to choose a different installation folder than the default.
/L= Choose the language file identified by the locale ID.
List of locale ID: http://support.microsoft.com/kb/221435

List of CCleaner supported languages: http://www.piriform.com/docs/ccleaner/ccleaner-settings/changing-the-language-ccleaner-uses

At minima you must specify the /S as Argument. If you’d like, you can choose the installation path and language.
5.

Set the execution context [Part 1 - Deploy CCleaner]

Set the Context to Administrative and keep the Auto option checked. RemoteExec will optimize the remote execution.
6.

Select target computers [Part 1 - Deploy CCleaner]

Go to the Target Computers section and select the computers on which you want to deploy CCleaner.
Re-browse_big
7.

Deploy CCleaner [Part 1 - Deploy CCleaner]

You can now start your deployment by clicking on "Launch".
The Progress window will pop in a new tab allowing you to follow the remote execution process.
Re-launch-btn_big
8.

Select file execution [Part 2 - Remotely run CCleaner]

Go to Remote Jobs/New Remote Job/File execution through the Configuration tree.
Re-configuration-tree-file-execution_big
9.

Specify the remote CCleaner.exe path [Part 2 - Remotely run CCleaner]

In the File field, specify the remote CCleaner.exe path.
By default: C:\Program Files\CCleaner\CCleaner.exe
Ccleaner-settings3_big
10.

Set the execution parameters [Part 2 - Remotely run CCleaner]

- Fill Argument(s) field with "/AUTO".
- Set the Context to Administrative.
- Uncheck the Auto box.
- Select the Verb "Open".
- Select "No" for the Copy files option.
11.

Select target computers [Part 2 - Remotely run CCleaner]

Go to the Target Computers section and select the computers on which you want to run CCleaner.
Re-browse_big
12.

Shoot! [Part 2 - Remotely run CCleaner]

You can now start your remote execution by clicking on "Launch". The Progress window will pop in a new tab allowing you to follow the remote execution process.

No comments:

Post a Comment