Jump to content

Creating scheduled task for all users


bobbh

Recommended Posts

It appears that ccleaner's 'cleaner' portion only operates in the current user context (only cleans out temp files, etc. for the current logged-in user).  There are 3 user accounts on this computer, 1 is an admin, the other 2 'standard' users. 

 

1) Is there a way as an administrator to run ccleaner to clean all user accounts using either the UI or command line options?  I checked the online docs and couldn't find anything.

 

2) I'm trying to setup a scheduled task to automatically launch the command line version of ccleaner (logged in as each user) using <program dir>\ccleaner64.exe /AUTO, but it fails to launch when I try to specify which user it will login as, I get the following error in Task Scheduler history: Task Scheduler failed to start "\CCleaner_kriss" task for user "MMHP\kriss". Additional Data: Error Value: 2147943645.

 

If I login directly as this user and open a command prompt and run the same command <ccleaner path>\ccleaner64 /AUTO it works fine.

Link to comment
Share on other sites

So I assume that if I login as each user and create the Scheduled Task while logged in as that user, it will work? I was trying to create the scheduled tasks logged in as admin, but specifying the user login in the properties of the scheduled task.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.