Chapter 18 PowerPoint

Download Report

Transcript Chapter 18 PowerPoint

Chapter Overview



How Windows 98 Works
How Windows 2000 Works
Managing Windows
1
Basic Functions and Features

Microsoft Windows 98 is a true 32-bit
operating system (OS) offering multitasking
and multithreading capabilities.



Multitasking is the ability of the processor to
switch quickly between different processes or
applications so that programs appear to run
simultaneously.
Multithreading is the ability to support processes
that run multiple threads.
Two major components of Windows 98 are
the Windows core and the ancillary systems.
2
Windows 98 Core Components




The Graphical Device Interface (GDI) draws
all objects displayed on the screen and
interacts with the display system and drivers.
The user interface is a 32-bit shell including
file system and system service tools.
The user component is the I/O manager,
which receives and routes input from devices.
The kernel is the core of the OS that controls
all tasks.
3
Windows 98 Ancillary Systems



The Process Scheduler provides system
resources.
The Windows Driver Model (WDM) allows
Windows 98 and Microsoft Windows 2000 to
use the same device drivers.
The Virtual Machine Manager (VMM) oversees
key resources required by applications.


Each 32-bit application runs in its own virtual
machine.
All 16-bit applications share the same virtual
machine.
4
The Windows 98 Virtual Memory
Model




Virtual memory provides more memory for
applications than is physically available.
The OS moves data between physical
memory and the hard disk drive to free up
space in physical memory.
Older memory models used only the first
640 KB of memory.
Windows 98 provides each application with its
own virtual memory address space.
5
The Windows 98 Virtual Memory
Model (Cont.)
6
The Virtual Memory Swap File
System




Windows 98 adjusts the size of the swap file
as needed.
Windows 98 sets the swap file to 32-bit mode
automatically.
The Memory Pager moves pages to and from
virtual memory.
Windows 98 creates an MS-DOS environment
for legacy applications.
7
The Windows Driver Model
8
32-Bit VFAT





Windows 98 provides file system access through a
32-bit Virtual File Allocation Table (VFAT) device
driver operating in protected mode.
VFAT controls how files are accessed from the hard
disk drive.
VFAT can link up to 268,435,445 clusters belonging
to the same file.
During startup, a byte in the VFAT is set to 0 and is
switched to 1 during a proper system shutdown.
Windows 98 runs scandisk if it detects the 0 setting
upon startup.
9
Long Filename Support





Prior to Microsoft Windows 95, filenames were
restricted to eight characters and a three-character
extension.
When a long filename (LFN) is saved, the system
creates an 8.3 alias for it and one additional entry for
every 12 characters in the LFN.
If two or more files have the same first six
characters, a unique alias is automatically generated.
LFN entries are hidden and assigned unique
attributes for protection.
Older disk utilities could destroy LFNs.
10
The Windows 98 Boot Process
11
The BIOS Initialization Phase


The basic input/output system (BIOS) and
power-on self test (POST) are initially in
control.
A computer with a Plug and Play BIOS
configures and initializes Plug and Play
devices before the POST.
12
Hardware Profile and Real-Mode
Driver Loading Phase




The initial phases of Windows 98 startup
occur in real mode.
The Windows 98 IO.SYS file loads first and
loads many core settings.
IO.SYS loads MSDOS.SYS, which processes
the CONFIG.SYS and AUTOEXEC.BAT files if
they are present.
If real-mode drivers are loaded from within
CONFIG.SYS and AUTOEXEC.BAT, Windows
98 performance can degrade.
13
Considerations for Using CONFIG.SYS
and AUTOEXEC.BAT






Do not include mouse support in either file.
Do not include the SMARTDRV.SYS command in
CONFIG.SYS.
IO.SYS now handles many older AUTOEXEC.BAT
settings.
Do not reference other versions of Microsoft Windows
that are present on the drive.
Ensure that the Windows and Windows\Command
directories are in the path statement.
Use the System or Device Manager or Registry in
Windows 98 for device and memory settings.
14
Protected-Mode Initialization Phase






Startup invokes WIN.COM.
The boot process loads a series of static and
dynamic VxDs, including VMM32.VXD.
The SYSTEM.INI file is processed.
The configuration manager then loads
additional drivers as needed.
KERNEL32.DLL, KRNL386.EXE, GDI.EXE and
GDI32.EXE, and USER.EXE and USER32.EXE
are loaded.
The desktop is built, and the Logon dialog
box appears.
15
Alternate Startup Methods and
Resources



