Ccleaner across multiple profiles
#1 OFFLINE
Posted 02 August 2006 - 10:31 PM
I have noticed that ccleaner only cleans the user data who is currently logged in, I was hoping there is a way that I can run it on a computer that has multiple profiles without having to log into each, eventually I would like to run this across dozens of computers across all profiles at the same time.
Thanks for any help!
#2 OFFLINE
Posted 03 August 2006 - 02:43 AM
You cant clean someone elses crap on a different user name.
The issues relate to the registry, and therefore cannot be removed with limited rights either. Administrative rights are required to remove those registry issues.
What you could do, is go to your control panel > user accounts, and give all the accounts administrative rights. Then log onto that account and fix the issues. After doing that you can go back to the control panel > user accounts, and change all the accounts back to limited rights that you had them on. That is the only way that I can think to do it.
EDIT:credits to krit
#3 OFFLINE
Posted 03 August 2006 - 03:20 AM
neighberaaron, on Aug 3 2006, 03:43 AM, said:
What you could do, is go to your control panel > user accounts, and give all the accounts administrative rights. Then log onto that account and fix the issues. After doing that you can go back to the control panel > user accounts, and change all the accounts back to limited rights that you had them on. That is the only way that I can think to do it.
I may be wrong but I don't think he was referring to cleaning the registry on other computers, just cleaning the crap. I vaguely remember this being discussed before and I don't think its easily possible.
#4 OFFLINE
Posted 29 August 2006 - 12:02 PM
i have the same problem. i want to use ccleaner to clean up all profiles on my computer.
I know, for this i need adminrights and i have it.
I wrote a litte batch-file, that generates a list of desired folders in every lokal profile-folder.
Here my code:
@for /F %%I in ('dir "c:\dokumente und einstellungen" /ad /b') do @echo "c:\dokumente und einstellungen\%%I\lokale Einstellungen\temp" >>info.txt
@for /F %%I in ('dir "c:\dokumente und einstellungen" /ad /b') do @echo "c:\dokumente und einstellungen\%%I\lokale Einstellungen\Temporary Internet Files" >>info.txt
- Copy the code and paste it in a new blank textfile.
- Replace "c:\dokumente und einstellungen" with your foldername
- Replace "c:\dokumente und einstellungen\%%I\lokale Einstellungen\temp" with your foldernames
- Safe this file as temp-profiles.bat and safe it in your root-directory
- now run it
- after this you have a new files "info.txt" in your root
- within is a list of all your folders.
The result is this (example from my german XP)
c:\dokumente und einstellungen\Administrator\lokale Einstellungen\temp c:\dokumente und einstellungen\All\lokale Einstellungen\temp c:\dokumente und einstellungen\Default\lokale Einstellungen\temp c:\dokumente und einstellungen\LocalService\lokale Einstellungen\temp c:\dokumente und einstellungen\NetworkService\lokale Einstellungen\temp c:\dokumente und einstellungen\Roland\lokale Einstellungen\temp
It is simply possible to expand this batch, it you want other folders too like "temporary internetfiles".
Now the question:
How can i manually add this list of folders to my "Custom files an folders"-List in CCLEANER??
bye
SkAvEnGeR
#5 OFFLINE
#6 OFFLINE
Posted 29 August 2006 - 01:51 PM
Eldmannen, on Aug 29 2006, 03:10 PM, said:
2. Select "Custom".
3. Select "Add Folder".
This not work.
Because: The Folders i want to add are hidden. With the filedialog within it isnīt possible to add these special folders.
I work for a solution.
SkAvEnGeR
#7 OFFLINE
Posted 29 August 2006 - 08:50 PM
SkAvEnGeR, on Aug 29 2006, 08:51 AM, said:
2. Go up to Tools>Folder Options...
3. Click on the View tab
4. Under Advanced Settings click on Show hidden files and folders
This lets you select those folders from the dialog.
~Otto
How to use CCleaner on a Flash Drive (pre v2.0)
#8 OFFLINE
Posted 30 August 2006 - 09:36 AM
here is my solution.
automatically add some special folders from all found local profiles to "custom folders" in CCleaner.
Here is the code:
Dim fso, f, f1, fc, s
Set wso = CreateObject("WScript.Shell")
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.GetFolder("c:\Documents and Settings")
Set fc = f.SubFolders
For Each f1 in fc
s = s & "c:\Documents and Settings\" & f1.name & "\local settings\temp" & "|"
Next
'direct write to Registry
wso.RegWrite "HKCU\Software\VB and VBA Program Settings\CCleaner\Options\CustomFolders", s
'write in file
set f = fso.OpenTextFile("ccl-custom-folders.reg", 2, True)
f.WriteLine "Windows Registry Editor Version 5.00"
f.WriteLine ""
f.WriteLine "[HKEY_CURRENT_USER\Software\VB and VBA Program Settings\CCleaner\Options]"
f.WriteLine chr(34)&"CustomFolders"&chr(34)&"="&chr(34)& Replace(s,"\","\\")&chr(34)
Please take a look at the definitions of foldernames. And if necessarily change it to yours.
Safe the code as "ccl-custom-folders.vbs" and run it.
After this you can start CCleaner to clean all crap from all profiles.
Greetz from germany to all CCleaner-Users.
SkAvEnGeR
#9 OFFLINE
Posted 15 July 2008 - 09:23 PM
I would love if you could upgrade this script to the cccleaner 2.0.9 version.
They changed the way they hold the folder names in the registry.
I this this is an awesome script.
I would downgrade to CCleaner 2.0.6 just to use it..
THX
C
SkAvEnGeR, on Aug 30 2006, 02:36 AM, said:
here is my solution.
automatically add some special folders from all found local profiles to "custom folders" in CCleaner.
Here is the code:
Dim fso, f, f1, fc, s
Set wso = CreateObject("WScript.Shell")
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.GetFolder("c:\Documents and Settings")
Set fc = f.SubFolders
For Each f1 in fc
s = s & "c:\Documents and Settings\" & f1.name & "\local settings\temp" & "|"
Next
'direct write to Registry
wso.RegWrite "HKCU\Software\VB and VBA Program Settings\CCleaner\Options\CustomFolders", s
'write in file
set f = fso.OpenTextFile("ccl-custom-folders.reg", 2, True)
f.WriteLine "Windows Registry Editor Version 5.00"
f.WriteLine ""
f.WriteLine "[HKEY_CURRENT_USER\Software\VB and VBA Program Settings\CCleaner\Options]"
f.WriteLine chr(34)&"CustomFolders"&chr(34)&"="&chr(34)& Replace(s,"\","\\")&chr(34)
Please take a look at the definitions of foldernames. And if necessarily change it to yours.
Safe the code as "ccl-custom-folders.vbs" and run it.
After this you can start CCleaner to clean all crap from all profiles.
Greetz from germany to all CCleaner-Users.
SkAvEnGeR
#10 OFFLINE
Posted 18 July 2008 - 05:04 PM
neighberaaron, on Aug 2 2006, 09:43 PM, said:
You cant clean someone elses crap on a different user name.
The issues relate to the registry, and therefore cannot be removed with limited rights either. Administrative rights are required to remove those registry issues.
This ability could be coded into a future version of CCleaner for Vista, which should then be permitted only if run by an Administrator.
Vista's Disk Cleanup does precisely that. When run as an Administrator, Disk Cleanup gives the option to cleanup just that user's files, or files from all user accounts. It would be great if CCleaner added that ability.
#11 OFFLINE
Posted 18 July 2008 - 05:31 PM
tuttle, on Jul 18 2008, 10:04 AM, said:
Vista's Disk Cleanup does precisely that. When run as an Administrator, Disk Cleanup gives the option to cleanup just that user's files, or files from all user accounts. It would be great if CCleaner added that ability.
DON'T JUST CLEAN EVERYTHING THAT'S CHECKED OFF.
Do your Registry Cleaning in small bits (at the very least Check-mark by Check-mark)
ALWAYS BACKUP THE ENTRY, YOU NEVER KNOW WHAT YOU'LL BREAK IF YOU DON'T.
CCLEANER, RECUVA, DEFRAGGLER AND SPECCY DOCUMENTATION CAN BE FOUND AT www.piriform.com/docs
Link to Winapp2.ini explaination
#12 OFFLINE
Posted 21 July 2008 - 06:02 AM
Nergal, on Jul 18 2008, 01:31 PM, said:
Hello Nergal,
Maybe this guys post can help you out.
You can reply or PM and maybe you guys can come up with something.
I think he already has but you be the judge.
Running CCleaner over a domain to clean profiles, For network Administrators and Domain controllers
http://forum.piriform.com/index.php?s=&...ost&p=98819
Come back and let us know even a new topic post if necessary.
Good luck to both of you,
#13 OFFLINE
Posted 21 July 2008 - 10:17 PM
davey, on Jul 20 2008, 11:02 PM, said:
Maybe this guys post can help you out.
DON'T JUST CLEAN EVERYTHING THAT'S CHECKED OFF.
Do your Registry Cleaning in small bits (at the very least Check-mark by Check-mark)
ALWAYS BACKUP THE ENTRY, YOU NEVER KNOW WHAT YOU'LL BREAK IF YOU DON'T.
CCLEANER, RECUVA, DEFRAGGLER AND SPECCY DOCUMENTATION CAN BE FOUND AT www.piriform.com/docs
Link to Winapp2.ini explaination















