Working with the Windows XP Registry

Slides:



Advertisements
Similar presentations
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 3 Configuring the Windows Server 2008 Environment.
Advertisements

Installing Windows XP Professional Using Attended Installation Slide 1 of 35Session 9 Ver. 1.0 CompTIA A+ Certification: A Comprehensive Approach for all.
Configuration Files CGS2564. DOS Config.sys Device drivers Memory configuration Autoexec.bat Run programs, DOS commands, etc. Environment settings File.
KAPLAN SCHOOL OF INFORMATION SYSTEMS AND TECHNOLOGY Welcome to Unit 3 IT278 Network Administration Course Name – IT278 Network Administration Instructor.
The Windows Registry Adapted from
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 9: Implementing and Using Group Policy.
Chapter 3: Configuring the Windows Vista Environment.
Registry Analysis What is it? What does it contain?
Hands-On Microsoft Windows Server 2003 Administration Chapter 10 Monitoring and Troubleshooting Windows Server 2003.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
The Windows XP Registry : MCSE Guide to Microsoft Windows XP Professional.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 9: Implementing and Using Group Policy.
5.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 5: Working with File Systems.
Hands-On Microsoft Windows Server 2003 Administration Chapter 6 Managing Printers, Publishing, Auditing, and Desk Resources.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 5: User Environment and Multiple Languages.
Chapter 10 Chapter 10: Managing the Distributed File System, Disk Quotas, and Software Installation.
Chapter 11 Basic Windows and Windows Commands. Overview of what an Operating System does To identify and use common desktop and home screen icons To manipulate.
Maintaining Windows Server 2008 File Services
Operating System & Application Files BACS 371 Computer Forensics.
OS and Application Files BACS 371 Computer Forensics.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
Installing Windows Vista Lesson 2. Skills Matrix Technology SkillObjective DomainObjective # Performing a Clean Installation Set up Windows Vista as the.
11 REVIEWING MICROSOFT ACTIVE DIRECTORY CONCEPTS Chapter 1.
IT Essentials - Chapter 4 Operating System Fundamentals.
COMP1321 Digital Infrastructure Richard Henson February 2012.
Windows 95 requirements l 80386DX or higher machine l at least 4 MB of RAM (8 MB recommended) l mouse l VGA or better monitor l hard drive with at least.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 9: Implementing and Using Group Policy.
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner.
1 Microsoft Windows Internals, 4 ed Chapter 4. Management Mechanisms The Registry 謝承璋 2008 年 05 月 07 日.
1 Chapter Overview Understanding the Boot Process Editing the Registry Using Startup and Recovery Tools Safe mode LastKnownGood configuration Advanced.
11 SECURITY TEMPLATES AND PLANNING Chapter 7. Chapter 7: SECURITY TEMPLATES AND PLANNING2 OVERVIEW  Understand the uses of security templates  Explain.
MCTS Guide to Microsoft Windows 7
CN2140 Server II Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
Ch 11. Services A service is a specialized program that performs a function to support other programs Many services operate at a very low level – Interacting.
Chapter Fourteen Windows XP Professional Fault Tolerance.
A+ Guide to Software Managing, Maintaining and Troubleshooting THIRD EDITION Chapter 8 Managing and Supporting Windows XP.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 12 Supporting Windows 9x.
Chapter 13 Users, Groups Profiles and Policies. Learning Objectives Understand Windows XP Professional user accounts Understand the different types of.
Windows NT Chapter 13 Key Terms By Bill Ward NT Versions NT Workstation n A desktop PC that both accesses a network and works as a stand alone PC NT.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 13 Understanding and Installing Windows 2000 and Windows NT.
MCTS Guide to Microsoft Windows Vista Chapter 4 Managing Disks.
Windows Registry Application Developer Issues SIG North Texas PC Users Group January 11, 2003 Daniel Ogden SIG Co-Leader
File System Management File system management encompasses the provision of a way to store your data in a computer, as well as a way for you to find and.
14 Step-by-Step Instructions for an Upgrade Installation n Prepare for the installation Verify that all devices and applications are Windows 2000 compatible.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 7 Under the Windows Desktop McGraw-Hill.
Windows Vista Inside Out Chapter 24 – Recovering From an Computer Crash Last modified am.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 13 Understanding and Installing Windows 2000 and Windows NT.
Week #3 Objectives Partition Disks in Windows® 7 Manage Disk Volumes Maintain Disks in Windows 7 Install and Configure Device Drivers.
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 23 – The Registry.
1 Windows 98 Ancillary Systems x The Process Scheduler provides system resources. The Windows Driver Model (WDM) allows Windows 98 and Microsoft Windows.
Module 15 Managing Windows Server® 2008 Backup and Restore.
Supporting Windows 9x Chapter 12 Key Terms By Bill Ward.
Chapter 10 Chapter 10: Managing the Distributed File System, Disk Quotas, and Software Installation.
MCTS Guide to Microsoft Windows Vista Chapter 12 Application Support.
Chapter Thirteen Booting Windows XP. Objectives Understand the Windows XP boot process Understand the Windows XP boot process Troubleshoot system restoration.
IT Essentials 1 Chapter 5 Windows 9x Operating Systems.
MCTS GUIDE TO MICROSOFT WINDOWS 7 Chapter 11 Application Support.
Managing Services and Registry Chapter 16 powered by dj.
I T Essentials I Chapter 5 JEOPARDY Installing & UpgradingComputerBasicsErrorsServicePotpourri
Chapter 8: Installing Linux The Complete Guide To Linux System Administration.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 7 Under the Windows Desktop McGraw-Hill.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 7 Under the Windows Desktop McGraw-Hill.
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
Introduction to Operating Systems
Under the Windows Desktop
CONFIGURING HARDWARE DEVICE & START UP PROCESS
Windows Registry: Introduction
Presentation transcript:

