Hi everyone<\/p>\n
We sometimes would run CC cleaner to clean up temps files etc on a users account on their machine within our domain .<\/p>\n
My thinking is that we could run an bat file each time the user logs in to do this.<\/p>\n
Not to run CC but to clear out the folder that holds the temp cache belonging to the user.<\/p>\n
Now the question is, i am going to set it to clear out the following folder<\/p>\n
C:\\Users$username$\\AppData\\Local\\Temp<\/p>\n
Is there any other folders that should be included?<\/p>\n
Thanks<\/p>","upvoteCount":5,"answerCount":8,"datePublished":"2018-08-30T10:58:48.000Z","author":{"@type":"Person","name":"shanefinnegan","url":"https://community.spiceworks.com/u/shanefinnegan"},"acceptedAnswer":{"@type":"Answer","text":"
I delete all content from Temporary internet files / INetCache<\/em>:<\/p>\n C:\\Users\\username\\AppData\\Local\\Microsoft\\Windows\\Temporary Internet Files - for windows 7 Hi everyone<\/p>\n We sometimes would run CC cleaner to clean up temps files etc on a users account on their machine within our domain .<\/p>\n My thinking is that we could run an bat file each time the user logs in to do this.<\/p>\n Not to run CC but to clear out the folder that holds the temp cache belonging to the user.<\/p>\n Now the question is, i am going to set it to clear out the following folder<\/p>\n C:\\Users$username$\\AppData\\Local\\Temp<\/p>\n Is there any other folders that should be included?<\/p>\n Thanks<\/p>","upvoteCount":5,"datePublished":"2018-08-30T10:58:48.000Z","url":"https://community.spiceworks.com/t/user-temp-folder/670609/1","author":{"@type":"Person","name":"shanefinnegan","url":"https://community.spiceworks.com/u/shanefinnegan"}},{"@type":"Answer","text":" CCleaner is a solution for an imaginary problem.<\/p>\n If you think you need to clear temp files on Windows profiles, just run “cleanmgr” - and you will get everything except System Files. Theoretically, cleanmgr could be scripted, see below.<\/p>\n Yep - make it a scheduled task for bootup.<\/p>","upvoteCount":0,"datePublished":"2018-08-30T12:31:12.000Z","url":"https://community.spiceworks.com/t/user-temp-folder/670609/3","author":{"@type":"Person","name":"kurt6","url":"https://community.spiceworks.com/u/kurt6"}},{"@type":"Answer","text":" thanks for the suggestions. Yea i dont like CC at all hence why im trying to get away from it. I just want something that would take away all temp files for chrome etc when the user logs in<\/p>","upvoteCount":0,"datePublished":"2018-08-30T12:41:12.000Z","url":"https://community.spiceworks.com/t/user-temp-folder/670609/4","author":{"@type":"Person","name":"shanefinnegan","url":"https://community.spiceworks.com/u/shanefinnegan"}},{"@type":"Answer","text":" Another thing to add to your script or task -<\/p>\n del C:\\Users%username%\\AppData\\Local\\Google\\Chrome\\User Data\\Default\\Cache*.*<\/p>","upvoteCount":1,"datePublished":"2018-08-30T12:50:20.000Z","url":"https://community.spiceworks.com/t/user-temp-folder/670609/5","author":{"@type":"Person","name":"larrydigioia1598","url":"https://community.spiceworks.com/u/larrydigioia1598"}},{"@type":"Answer","text":" You can also use GPO for that<\/p>\n
\nC:\\Users\\username\\AppData\\Local\\Microsoft\\Windows\\INetCache - for windows 8, 10<\/p>","upvoteCount":1,"datePublished":"2018-08-30T17:35:14.000Z","url":"https://community.spiceworks.com/t/user-temp-folder/670609/6","author":{"@type":"Person","name":"brankoceric","url":"https://community.spiceworks.com/u/brankoceric"}},"suggestedAnswer":[{"@type":"Answer","text":"<\/p>","upvoteCount":2,"datePublished":"2018-08-30T11:50:00.000Z","url":"https://community.spiceworks.com/t/user-temp-folder/670609/2","author":{"@type":"Person","name":"larrydigioia1598","url":"https://community.spiceworks.com/u/larrydigioia1598"}},{"@type":"Answer","text":"