Castle Posted August 9, 2019 Share Posted August 9, 2019 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 Link to comment Share on other sites More sharing options...
Administrators Paul Posted August 14, 2019 Administrators Share Posted August 14, 2019 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 Link to comment Share on other sites More sharing options...
Castle Posted June 5, 2021 Author Share Posted June 5, 2021 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. Link to comment Share on other sites More sharing options...
WYE Posted June 8, 2021 Share Posted June 8, 2021 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 Jamie Taylor 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now