Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: registry cleaner..  (Read 4233 times)

0 Members and 1 Guest are viewing this topic.

emsfolster

    Topic Starter


    Newbie

    registry cleaner..
    « on: February 03, 2010, 08:20:27 PM »
    can i run two reg. cleaners on a single computer.  ( ccleaner and glary utilities )  :-\

    Broni


      Mastermind
    • Kraków my love :)
    • Thanked: 614
      • Computer Help Forum
    • Computer: Specs
    • Experience: Experienced
    • OS: Windows 8
    Re: registry cleaner..
    « Reply #1 on: February 03, 2010, 09:57:33 PM »
    Registry cleaners are not recommended to start with.
    If you want double trouble, run two cleaners.

    kaveman1969



      Rookie

      Thanked: 1
      Re: registry cleaner..
      « Reply #2 on: February 04, 2010, 12:05:58 AM »
      Lol. I knew this would be the response.

      I've never once had an issue with CCleaner cleaning the registry, or any other cleaner for that matter.

      You guys go on about about how it will eventually screw up the system, but that has never been the case with me and I've been using PCs for quite some time.

      You have to be smart about it, common sense wise, but what's wrong with removing traces in the registry of programs no longer installed?
      Nothing, that's what.

      I used CCleaner every day for almost 4 years on my last PC, cleaning everything, and no issues at all.
      No blue screens, no warnings at starts, no re-boots, nothing.

      I use it now on my new PC and if anything it keeps it just as fast as the day I bought it.
      If four years doesn't mean a program works without doing harm, well, then it's too high a bar for any program to pass.
      Do it intelligently, and no issues should arise.

      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: registry cleaner..
      « Reply #3 on: February 04, 2010, 03:28:37 AM »
      Lol. I knew this would be the response.

      I've never once had an issue with CCleaner cleaning the registry, or any other cleaner for that matter.

      You guys go on about about how it will eventually screw up the system, but that has never been the case with me and I've been using PCs for quite some time.

      You have to be smart about it, common sense wise, but what's wrong with removing traces in the registry of programs no longer installed?
      Nothing, that's what.

      I used CCleaner every day for almost 4 years on my last PC, cleaning everything, and no issues at all.
      No blue screens, no warnings at starts, no re-boots, nothing.

      I use it now on my new PC and if anything it keeps it just as fast as the day I bought it.
      If four years doesn't mean a program works without doing harm, well, then it's too high a bar for any program to pass.
      Do it intelligently, and no issues should arise.


      I'm trying to decide wether to dig up one of my old registry cleaner rants or make a new one.
      basically programs mucking about in the registry is a bad idea- they try to mechanically understand what is stored there and determine wether they should delete it. The only section in the registry where that is possible is HKEY_CLASSES_ROOT, which stores registration information about OLE and ActiveX Objects- sometimes programs can be deleted/uninstalled and leave their registration info. Basically if the file doesn't exist the key can be deleted. (CCleaner's registry cleaner portion does this)

      the other keys- the ones used by programs to store data -  could be anything. A prime example is a registry value that specifies, say, a filename. Most registry cleaners simply look to see if the file exists and delete the key if it doesn't exist- but what they fail to understand is that might not be the purpose of the key- it might specify a file to create, for example.

      In either case, a registry cleaners will never result in anything but miniscule gains in performance; and oftentimes can result in missing functionality or broken programs- sometimes issues so great that only a reinstall of windows can assure the issue is resolved.

      If you've used it your probably safe- it's constant usage (say, once a day) of the registry cleaners that make them prone to mistakes. That's not to say you should even use them in moderation, they are notorious troublemakers.

      on top of the occasional disk cleanup and defragmenter, a chkdsk once every month or so can't hurt, either. (in fact, it's best to run a chkdsk before you defragment anyway.


      Another one...

      this has been discussed to DEATH in the forum.

      the reason they are useless is there is no way to differentiate "bad data" from good data within the registry, which is why a lot of runs of these so called "Cleaners" their internal hueristics might decide that certain data values are invalid- for example, many flag filenames in the registry that don't exist. What if the path points to a disconnected network drive? The cleaner will flag it and delete it, and the next time the app is run it will perform unexpectedly, possibly crashing.


      Additionally although verifying the existence of COM server DLL,OCX, and EXE file is a simple directory lookup some configurations might have some of the registered com components on  removable drive. run the cleaner while it's unplugged and it will delete the otherwise perfectly valid entries.

      This situation compounds when it tries to verify component categories and CLSID's between the versions of the same component.

      It boils down to this- Registry cleaners, regardless of the amount of hueristic data can not foresee how, or what applications store in the registry and thus it is a fools errand to try to define some standard.


      This isn't even factoring in the use of the term "corrupt". If a registry is corrupted- windows won't boot. you cannot have a few "corrupted entries" unless specific applications purposely wrote those values to the registry. I've found most "corruption" as flagged by these so called registry cleaners is a REG_BINARY type that an application uses. Of course the proposed fix is the delete the entry, rendering that application unusable.

      I've said it once and I'll say it again- the fact that registry cleaners even have a market is simply because of the instilled preconception by users that it holds anything more then mere data. It's a data repository, and nothing more; basically a giant conglomeration of Heirarchal INI files, really.

      Why was there never a "INI file cleaner"? the same reason there shouldn't be one now- there is no way to objectively decide wether a foreign program's data is valid or not- but there wasn't- for the sole reason that people understood INI files, Now, there is a cloud of confusion over the registry. I've heard people refer to it as the "brain" of windows, which is like calling a acountants paper his brain- completely false. The reason registry cleaner's exist at all is because people think they are useful, when in fact the only purpose they serve is a placebo to the user who actually believes there is a such thing as a "registry issue". There isn't.


      The only reason the registry even exists is thanks to OLE and COM, which used the windows 3.1 registry to save OLE registration information. Later versions removed the registry size limit (to some degree) and improved the node/key heirarchy. The registry's main purpose is to store COM/OLE registration, File association, and other system specific information, and as I said, no program can pass judgement on what another program considers to be valid. So what if a string looks like a filename? Without knowing how the application loading that string uses it the cleaner program has no business flagging it as "corrupt" or "file missing" or anything of the sort.


      ONE change- a registry cleaner has only one, very specific use case- the removal of orphaned CLSID entries during the development of a COM component. Now I'm going to go out on a limb and say the average user really doesn't develop COM components. However- this use is PURELY cosmetic- a larger registry instills absolutely no time penalty of any sort, and the symptoms that people often diagnose as a "corrupt registry" or "registry issues" are 100% caused by malware. Warranted, the malware installs itself via registry keys in the Winlogon notify, RUN, and various plugin keys for the shell, but that doesn't make the entries invalid anyway- they are perfectly legal, which is why a spyware app is required to properly remove the entries, since it can flag the DLL's in question as malicious and thusly knows via it's database exactly how to go about removing it.

      And an entire thread about it here:

      http://www.computerhope.com/forum/index.php/topic,77609.0.html

      And another one:
      Registry cleaners should NOT delete ANY files.

      the registry is composed of two files. SYSTEM.DAT and NTUSER.DAT, (with others loaded if "switch users" functionality is enabled)

      each Hive is stored in a separate file- there are really only two hives, HKEY_USERS and HKEY_LOCAL_MACHINE. (HKEY_CLASSES_ROOT is just a reference to keys elsewhere in the registry, be them in the system or user hives).

      HKEY_CURRENT_USER, of course, is just another alias to the HKEY_USERS key that holds the current users registry data.






      registry cleaners work by deleted what they deem to be unused registry entries. the problem lies in determining just what an "unused entry" or obsolete entry is. most will scan the HKEY_CLASSES_ROOT alias for references to COM objects whose executables no longer exist, and delete those entries.

      the same steps are taken with other entries; (non-existent files, executables, etc).

      each entry is not a file or folder, of course- there are registry keys and registry values. registry keys can hold any number of other keys and values as well as a default value (which shows up in the values pane).


      As an example- take ProgID lookup for object names such as "Word.Application".

      First, the Com Loader needs to get the CLSID of the concrete class to instantiate. to do so, it searches for Word.Application as a key under HKEY_CLASSES_ROOT (which we've already established as an alias to elsewhere in the registry). finding this, it retrieves the CLSID, and performs a similar lookup, and looks inside and sees the InProcServer32 (or other COM key) and finds the path to the DLL/EXE, which it subsequently loads and uses.

      If anything along this line is messed up due to some hueristical bug in the registry cleaner- for example, if it references a DLL file name that it deems "invalid" because it doesn't end with EXE,OCX, or DLL... then the entire Component will not load. Word would still start, and re-add the appropriate entries; but  any attempt to automate word via OLE would fail miserably.


      For Me; I'll use a registry cleaner, but only because every single time I compile one of my components, VB6 insists on making a NEW set of COM keys; they inEvitably become obsolete, when I abort the project or erase the DLL or move it, or whatnot.



      There is however the additional question of the HKEY_CLASSES_ROOT key, where values CAN be determined to be invalid. the HKEY_CLASSES_ROOT key stores, as well as information about file extensions, information about registered COM components. Since each CLSID entry has a InprocServer32 or a similar key (I cannot remember the name for the out of process server exe) the validity can be determined simply by checking if the file exists.

      or can it? What if the file is on a removable drive that is not plugged in or a network drive that is not mapped? Basically, the value is valid when it's used, but not at the time of running the program. So what happens? you plug in  your flash drive and try to run one of the programs on it, and you get an error- and unless you know exactly what the registry cleaner program has removed and how do use the command line tool regsvr32 you'll likely need to reinstall.

      And that's just MY posts... the topics I grabbed those from have a lot of other relevant posts in them too.

      Quote
      I've never once had an issue with CCleaner cleaning the registry, or any other cleaner for that matter.

      "I've never been run over by a bus. therefore it is safe to jump in front of them."

      Also I'll add that CCleaner is not really a registry cleaner. All it does is remove obsolete COM registration entries. Of course this doesn't really help at all, either.
      I was trying to dereference Null Pointers before it was cool.

      Allan

      • Moderator

      • Mastermind
      • Thanked: 1260
      • Experience: Guru
      • OS: Windows 10
      Re: registry cleaner..
      « Reply #4 on: February 04, 2010, 05:43:39 AM »
      The bottom line is: Registry cleaners perform no useful function whatsoever. But if you want to use them on your own system, feel free. It's yours to do with as you wish.

      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: registry cleaner..
      « Reply #5 on: February 04, 2010, 06:03:25 AM »
      Ok I'm bored so I'm going to flesh out my analogy a little more.

      Quote
      I've never once had an issue with CCleaner cleaning the registry, or any other cleaner for that matter.

      You guys go on about about how it will eventually screw up the system, but that has never been the case with me and I've been using PCs for quite some time.

      what I read here is basically something like:
      Quote from: busjumper
      I've never once had an issue with jumping in front of buses, or any other vehicle for that matter. They always swerve out of the way.

      You guys go on about about how I will eventually be a streak on the road, but that has never been the case with me and I've been jumping in front of vehicles for quite some time.




      OK so the translation isn't direct but it's funny; and the concept is the same. There is absolutely no benefit to cleaning the registry. In fact, I'd even go so far as to say that you cannot even define what it means to "clean" the registry. It's a database, not a file system. a database cannot be cleaned; it's data; you cannot hope to analyze it to discover, "oh hey, look here, Susan cancelled her order for product ID 45, we'll just drop that table" without specific instructions about that specific database layout, and, more importantly, knowing what the data means.

      ccleaner is "safe" in the sense that it only deals with keys that are easily parsed, or more precisely, those areas that have a stable, known format.

      You get huge savings from a registry cleaner. yep, sometimes you can remove almost a entire kilobyte. Personally the time it takes me to start ccleaner, choose the registry cleaner item, and "clean" the registry is worth far more then 1kb of space.; I don't even bother to run the cleaner if I am only going to save 1MB of file data, so I'm not sure why it would be different with registry data.

      I was trying to dereference Null Pointers before it was cool.

      evilfantasy

      • Malware Removal Specialist


      • Genius
      • Calm like a bomb
      • Thanked: 493
      • Experience: Experienced
      • OS: Windows 11
      Re: registry cleaner..
      « Reply #6 on: February 04, 2010, 12:50:02 PM »
      The bottom line is: Registry cleaners perform no useful function whatsoever. But if you want to use them on your own system, feel free. It's yours to do with as you wish.

      Exactly! The registry by size is so small compared to other areas of Windows that cleaning it will likely NEVER show an increase (by human senses) in performance.

      Just because some of us do use them now and then (they do have their place) does not mean we are entitled to or should even consider advising that someone else run one on their computer.

      If you are having errors then a registry cleaner is THE LAST thing you want to use!

      The stories of them trashing systems are true, not myths!

      Broni


        Mastermind
      • Kraków my love :)
      • Thanked: 614
        • Computer Help Forum
      • Computer: Specs
      • Experience: Experienced
      • OS: Windows 8
      Re: registry cleaner..
      « Reply #7 on: February 04, 2010, 12:57:47 PM »
      Quote
      If you are having errors then a registry cleaner is THE LAST thing you want to use!
      This is an excellent point, since most people use cleaners while attempting to correct some errors.

      Allan

      • Moderator

      • Mastermind
      • Thanked: 1260
      • Experience: Guru
      • OS: Windows 10
      Re: registry cleaner..
      « Reply #8 on: February 04, 2010, 01:06:08 PM »
      This is an excellent point, since most people use cleaners while attempting to correct some errors.

      +2

      alsuz



        Rookie

        Re: registry cleaner..
        « Reply #9 on: February 06, 2010, 10:49:22 PM »
        so what do u do if u have run cc cleaner.  i'm having trouble with my computer being slow and it hangs up when i click on something in the internet to look at but will eventually unhang itself..also, when I sign on there is something that pops up that basically says that it can't find my webb in programs and has rundll on it..i'm not very computer savy, which is a problem.

        evilfantasy

        • Malware Removal Specialist


        • Genius
        • Calm like a bomb
        • Thanked: 493
        • Experience: Experienced
        • OS: Windows 11
        Re: registry cleaner..
        « Reply #10 on: February 06, 2010, 10:58:16 PM »
        Download TrendMicro HijackThis.exe (HJT) to the desktop.

        * Double-click on HJTInstall.
        * Click on the Install button.
        * It will automatically place HJT in C:\Program Files\TrendMicro\HijackThis\HijackThis.exe.
        * Upon install, HijackThis should open for you.
        * Important! If using Windows Vista or Windows 7, close HijackThis. Now right-click HijackThis and Run As Administrator
        * Click on the Do a system scan and save a log file button
        * HijackThis will scan and then a log will open in notepad.
        * Copy and then paste the entire contents of the log in your post.
        * Do not have HijackThis fix anything yet. Most of what it finds will be harmless or even required.