Network Operating Systems (CST-365) : Department:-Computer Science & Engineering Tanya Gupta Unit - 2
Network Operating Systems (CST-365) : Department:-Computer Science & Engineering Tanya Gupta Unit - 2
Network Operating
Systems
(CST-365)
Department:- Computer Science &
Engineering
Tanya Gupta
Unit -2
Chapter 2.4
Lecture 26
Contents
• Introduction
• Purpose
• Location
• Accessing the Windows Registry
• Structure of the Windows Registry
• How Problems with the Registry can Occur
• How do the Registry Problems Affect Your System
• Why do you need a Registry cleaner
• Benefits of Using a Registry Cleaner
Introduction
• Whenever a user installs a software program/application, a
hardware or a device driver for a newly connected
hardware in a Windows based computer system, the initial
configuration settings of these are stored as keys and
values in a system defined, central hierarchical database
repository called Windows Registry.
• During the usage of the software or the hardware, the
changes made to these configurations are updated in the
registry.
• Also, the changes made to Control Panel settings, file
associations, Windows components and so on, during the
use of the computer, are updated in the registry.
Contd..
• The software and the system components retrieve their latest
configuration from the registry during their run-time to
continue their operation as per the settings made by the
current user.
• The registry also serves as an index to the operation of the
kernel, revealing run-time information of the system.
• Registry is a critical factor for stability, reliability and
performance of a computer. Most of the computer problems
are caused by system registry errors.
• Invalid registry keys left as traces by applications that are no
more used or uninstalled from the computer, and so on, may
cause troubles including degradation in system performance in
terms of operating speed, reliability etc., crashes, stalls and so
on.
Purpose
• The Windows Registry serves as an archive for
collecting and storing the configuration settings of
Windows components, installed
hardware/software/application and more.
• A Windows component, hardware or a software,
retrieves the registry entries or keys relating to it,
every time it is started.
• It also modifies the registry entries or keys
corresponding to it, in its course of execution.
• When keys are added to the registry, the data are
sorted as computer-specific data or user-specific data
in order to support multiple users.
Location
• In Windows NT based operating systems like Windows XP, 2000, and 2003,
the Registry files are stored in the WindowsSystem32Config folder. These
files are named:
• · Software;
• · System;
• · SAM;
• · Security;
• · Default; and
• · UserDiff.
• These files do not have a file extension. The information contained in these
files are explained later.
• Apart from this, in the Documents and Settings folder corresponding to each
user of the system, one more Registry file named NTuser.dat is stored. The
NTuser.dat file stores all the preferences/settings specific to the user. These
settings will override settings default settings of the system when the user
logs-in.
Contd..
• HKEY_USERS – The configuration settings for each hardware and software
item in the computer system, corresponding to each of the users of the
computer system are stored in this hive. The information on the user's
folders, user's choices of themes, colors and Control Panel settings are
stored here as user's profile. This hive has a subkey for each user storing
his/her user's profile.
Contd..
• HKEY_LOCAL_MACHINE - The configuration settings
for hardware and software for all users of the
computer are stored in this hive. The information
stored here is computer specific and not user
specific.
Contd..
• Reduction in reliability. The active
process/application may not be able to reach its
respective registry entry due to fragmentation of
registry of increased size, resulting in unexpected
termination of the programs. This makes the user to
lose any unsaved data;
• Reduction in stability. The fragmented, slow registry
takes a long time to fulfill requests sent to it by the
active programs and hardware devices and causes
system freezes and rebooting;
• System crash. Excessive damage to the Registry can
even make the system unbootable.
University Institute of Engineering (UIE)
Department of Computer Science and Engineering (CSE)
References
• Text Books:
• 1. Operating system principles, 7th edition by Abraham Silberschatz, Peter
Baer Galvin, Greg Gagne
• 2. Operating Systems Design and Implementation (Prentice Hall Software
Series), Andrew S Tanenbaum, Albert S Woodhull
• 3. Mastering Microsoft Windows Server 2008 R2, Mark Minasi, Darril
Gibson, Aidan Finn, Wendy Henry, Byron Hynes
• Reference Books:
• 1. https://docs.microsoft.com/en-us/troubleshoot/windows-server/
windows-server-eos-faq/end-of-support-windows-server-2008-
2008r2#:~:text=More%20information%20%20%20%20Product
%20%20,%20%204%2F14%2F2020%20%2016%20more%20rows%20
• 2. https://www.microsoft.com/en-in/download/details.aspx?id=11093
THANK YOU