The Windows 98 Startup menu can be
accessed either automatically or manually.
Startup menu options may vary, but common
ones are Normal, Logged, Safe Mode, StepBy-Step Confirmation, Command Prompt
Only1, and Safe Mode Command Prompt
Only1.
A startup disk can be used to boot Windows
98 and access the Startup menu.
16
The WIN.COM Command

Windows 98 can be started manually by
invoking WIN.COM with one of the following
switches:






/D starts Windows 98 in safe mode with another
option.
/F disables 32-bit disk access.
/M starts Windows 98 in safe mode.
/S limits the memory Windows 98 can use.
/V handles interrupts from the hard disk controller.
/X excludes all of the adapter area from the range
of memory scanned.
17
The BOOTLOG.TXT File



Can be generated by using the Logged option
from the Startup menu
Logs each action during the boot process and
whether it succeeded or failed
Is a powerful troubleshooting tool
18
The Windows 2000 System Design:
Advanced Features




Ability to run on both complex instruction set
computing (CISC) and Reduced Instruction
Set Computing (RISC) processors
Symmetric multiprocessing (SMP) support for
multiple processors
Support of both 32-bit and Portable Operating
System Interface for UNIX (POSIX)
applications
Advanced security features, management and
customization tools, and networking controls
on server platforms
19
Kernel Mode
20
The Hardware Abstraction Layer
21
The Windows 2000 Executive
22
Kernel Mode Drivers
23
User Mode
24
The Windows 2000 Boot Process
25
Introducing the Windows Registry



Technicians must understand how the
Registry works.
Use configuration tools to make changes to
the Registry.
The Registry maintains information about all
system objects.
26
A Major Change in Approach



Microsoft Windows 3.x used system
initialization files and private initialization
files.
Windows 3.x also used CONFIG.SYS and
AUTOEXEC.BAT.
Microsoft Windows 3.11 introduced REG.DAT,
which was the precursor to the Registry.
27
A Critical Central Repository




During system startup, all system elements
check the Registry to confirm settings.
Using Control Panel can make changes—
indirectly—to the Registry.
Windows provides tools for modifying the
Registry safely.
The Registry comprises three files that store
settings and system-specific policies.
28
Windows Configuration and
Management Tools
29
Working with System Properties
30
Alternate Methods of Accessing
Control Panel Functions


The same information presented in Control
Panel can be accessed by right-clicking key
areas.
Right-clicking a free area of the desktop and
selecting Properties launches the Display
Properties dialog box.
31
The Windows 2000 Administrative
Tools
32
Using the Event Viewer in the
Computer Management Console


Event Viewer tracks and records information
about all aspects of the system.
Event Viewer displays three key log files:



The System Log logs internally generated
warnings and errors.
The Security Log monitors failure or success in
accessing the system.
The Application Log tracks operation of programs
on the system.
33
Windows 2000 Disk Management
34
Working with the System Registry




Microsoft Windows 9x uses six root keys;
Windows 2000 uses five root keys.
The Registry is presented in a hierarchical
series of trees and branches.
Each branch is called a key and contains
logically grouped information.
Top-level keys are called root keys and are
defined and named by Windows.
35
The Six Primary Keys in the Registry






HKEY_CLASSES_ROOT contains software
configuration data.
HKEY_CURRENT_USER defines information for the
current user.
HKEY_LOCAL_MACHINE contains non–user-specific
information.
HKEY_USERS contains user profiles.
HKEY_CURRENT_CONFIG contains current
configuration information.
HKEY_DYN_DATA is a Windows 98 key that stores
Registry information in random access memory
(RAM) for faster access.
36
Accessing and Managing the Registry





Using Control Panel is the preferred way to
modify the Registry.
Only very knowledgeable users should use
tools that directly modify the Registry.
Windows 2000 includes both REGEDT32.EXE
and REGEDIT.EXE; Windows 98 includes only
REGEDIT.EXE.
REGEDIT.EXE lacks a security menu and has
fewer commands than REGEDT32.EXE.
You should always back up the Registry
before changing it.
37
Using REGEDIT with Windows 9x
38
Editing the Registry with REGEDT32
in Windows 2000
39
Chapter Summary






Technicians must understand the boot process for
both Windows 98 and Windows 2000.
Windows 98 is founded on MS-DOS and uses similar
startup files.
Windows 2000 is a completely different OS from
Windows 98.
Windows 2000 architecture is modular in design.
Windows 98 and Windows 2000 use the Registry to
store configuration information.
Windows 98 provides REGEDIT and Windows 2000
provides REGEDT32 for modifying the Registry.
40