Working with the Windows XP Registry Chapter Twelve Working with the Windows XP Registry

Objectives Understand the function and structure of the Registry Describe the purpose of each of the five Registry keys and the hive files to which some of them map Use the Registry editor and various other Registry

Objectives Understand default Registry sizing techniques and limits on Registry size Understand the fault-tolerance mechanisms for the Registry Back up and restore the Registry

Working with the Windows XP Registry The hierarchical database of system configuration data essential to the health and operation of a Windows XP system Contains most of the control and functional settings for Windows XP core elements, services, and native applications

Windows Registry Overview The Registry is divided into keys and subkeys Each Registry key is similar to a bracketed heading in an .ini file and represents a top-level container in the Registry hierarchy Each key must contain at least one or more lower-level keys called subkeys

Windows Registry Overview Value entry Named parameter or placeholder for a control setting or configuration data Value Actual piece of data held by a value entry

Windows Registry Overview Hive Discrete body of Registry keys, subkeys, and values stored in a file Figure 12-1: View of the hierarchical Registry structure, including five primary keys

Windows Registry Overview The data type of a value entry informs the Registry how store the value Data type Setting on a Registry value that defines the data format of the stored information

Windows Registry Overview Figure 12-2: AutoAdminLogon value entries

Windows Registry Overview The data types supported by windows 2000: REG_BINARY REG_DWORD REG_SZ REG_MULTI_SZ REG_EXPAND_SZ

Windows Registry Overview The data types supported by windows 2000 (cont.): REG_FULL_RESOURCE_DESCRIPTOR REG_DWORD_LITTLE_ENDIAN REG_DWORD_BIG_ENDIAN REG_LINK

Windows Registry Overview Important concepts to keep in mind about the Registry: Keys are the top-level, or root, divisions of the Registry Keys contain one or more subkeys Any subkey can contain one or more subkeys Any subkey can contain one or more value entries

HKEY_LOCAL_MACHINE Contains the value entries that control the local computer Figure 12-3: The HKEY_LOCAL_MACHINE key

HKEY_LOCAL_MACHINE HKEY_LOCAL_MACHINE\HARDWARE HKEY_LOCAL_MACHINE\SAM Container for data related directly to physical devices installed on a computer HKEY_LOCAL_MACHINE\SAM Hive that contains data related to security The Security Accounts Manager (SAM) database is stored in this key

HKEY_LOCAL_MACHINE HKEY_LOCAL_MACHINE\SECURITY Container for the local security policy HKEY_LOCAL_MACHINE\SOFTWARE Container for data about installed software and mapped file extensions HKEY_LOCAL_MACHINE\SYSTEM Container for the information required to boot Windows XP

