Hello all, here's an easy way to run CCleaner from USB:
[This has only been tested on XP Pro. I have local and domain admin rights, so that's not an issue.]
Install on the local hard drive, set all the options you want and save the settings to the *.ini.
Copy the entire CCleaner folder from its default install location [usually c:\program files\CCleaner] to the USB drive.
The batch below [i call it ccs.bat] registers the needed files, runs the executable in quiet mode, then unregisters the files. A shortcut to the batch can be set to run it minimized as well, or if you really want to you can have it autorun on insertion, but that's a little overkill. The batch should be in the same folder as the CCleaner folder on the usb device.
rem regsvr32 /s <path & filename of dll or ocx>
regsvr32 /s CCHelper.ocx
regsvr32 /s CCleaner.dll
regsvr32 /s CCListBar.ocx
regsvr32 /s CCListView.ocx
regsvr32 /s CCSubTimer.dll
regsvr32 /s CCSystem.dll
regsvr32 /s CCTab.ocx
regsvr32 /s CCTreeView.ocx
regsvr32 /s lang-1033.dll
CCleaner.exe /AUTO
rem regsvr32 /u /s <path & filename of dll or ocx>
regsvr32 /u /s CCHelper.ocx
regsvr32 /u /s CCleaner.dll
regsvr32 /u /s CCListBar.ocx
regsvr32 /u /s CCListView.ocx
regsvr32 /u /s CCSubTimer.dll
regsvr32 /u /s CCSystem.dll
regsvr32 /u /s CCTab.ocx
regsvr32 /u /s CCTreeView.ocx
regsvr32 /u /s lang-1033.dll
Now if only it could clean the other profiles...or run elevated in XP without a hassle...