Automatic compression of the Registry

Martin Brinkmann
Oct 19, 2007
Updated • May 17, 2014
Software, Windows
|
4

I wrote a tutorial yesterday on how to compress the Windows Registry manually. The process itself was not really complicated but it involved booting into DOS to complete the changes to the registry that have been made by the process.

Tehmul (more of that please) left a comment and mentioned a software program named NTREGOPT (NT Registry Optimizer) which optimizes the full registry and performs the replacement during the next system boot automatically.

This is of course a far better method of compressing the Registry as you don't have to reboot to do so which is why I decided to review NTREGOPT here on Ghacks as well. Just run the software after downloading and installing it. It will automatically check and compress the registry displaying information about the reduction at the end of the process.

As you can see the size of the optimized registry is about 5 Megabytes smaller than the size of the unoptimized registry. The registry files are replaced on the system boot which is far more comfortable than having to boot into DOS to give the restore commands manually.

Please note that the homepage lists two different programs on it, and that you need to download the NT Registry Optimizer to use its functionality. The program is fully compatible with all recent versions of the Microsoft Windows operating system including Windows 7.

I'd also like to address why you want to compress the Registry from time to time. You see, Registry space does not get removed from the Registry once assigned to it. This means that the Registry will grow in size over time, and that may impact the time it takes to boot into the operating system.

Similar to Windows 9x/Me, the registry files in an NT-based system can become fragmented over time, occupying more space on your hard disk than necessary and decreasing overall performance. You should use the NTREGOPT utility regularly, but especially after installing or uninstalling a program, to minimize the size of the registry files and optimize registry access.

The optimization basically removes empty space in the Registry that is no longer needed so that the file size is reduced as a consequence.

Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. Anonymous said on March 9, 2023 at 1:52 pm
    Reply

    Does it come back after every “moment” update?

  2. Baloney said on March 9, 2023 at 2:23 pm
    Reply

    Yeah right.. Like this is going to stop defender from running =) This is comedy gold right here.

  3. Anonymous said on March 9, 2023 at 3:25 pm
    Reply

    no ‘about the author’ paragraph?

  4. Gregory said on March 9, 2023 at 4:19 pm
    Reply

    For permanent disable defender is if removed complete from system no just change permission folder.

    Just this is joke.

  5. moi said on March 9, 2023 at 5:57 pm
    Reply

    simpler, load Autoruns (SysInternals)
    – filter “Defender”
    – untag all entries
    – reboot
    nothing has changed since my 1st modification years ago

  6. John G. said on March 9, 2023 at 6:32 pm
    Reply

    I wouldn’t disable Defender imho, it has too many hidden roots inside Windows itself. One time I tried to uninstall it using brute force scripts and then the Onedrive feature stopped working definitely. A reinstallation was needed and since those times I prefer to maintain Defender untouched. It’s a better method to install another antivirus and it will disable Defender in a safer and easier mode (e.g., Avast is the best in this way, and also Panda Cloud Free is good too).

  7. boris said on March 10, 2023 at 12:19 am
    Reply

    You can not stop defender from running in background or remove it without some penalty. All you can do is to limit telemetry.

    1. TelV said on March 10, 2023 at 4:52 pm
      Reply

      @borts,

      It’s probably Smartscreen which is preventing WD from being disabled. Get rid of that and the problem should be solved: https://thegeekpage.com/disable-windows-defender-smartscreen/#How_to_disable_the_Windows_Defender_SmartScreen_via_Local_Group_Policy_Editor

  8. hoho said on March 10, 2023 at 1:47 pm
    Reply

    Remove Windows and go for Linux.

    1. basingstoke said on March 10, 2023 at 2:51 pm
      Reply

      Linux sucks dude. Besides it’s not comparable to Windows, these OSes are in different classes entirely.

      1. Derp said on March 10, 2023 at 4:36 pm
        Reply

        I use Linux as my daily driver. It’s far more stable than Windows. When’s the last time you used Linux, 2010?

      2. Bromosexual said on March 11, 2023 at 2:04 am
        Reply

        @basingstoke

        You’re right, dude. Bro, linux is just a bunch of code that starts before the OS, dude. Brobrodude, that shit ain’t even got emojis, dudebrodudeman! Dudebro, it’s no way near as cool as Windows with its hardcoded abilities to make money off the user, bro. Yo brodude man, you’re the coolest dude ever man, bro. Dude.

      3. basingstoke said on August 16, 2023 at 7:20 pm
        Reply

        Lol what? Windows 7 doesn’t come with any Emojis

  9. TelV said on March 10, 2023 at 4:46 pm
    Reply

    Download Autoruns and remove the checkmark from Windows Defender. It doesn’t remove it, but it will never run. https://learn.microsoft.com/en-us/sysinternals/downloads/autoruns

  10. Simon said on March 10, 2023 at 8:37 pm
    Reply

    Just use “Defender Control”:
    https://www.sordum.org/9480/defender-control-v2-1/comment-page-1/#comments

    Per this video,
    https://www.youtube.com/watch?v=CLIjr7FyxZ8
    it also works on Windows 11 too…

  11. Someone said on March 10, 2023 at 9:26 pm
    Reply

    Win Defender, is completly the most succesful free-built in antivirus of Microsoft. Really nice product. Saved my ass a lot of times. Has updated malware database, completly strong defence
    from whatever smart screen disables. Or if you want better and more upgrated (paid) program,
    you can go further. But defender is always on your side.

  12. CalixtoWVR1 said on March 10, 2023 at 10:03 pm
    Reply

    Why would one disable Windows (or Microsoft) Defender in the first place?. I consider this to be playing with fire big time. Everybody knows that if one is using another A-V, Defender will be disabled on its own and won’t be in one’s way.

  13. Ed D said on March 10, 2023 at 11:09 pm
    Reply

    Why would I want to disable Windows Defender in the first place? It’s a great anti virus in my opinion. Been using it since Windows 8 and and never had a problem or a virus. Why mess with a good thing, if it ain’t broke don’t fix it.

  14. owl said on August 17, 2023 at 1:57 am
    Reply

    How a ridiculous article!
    I am thoroughly stunned.

    Why Should You Disable First-Party Windows Defender?
    I can only think that it is “malice or perversely intention (want you to buy a third-party AV where you can expect a back margin)” to guide invalidation without showing the premise.
    No sane company will use third-party closed source programs (such as AV).

    As I thought, “Ghacks Technology News” seems to be coming to downfall.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.