Protecting Your System Backing Up and the Registry - PowerPoint PPT Presentation

1 / 87
About This Presentation
Title:

Protecting Your System Backing Up and the Registry

Description:

Backing up Your System. It is a good idea to have more than one copy of a backup disk. ... Using REGEDIT to See Your Bitmap Icons ... – PowerPoint PPT presentation

Number of Views:59
Avg rating:3.0/5.0
Slides: 88
Provided by: ValuedGate2184
Category:

less

Transcript and Presenter's Notes

Title: Protecting Your System Backing Up and the Registry


1
Chapter 14
  • Protecting Your System - Backing Up and the
    Registry

2
Overview
  • It is important to protect your OS.

3
Overview
  • Two ways to protect the OS
  • backup files and
  • programs
  • backup the registry

4
Overview
  • Registry
  • central database for all Windows
    configuration
  • information.

5
Overview
  • Many of the changes that can be done to the
    computer can only take place by editing the
    Registry.

6
Procedures
  • Be very careful when working with the Registry
  • if Registry is damaged
  • may not be able to boot
  • into OS
  • OS may become
  • inoperable

7
Procedures
  • OS provides tools to assist user when changing
    Registry files.

8
Procedures
  • By understanding how the computer works, the
    easier it is to diagnose and solve computer
    problems.

9
Backing up Your System
  • A backup is
  • a duplicate of a file or files copied to
    another
  • disk or tape.

10
Backing up Your System
  • A user can backup
  • application files
  • program files
  • an entire hard drive

11
Backing up Your System
  • There are two major types of backup.

12
Backing up Your System
  • It is a good idea to have more than one copy of a
    backup disk.

13
Backing up Your System
  • Windows OS provides a backup program called
    Backup.

14
(No Transcript)
15
Restore
  • Restore option in Backup lets user copy files
    from backup disk or tape to original disk, or to
    another disk or directory.

16
(No Transcript)
17
The Startup Disk
  • The startup disk is different than a backup disk.

18
The Startup Disk
  • The startup disk allows user to boot their system
    if something goes wrong, and the backup disk does
    not.

19
(No Transcript)
20
Initialization Files
  • Configuration information provides details about
    the OS.

21
Initialization Files
  • Initialization (.INI) files
  • store the system configuration info

22
Initialization Files
  • Two primary initialization files
  • WIN.INI
  • SYSTEM.INI

23
The Registry
  • Windows 95 and Windows 98 store all configuration
    information in the Registry.

24
The Registry
  • Registry data is kept in two files
  • USER.DAT
  • SYSTEM.DAT

25
The Registry
  • SYSTEM.DAT
  • contains all system
  • configuration and
  • setting of data
  • is contained in the
  • Windows directory

26
The Registry
  • USER.DAT
  • contains all user-
  • specific settings
  • is contained in the
  • Windows directory

27
The Registry
  • If Registry is corrupt Windows 95 or Windows 98
    will not even start.

28
The Registry
  • For user protection Windows 98 provides the
    Registry Checker.

29
The Registry
  • The Registry was designed to replace
  • AUTOEXEC.BAT
  • CONFIG.SYS
  • all .INI files

30
Backing up the Registry
  • Even though Windows 95 and Windows 98 make backup
    copies of the Registry, you can still experience
    problems.

31
Backing up the Registry
  • Last known good
  • when Windows 95 saves USER.DAT and
  • SYSTEM.DAT files from
  • last successful boot.

32
Backing up the Registry
  • If user has to continuously reboot, there may be
    no good copies of Registry from which to boot.

33
Backing up the Registry
  • There are three ways the Registry can become
    corrupted.

34
Backing up the Registry
  • Best protection is to backup entire Registry.

35
Backing up the Registry by Copying the Registry
Files
  • Using the batch file - BKUPREG.BAT - is one
    method of backing up the Registry.

36
Backing up the Registry by Copying the Registry
Files
  • Two problems associated with using BACKUP.REG
  • may not have most
  • recent changes made
  • to Registry
  • may be more than one
  • USER.DAT file

37
Backing up the Registry by Copying the Registry
Files
  • System Policy Editor
  • the tool used to customize user settings
    in
  • USER.DAT

38
(No Transcript)
39
Backing up the Registry Using CFGBACK (Windows 95)
  • CFGBACK
  • a special backup utility provided with
    Windows
  • 95.

40
Backing up the Registry Using CFGBACK (Windows 95)
  • CFGBACK consists of two files
  • CFGBACK.EXE
  • CFGBACK.HLP

41
Backing up the Registry Using CFGBACK (Windows 95)
  • Two problems associated with using CFGBACK
  • cannot run from
  • command line prompt
  • if more than one user,
  • it will not make
  • backups of the users
  • information.

42
Backing up the Registry Using CFGBACK (Windows 95)
  • One advantage in using CFGBACK is its ability to
    restore a good version of the Registry, should it
    become corrupt when installing new hardware
    devices.

