Jump to content


CCS USB Silent, but deadly


2 replies to this topic

#1 OFFLINE   tech4

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 02 May 2007 - 10:38 AM

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...
"Omnia Mutantur, Nihil Inherit. Omnia Mutantur, nos et mutamur in illis."
"Ex turbo modestum."

#2 OFFLINE   hazelnut

    try to stay calm

  • Moderators
  • 9,461 posts
  • Gender:Female
  • Location:Huddersfield uk

Posted 02 May 2007 - 01:55 PM

CCleaner portable is here

http://forum.pirifor...?showtopic=5707
CCLEANER, RECUVA, DEFRAGGLER AND SPECCY DOCUMENTATION CAN BE FOUND HERE

http://www.piriform.com/docs

#3 OFFLINE   tech4

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 02 May 2007 - 11:10 PM

Yeah, thanks anyway, but I saw that. It's a locked thread, so no one can reply or comment, which is kind of anti-forum, if you think about it. What is a forum but an open discussion?

I looked over that install, but if a machine already has CC installed, it's less work to just copy the folder over than to do all that extra downloading, and etc. That's why I posted it as "...here's an easy way to run CCleaner from USB".



View Posthazelnut, on May 2 2007, 01:55 PM, said:

CCleaner portable is here

http://forum.pirifor...?showtopic=5707

"Omnia Mutantur, Nihil Inherit. Omnia Mutantur, nos et mutamur in illis."
"Ex turbo modestum."