Lab9-2 (Registry Basis)

32
Exercise 9 Exercise 9-2 Registry Basics Registry Basics Exercise 9 Exercise 9-2 Registry Basics Registry Basics Copyright © 2002 Heathkit Company, Inc. All Rights Reserved Copyright © 2002 Heathkit Company, Inc. All Rights Reserved

description

registry basics, registry, it, informatika, osnove registrija, registri, pc registri

Transcript of Lab9-2 (Registry Basis)

Page 1: Lab9-2 (Registry Basis)

Exercise 9Exercise 9--22

Registry BasicsRegistry Basics

Exercise 9Exercise 9--22

Registry BasicsRegistry Basics

Copyright © 2002 Heathkit Company, Inc. All Rights ReservedCopyright © 2002 Heathkit Company, Inc. All Rights Reserved

Page 2: Lab9-2 (Registry Basis)

2

The Registry

A collection of database files A collection of database files

containing configuration and containing configuration and

preference information. preference information.

Page 3: Lab9-2 (Registry Basis)

3

The Registry Contains

Information formerly stored in several Information formerly stored in several

places, including:places, including:

CONFIG.SYSCONFIG.SYS

AUTOEXEC.BATAUTOEXEC.BAT

WIN.INI, and other .INI filesWIN.INI, and other .INI files

Other config files created by applicationsOther config files created by applications

Page 4: Lab9-2 (Registry Basis)

4

Editing the Registry

RegeditRegedit

Page 5: Lab9-2 (Registry Basis)

5

There is no Undo

No “Save As”No “Save As”

No “Exit without Saving”No “Exit without Saving”

Page 6: Lab9-2 (Registry Basis)

6

The system could crash

Some changes occur immediatelySome changes occur immediately

Some changes require rebootSome changes require reboot

Page 7: Lab9-2 (Registry Basis)

7

Most adjustments can be done at

the GUIControl PanelControl Panel

TweakUITweakUI

Properties tabsProperties tabs

Page 8: Lab9-2 (Registry Basis)

8

Registry Editing Rules:

Do not attempt to edit the registry Do not attempt to edit the registry

before you:before you:

1.1. make a backup.make a backup.

2.2. can restore from a backup.can restore from a backup.

3.3. test the backup mechanism.test the backup mechanism.

Page 9: Lab9-2 (Registry Basis)

9

Registry Editing Rules:

Don’t edit the registry if you can Don’t edit the registry if you can

make the change in a dialog box.make the change in a dialog box.

The GUI watches out for you…The GUI watches out for you…

…but Regedit doesn’t care.…but Regedit doesn’t care.

Page 10: Lab9-2 (Registry Basis)

10

Registry Editing Rules:

Don’t fool with the registry Don’t fool with the registry

on an important computer.on an important computer.

Page 11: Lab9-2 (Registry Basis)

11

The Registry is Critical!

If the registry fails, Windows failsIf the registry fails, Windows fails

The registry can be corruptedThe registry can be corrupted

The registry can be backedThe registry can be backed--upup

The registry can be restoredThe registry can be restored

Page 12: Lab9-2 (Registry Basis)

12

Registry Backups

Win 95 is manualWin 95 is manual

Win 98 is automaticWin 98 is automatic

Win Me is automaticWin Me is automatic

Win 2000 is manual/automaticWin 2000 is manual/automatic

Page 13: Lab9-2 (Registry Basis)

13

Windows 95:No working backup

scheme

The backup scheme doesn’t work wellThe backup scheme doesn’t work well

Make manual backups ASAP!Make manual backups ASAP!

Use regedit commands to backup and repairUse regedit commands to backup and repair

Page 14: Lab9-2 (Registry Basis)

14

Windows 95 Emergency

Preparation

Make registry backups ASAPMake registry backups ASAP

Copy them to a safe placeCopy them to a safe place

Not if, but whenNot if, but when

Page 15: Lab9-2 (Registry Basis)

15

Windows 98 makes five backups

A backup a day…A backup a day…

Recovery is almost automaticRecovery is almost automatic

Page 16: Lab9-2 (Registry Basis)

16

Windows 98 Emergency

Preparation

Copy one of the rb00*.cab files to a safe Copy one of the rb00*.cab files to a safe

placeplace

Page 17: Lab9-2 (Registry Basis)

17

WindowsMe makes five backups

AutoAuto--Recovery is questionableRecovery is questionable

System Recovery is designed to fix System Recovery is designed to fix

problemsproblems

Page 18: Lab9-2 (Registry Basis)

18

Windows Me Emergency

Preparation

Create “restore points” in System RestoreCreate “restore points” in System Restore

Copy one of the rb00*.cab files to a safe Copy one of the rb00*.cab files to a safe

locationlocation

Page 19: Lab9-2 (Registry Basis)

19

Windows 2000

Last Known Good startupLast Known Good startup

Inherently more secureInherently more secure

Page 20: Lab9-2 (Registry Basis)

20

Windows 2000 Emergency Prep

Create an Emergency Repair Disk (ERD) Create an Emergency Repair Disk (ERD)

using Backupusing Backup

Page 21: Lab9-2 (Registry Basis)

21

Page 22: Lab9-2 (Registry Basis)

22

Windows 98 Registry Files

Files

LocationLocation

Page 23: Lab9-2 (Registry Basis)

23

Hives

Files/HivesFiles/Hives

LocationLocation

Page 24: Lab9-2 (Registry Basis)

24

The

Registry

Page 25: Lab9-2 (Registry Basis)

25

Subtrees

SubtreesSubtrees

Page 26: Lab9-2 (Registry Basis)

26

Keys

KeysKeys

Page 27: Lab9-2 (Registry Basis)

27

Subkeys

SubkeysSubkeys

Page 28: Lab9-2 (Registry Basis)

28

Value Entry

Page 29: Lab9-2 (Registry Basis)

29

Binary Data

Page 30: Lab9-2 (Registry Basis)

30

Typical Subkey Data

Page 31: Lab9-2 (Registry Basis)

31

Hive FileHive File

RegistryRegistry

SubtreeSubtree

•• KeyKey

–– SubkeySubkey

--Value EntryValue Entry

Page 32: Lab9-2 (Registry Basis)

Now, it’s your turn.Now, it’s your turn.