HKEY_CLASSES_ROOT Figure 12-4: HKEY_CLASSES_ROOT contains file extension and com object settings and associations

HKEY_CURRENT CONFIG Container for data pertaining to hardware profile currently in use Figure 12-5: The HKEY_CURRENT_CONFIG/ key is maintained in Windows XP for backward compatibility

HKEY_CURRENT_USER Figure 12-6: HKEY_CURRENT_USER contains data for whichever user is currently logged onto the system

HKEY_USERS Figure 12-7: HKEY_USERS contain data for any user who has ever logged onto the system, plus a default user profile

HKEY_DYN_DATA In some Registries, you may occasionally run across this other main key Appears only on machines with either: Windows 95 Windows 98 applications that use older versions of Plug and Play to detect and track hardware devices as they enter or leave a system

Registry Editors Regedit Reg 16-bit Registry editor Special command-line utility that users, programs, or the operating system can use to access, inspect, create, or modify Registry keys

Registry Editors Figure 12-8: Regedit is the older Registry editor that suffices for most uses

Registry Editors Figure 12-9: Reg.exe is a command-line utility that permits users, batch files, or programs to operate on the Registry

Registry Editors Precautions when making changes to in the Registry: Back up all important data on the computer before editing the Registry Making a distinct backup of all or part of the Registry Reboot the machine before editing the Registry

Registry Editors Precautions when making changes to in the Registry (cont.): Perform only a single Registry modification at a time Reboot immediately after each change to force full system compliance Always test changes on a nonproduction system hosting noncritical services before deploying on production systems

Registry Size Limitations The Registry is stored in active memory for quick and easy accessibility while the operating system is functioning Resides in the paged pool portion of memory This means it can be swapped out to disk when not in use

Registry Size Limitations As your system ages and configurations evolve over time, many changes will accumulate in the Registry, causing its size to increase The initial size of the Registry on a Windows XP Professional system is around 10 MB To prevent the Registry from consuming too much memory, Windows XP imposes the Registry Size Limit (RSL)

Registry Storage Files Figure 12-10: Explorer listing of the …\system32\config folder shows various Registry file types and instances

Registry Storage Files Table 12-1: Registry Storage Files

Registry Storage Files Four extensions used by the Registry storage files to identify the purpose or function of the file: No extension .alt .log .sav

Registry Fault Tolerance If the Registry becomes corrupted or destroyed, Windows XP cannot function or even boot Several mechanisms have been established to prevent the Registry from becoming damaged or to repair minor problems automatically The fault tolerance of the Registry is sustained by its structure, memory residence, and transaction logs

Registry Fault Tolerance Flush Copy procedure to update the files on the hard drive with the new settings stored in the memory-resident version of the Registry Transaction logs Files wherein the systems records edits, changes, and alterations to the Registry

Ways to Create Reliable Registry Backups Most Windows XP backup applications include support for full Registry backups Regedit can be used to save all or part of the Registry to distinct files Make a copy of the %systemroot%\WINDOWS-\system32\config and %systemroot%\WINDOWS-\repair directories manually Employ the Microsoft Windows XP Professional Resource Kit tools Reg.exe or Regback.exe

Restoring the Registry You have several options for restoring the Registry, depending on the method used to make a backup Windows XP itself attempts to maintain a functional Registry Last Known Good Configuration (LKGC) State of the Registry stored in one of the control sets when the last successful user logon occurred

Restoring the Registry If the LKGC fails to restore normal system functions, you have only two options: Use your backup software to restore the Registry files Reinstall Windows XP, either fully or as an upgrade

Windows XP Professional Resource Kit Registry Tools Some of the key utilities include: Regdump.exe Regfind.exe Compreg.exe Regini.exe

Windows XP Professional Resource Kit Registry Tools Some of the key utilities include (cont.): Regback.exe Regrest.exe Scanreg.exe

Chapter Summary The Windows XP Registry is a complex structure consisting of keys, subkeys, values, and value entries The Registry should be manipulated with extreme caution Windows XP maintains a functional registry through several fault-tolerant measures The Registry is divided into five main keys

Chapter Summary Windows XP includes two Registry editors: The graphical Regedit.exe The command-line Reg.exe utility As part of your normal system maintenance and administration, you should create copies of the registry