Jump to content


Terminal Services - bat file


  • You cannot reply to this topic
No replies to this topic

#1 OFFLINE   andreww127

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 06 April 2008 - 09:47 PM

I have been installing CCleaner on home users machines for over 2 years, never had a problem, very good software for removing temporary files. I have 5 users on a Windows 2003 server running terminal services and using CCleaner for each user, which runs as a bat file on login:-

1.) Install CCleaner on the server and run with your adjusted settings.
2.) Create the automated bat file - open notebook, paste the following text "C:\program files\CCleaner\CCleaner.exe" /auto
3.) Save the file as CCleaner.bat making sure save as type is - all files.
4.) Copy the bat file to the all users startup folder (Documents and Settings\All Users\Start Menu\Programs)

This is working perfectly after 3 months, everytime a user logs in it runs and deletes the crap, works the same on any computer with multi users, as long as they all want the same things deleted.