43
(No Transcript)
44
The Registry Checker (Windows 98)
  • Registry Checker
  • automatically scans the Registry upon
    startup.

45
The Registry Checker (Windows 98)
  • The Registry Checker can be run manually.

46
The Registry Checker (Windows 98)
  • Two versions of Registry Checker
  • ScanRegW
  • ScanReg

47
The Registry Checker (Windows 98)
  • Both versions of Registry Checker also have
    command line options.

48
(No Transcript)
49
Restoring the Registry (Windows 95)
  • SCANREG/RESTORE
  • provides a list of known good .CAB files

50
Restoring the Registry (Windows 95)
  • Two scenarios in which SCANREG/RESTORE would be
    used
  • no boot
  • boot

51
Alternatives to Editing the Registry
  • Windows 95 and Windows 98 Registry structures are
    not significantly different.

52
Alternatives to Editing the Registry
  • Simplest and safest way to make changes to the
    Registry is to use Control Panel.

53
Alternatives to Editing the Registry
  • Most dangerous way to make changes to the
    Registry is to use Registry Editor.

54
Structure of the Registry
  • The hierarchy of the Registry can be seen by
    opening the Registry Editor.

55
Structure of the Registry
  • Like folders and subfolders found in Explorer,
    Registry Editor contains keys and subkeys.

56
Structure of the Registry
  • Registry Editor contains three types of objects
  • keys
  • values
  • data

57
Structure of the Registry
  • Keys can contain one or more keys and values.
    This is known as nesting.

58
Structure of the Registry
  • Values have three parts
  • data type
  • data name
  • data value

59
Structure of the Registry
  • There are three types of data
  • binary
  • strings
  • DWORD (double word)

60
Structure of the Registry
  • In the Registry Editor there appears to be six
    keys.

61
Structure of the Registry
  • In reality, there are two main keys
  • HKEY_Local_Machine
  • HKEY_Users

62
Structure of the Registry
  • The other four keys are aliases for the two main
    keys.

63
Structure of the Registry
  • Aliases are needed for backwards compatibility
    (earlier versions of OS)

64
Structure of the Registry
  • HKEY_Local_Machine
  • major key that contains configuration data
  • specific to the computer.

65
Structure of the Registry
  • HKEY_Classes_Root
  • it is an alias for
  • HKEY_Local_Machine.

66
Structure of the Registry
  • HKEY_Current_Config
  • it is an alias for
  • HKEY_Local_Machine

67
Structure of the Registry
  • HKEY_Dyn_Data
  • it is an alias for
  • HKEY_Local_Machine

68
Structure of the Registry
  • HKEY_Users
  • the other major key that contains
    configuration
  • info for any user who logs onto the
    computer.

69
Structure of the Registry
  • HKEY_Current_User
  • it is the alias for
  • HKEY_User.

70
Structure of the Registry
  • Registry files should not be copied from one
    computer to another because HKEY files are
    specific to each computer.

71
Structure of the Registry
  • Subkeys also contain preferences that are
    specific to a user.

72
Files and the Registry
  • When a registered file is clicked, Windows looks
    for the type of file associated with that
    extension in the HKEY_CLASSES_ROOT key.

73
Files and the Registry
  • Every file extension has two entries in
    HKEY_CLASSES_ROOT
  • the extension (.EXT)
  • the ProgID

74
Files and the Registry
  • An application will register the file extension
    that it wants Windows to use when the application
    icon is clicked.

75
Files and the Registry
  • Some common subkeys for file types are
  • CLSID
  • DefaultIcon
  • EditFlags
  • Shell
  • ShellEx
  • Quick View options

76
REGEDIT
  • REGEDIT.EXE
  • the tool provided by Windows to make
  • changes to the Registry.

77
REGEDIT
  • In the Registry Editor menu there are only four
    menu choices
  • Registry
  • Edit
  • View
  • Help

78
REGEDIT
  • The Registry can be safely edited if it is
    exported to a text file.

79
REGEDIT
  • These text files have the .REG extension.

80
REGEDIT
  • REGEDIT can be run from
  • Windows - graphical
  • program
  • MS-DOS - command
  • line

81
Using REGEDIT to Add New Items to a Context Menu
  • REGEDIT can be used to add items to context menus.

82
(No Transcript)
83
Using REGEDIT to See Your Bitmap Icons
  • A bitmap icon can be changed to show the actual
    image instead of the generic .BMP icon.

84
(No Transcript)
85
Altering the Save Settings on Exit
  • To save the same desktop settings from work
    session to work session, must first disable the
    Save Settings feature.

86
Altering the Save Settings on Exit
  • In Windows 95 and Windows 98 the settings must be
    changed in the Registry by using either
  • the System Policy Editor
  • the Registry Editor

87
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com