Posted August 9, 20195 yr Does anyone have a script to run ccleaner. It’s already installed on the workstations I want to be able to run it. Thank you
August 14, 20195 yr Administrators Hi there, Check out the CLI arguments of CCleaner here: https://www.ccleaner.com/docs/ccleaner/advanced-usage/command-line-parameters. You should be able to perform a scan using the /AUTO CLI argument. Let me know how it goes. -Paul
June 5, 20213 yr Author My script is simple & "C:\Program Files\CCleaner\CCleaner64.exe" /AUTO when I run the script, i get Sending command... Waiting for reply... & "C:\Program Files\CCleaner\CCleaner64.exe" /AUTO Command executed successfully. However I don't think CCleaner actually ran. It only took 2 seconds and I see the recycle bin has not been emptied.
June 8, 20213 yr I suspect this is to do with Pulseway Agent running as "SYSTEM" \ Session 0. You will either need to do Powershell Impersonation within the agent, or use PSEXEC. This posts may help you: launch EXE files with pulseway - Requests - Pulseway
Create an account or sign in to comment