End User Support:Operating Systems
Windows 9x
Registry Cleaners
The Registry is a central database that holds important settings for a Windows installation.
Corruption of the Registry can prevent a PC from starting, and remnants of unnecessary
data can slow it down. Occasional cleaning of the Registry is therefore a good idea,
but it's crucial to get it right and to take precautions.
By Julian Moss
T
he Registry performs a central
Problems
tions and utilities must not access these
and vital role in all 32 bit ver
files directly. However, the Registry is
sions of Windows. It holds con
Corruption is one cause of Registry
organised as a hierarchical tree struc
figuration
data
for
the
system
problems. Under Windows 95 and 98,
ture, rather like the file system of a
hardware and software, as well as user
Registry data is held in two files, SYS
hard disk. Techniques similar to those
preferences and settings.
TEM.DAT and USER.DAT. These files
used in file systems are used to speed
The integrity of the Registry is im
are as prone as any other open file to
up access to information in the Regis
portant. If information in the Registry
problems caused by file system errors
try and to allocate space for new keys.
is incorrect, a system or an application
such as cross linking. To minimise the
For example, Registry keys that are
may malfunction. Windows may even
risks on systems using the FAT file
open are cached in memory. Writes to
fail to start altogether.
system, ScanDisk should be run at fre
the Registry are performed asynchro
The importance of the Registry is
quent intervals and particularly after
nously so that applications are not held
common knowledge. However, Win
program or system crashes. Windows
up until they are finished.
dows is dependent on the Registry to a
NT stores and updates its Registry in a
greater extent than many people real
different and more secure manner, so
Fragmentation
ise. Applications and Windows itself
under NT corruption should not be a
make considerable use of COM/Ac
problem.
Once data has been written to the
tiveX software components, and the
Invalid data is a more frequent
Registry it remains in the same physi
Registry is the glue that joins these
cause of problems. A common exam
cal location in the file. If data is deleted,
components together. If the data re
ple of this is when files referred to in
the space it occupied is freed and be
lated to these components is invalid,
the Registry are deleted without the
comes available for new data. If a suf
Windows can fall apart. And if there
Registry entries also being removed.
ficiently large contiguous block of
are problems in this part of the Regis
Poorly written setup and uninstall
space is not available to write a new
try they are almost impossible to fix
programs are often to blame for this, as
item of data then the DAT file is ex
manually because the structures and
are users who remove software by de
panded and the data is written at the
relationships between the various
leting it using Explorer or an MS DOS
end. It follows from this that the Reg
items of data are almost impossible to
prompt. Home users, who often install
istry data files can grow but will never
figure out (indeed, the Windows Reg
and uninstall trial software and who
shrink. Also, information in the Regis
istry is the subject of at least one entire
are inclined towards tinkering around
try can become fragmented, in the
book).
without understanding what they are
sense that a set of related values or keys
You may be surprised at how fre
doing, often suffer from such prob
may not be stored contiguously on the
quently the Registry is accessed. Data
lems, and utilities have been devel
hard disk.
is constantly being referred to and up
oped to try to resolve them. In a
Despite the existence of some third
dated, right from when Windows
controlled
corporate
environment
party utilities that claim to optimise the
starts up until it finally shuts down.
however this sort of occurrence should
Registry, there is no hard evidence that
Every time you move a Window, for
be rare.
Registry fragmentation has a notice
example, or change almost any setting
The speed with which the Registry
able effect on system performance. It
in any application, the data gets saved
can be accessed may have an effect on
certainly isn't going to improve it, but
in the Registry. If data held in the Reg
system performance but there is little
when considered alongside other
istry takes longer to access than it
scope for optimisation. Microsoft does
things that make a system perform
needs to, system performance could be
not publish details of the internal for
slowly the contribution made by Reg
adversely affected.
mat of the DAT files because applica
istry fragmentation is probably negli
Update 120 (October 1998) page 3
File: E1208.1
PC Support Advisor
Next page >
New! The best sites for quality inkjet printer cartridges and the best sites for cheap inkjet cartridges