Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.pascal.delphi.misc > #155

Re: Defragmenting the registry

From Erick Engelke <erick@uwaterloo.ca>
Newsgroups comp.lang.pascal.delphi.misc, alt.comp.lang.borland-delphi
Subject Re: Defragmenting the registry
Date 2011-12-29 20:49 -0500
Organization University of Waterloo
Message-ID <20111229204456.M98576@engmail.uwaterloo.ca> (permalink)
References <0c9da113-8280-467a-9ef2-75abb8648a27@m10g2000vbc.googlegroups.com> <Xl5Lq.41776$_H.32700@newsfe16.iad>

Cross-posted to 2 groups.

Show all headers | View raw


On Thu, 29 Dec 2011, Jamie wrote:
>> 
>> Have anyone tried to defragment (or compact) the registry at run time?
>> 
>> I have searched the net, but found nothing but programmes doing this.
>> An example in any language would be useful.

>
> Playing with the registry is a dangerous game!
>
> What I have seen done is the reading and writing of the
> complete registry. Much like the exporting and importing
> of the registry.. However, it is a dangerous operation when
> something goes wrong in the middle of a registry image
> change.

There are two ways I can see doing it:

1. writing a registry attaching driver that keeps track of changes 
happenning while you do the read/copy of the registry

or 2. Find the format of the registry and do it offline, such as booted 
from a BartPE disk.
http://www.codeproject.com/KB/recipes/RegistryDumper.aspx

Erick

Back to comp.lang.pascal.delphi.misc | Previous | NextPrevious in thread | Find similar


Thread

Defragmenting the registry Sonnich Jensen <sonnichjensen@gmail.com> - 2011-12-29 10:13 -0800
  Re: Defragmenting the registry Jamie <jamie_ka1lpa_not_valid_after_ka1lpa_@charter.net> - 2011-12-29 16:59 -0500
    Re: Defragmenting the registry Erick Engelke <erick@uwaterloo.ca> - 2011-12-29 20:49 -0500

csiph-web