cjltech
-
Posts
2 -
Joined
-
Last visited
Posts posted by cjltech
-
-
This is peculiar to me. I came to this forum because I saw (from the analyses and log screen) that CCleaner does not clean files of other users, only of the logged in user, even if the logged in user has administrators rights.
This is confirmed at the suggestions forum:
http://forum.piriform.com/index.php?showtopic=21308
were the possibility to clean temporary files for all users is requested.
When trying to go after virusus on other users profiles, I find in somewhat easier to delete their temp files from a fairly unused admin account. I use a batch file to accomplish what everybody wants CCleaner to do.
This works great in combination with CCleaner to clean the registry and other stuff.
Copy the code below into a text file. rename it something like: cleanxp.bat
Cheers!
@echo offSET SRC1=C:\Documents and SettingsSET SRC2=Local Settings\Temporary Internet Files\Content.IE5SET SRC3=Local Settings\HistorySET SRC4=Local Settings\TempSET SRC5=Cookiesecho cleaning temporary internet filesFOR /D %%X IN ("%SRC1%\*") DO FOR /D %%Y IN ("%%X\%SRC2%\*.*") DO RMDIR /S /Q "%%Y"echo cleaning historyFOR /D %%X IN ("%SRC1%\*") DO FOR /D %%Y IN ("%%X\%SRC3%\*.*") DO RMDIR /S /Q "%%Y"echo cleaning windows temp filesFOR /D %%X IN ("%SRC1%\*") DO FOR /D %%Y IN ("%%X\%SRC4%\*.*") DO RMDIR /S /Q "%%Y"FOR /D %%X IN ("%SRC1%\*") DO FOR %%Y IN ("%%X\%SRC3%\*.*") DO DEL /F /S /Q "%%Y"FOR /D %%X IN ("%SRC1%\*") DO FOR %%Y IN ("%%X\%SRC4%\*.*") DO DEL /F /S /Q "%%Y"echo cleaning CookiesFOR /D %%X IN ("%SRC1%\*") DO FOR %%Y IN ("%%X\%SRC5%\*.*") DO DEL /F /S /Q "%%Y"del /f /s /q "%windir%\temp"FOR /D %%X IN ("%windir%\temp\*") DO RMDIR /S /Q "%%X"echo done.Pause
Does CCleaner clean for all users?
in CCleaner
Posted
You will need to make adaptations. The majority of my clients use IE. You would have to set up additional variables that match the paths where firefox and the other browsers store their temp files. Of course you would then need the additional lines to actually go and delete files in those paths.