Re: Auto-saving the registry



Rob Kennedy wrote:
>
> The whole thing? That could be hundreds of megabytes. All because you're
> not sure whether your code works correctly?

Is the situation really that bad nowadays, the Registry file could be
hundreds of megabytes? I have never seen such a beast yet (knock,
knock).

I wonder what there is stored in those cases. Almost looks like someone
would be using Registry as replacement for some simple Access database
or something.

Most of the time, I avoid writing any application settings or almost
anything to Registry. I prefer the old ascii based INI files in this
case, and store them to the same sub directory with my application.

I think that ascii storage is coming back anyway, in the form of XML
files. Even the next version of MS-Office will be using XML-format as
the primary storage.
http://www.microsoft.com/presspass/features/2005/jun05/06-01XMLFileFormat.mspx

> The registry isn't some delicate thing that could break if you look at
> it wrong.

I think that the registry may easily get corrupted. Even if you do not
touch it at all:) Several drivers, application settings, service packs
etc. can make such changes to Registry that Windows won't start any
more. Of course there are those built-in restore points for trying to
restore Registry, but sometimes even these won't help.

Anyway, I would pretend that I wholly trust to those built in restore
mechanisms. And if the restoring fails, tell the customer that all this
catastrophe is Microsoft's fault again:)
Writing my own routines to backup and restore the whole Registry in
usual application installations is overkill.

Justin
.



Relevant Pages

  • Re: Size 10 envelope is printing wrong
    ... import the backup it would restore the original settings. ... You can remove the envfeed_7 entry from the registry and then when you make ... the changes in the envelope editor it should re-enter the required settings. ...
    (microsoft.public.word.application.errors)
  • Re: Windows XP Pro is FUBARd!!! Help!
    ... Which registry key/entry did you remove, ... this generally has to do with Norton Systemworks 2003 Pro. ... > So I said to myself, "Self, use System Restore". ... Upon restart, the blue screen of death came back. ...
    (microsoft.public.windowsxp.general)
  • Re: Networking, registry and more problems!
    ... "Windows cannot display the Properties of this connection. ... use System Restore to restore Windows to an earlier time ... The Magnuson-Moss Warranty Act ... "One of the files containing the system's Registry data had to be ...
    (microsoft.public.windowsxp.general)
  • Re: cannot open search page - something new?
    ... Check the Registry to see if this file is there. ... To Restore Address Search Functions ... > install and trying a different working ethernet card. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Anyone familliar with ERUNT?
    ... B.Hagen asked:>>If I back up my registry using this tool, ... Restoring the registry with ERDNT ... If you are NOT able to get Windows running at all, ... of the partition with the NT installation to restore. ...
    (microsoft.public.windowsxp.general)