Date post: | 26-Dec-2015 |
Category: |
Documents |
Upload: | austin-webster |
View: | 216 times |
Download: | 0 times |
Cou
rse
ILT
Monitoring and management
Unit objectives Identify the stages of the Windows
startup process Use Windows 2000 Professional and
Windows XP utilities to monitor the operating system
Troubleshoot operating system problems
Manage the operating system
Cou
rse
ILT
Topic A
Topic A: The Windows boot process Topic B: System monitoring Topic C: System troubleshooting Topic D: System management
Cou
rse
ILT
Windows 2000/XP startup files
NTLDR Boot.ini Bootsect.dos Ntdetect.com Ntbootdd.sys Ntoskrnl.exe Hal.dll System Registry hive Smss.exe
continued
Cou
rse
ILT
2000/XP startup files, continued
Pagefile.sys Winlogon.exe Lsass.exe
Cou
rse
ILT
The Registry
A hierarchical database Created during Windows installation Binary files hold system configuration
information – Security settings– User profiles– Installed applications– Attached hardware– System properties
Files are called hivescontinued
Cou
rse
ILT
The Registry, continued
Stored in the folder \%systemroot%\System32\Config– Windows 2000 Professional — C:\Winnt– Windows XP — C:\Windows
Cou
rse
ILT
Registry keys
Section of the Registry Contains subkeys and values Keys:
– HKEY_CLASSES_ROOT – HKEY_CURRENT_USER – HKEY_LOCAL_MACHINE – HKEY_USERS – HKEY_CURRENT_CONFIG
Cou
rse
ILT
Startup process
1. ROM BIOS bootstrap process
2. Boot phase — using NTLDR
3. Load phase
4. Kernel-initialization phase
5. Services-load phase
6. Win32 subsystem start phase
7. User logon
8. Last Known Good control set created
Cou
rse
ILT
Activity A-1
Identifying phases in the startup process
Cou
rse
ILT
Activity A-2
Observing the Windows XP startup process
Cou
rse
ILT
Topic B
Topic A: The Windows boot process Topic B: System monitoring Topic C: System troubleshooting Topic D: System management
Cou
rse
ILT
Windows Diagnostics
MSINFO32 System Information dialog box
– Hardware Resources– Components– Software Environment– Internet Settings
Can also use Start, Programs, Accessories, System Tools menu
Connect to a remote computer1. Choose View, Remote Computer 2. Enter network name of the computer
Cou
rse
ILT
Activity B-1
Running Windows Diagnostics
Cou
rse
ILT
Task Manager
Information on running processes Press Ctrl + Alt + Delete –or–
Right-click an empty space in the taskbar and choose Task Manager
Three tabs – Application– Processes– Performance
Windows XP – two additional tabs– Networking– Users
Cou
rse
ILT
Task Manager in Windows XP
Cou
rse
ILT
Activity B-2
Observing Task Manager data
Cou
rse
ILT
Computer Management
Use to manage a local or a remote computer
Administrative tasks:– Monitor system events– Create and manage shared resources– Determine the users who are connected the
computer you are managing – Start and stop system services– Set properties for storage devices– View device configurations– Add or change device drivers– Manage applications and services
Cou
rse
ILT
Event Viewer
Monitor events that occur on your system
Use to determine the cause of problems
Categories– Application– Security– System
Access through Administrative Tools or Computer Management console
Cou
rse
ILT
Event information
Type Date Time Source Category Event User Computer
Cou
rse
ILT
Event types
Error Warning Information Success Audit (Security Log only) Failure Audit (Security Log only)
Cou
rse
ILT
Event properties
Cou
rse
ILT
Activity B-3
Viewing the event logs
Cou
rse
ILT
Error Reporting
Report system and program errors to Microsoft
Track and address errors with:– Operating system– Windows component– Programs
Can configure error reporting to send only specified information
Cou
rse
ILT
Error Reporting choices
Disable error reporting Notify me when critical errors occur Enable error reporting Windows operating system Programs Choose Programs Clicking the Choose Program button
Cou
rse
ILT
Activity B-4
Disabling Error Reporting
Cou
rse
ILT
Activity B-5
Enabling error reporting for specific programs
Cou
rse
ILT
Topic C
Topic A: The Windows boot process Topic B: System monitoring Topic C: System troubleshooting Topic D: System management
Cou
rse
ILT
Startup messages
Computer boots successfully but reports an error message when loading the operating system
Messages:– Error in CONFIG.SYS line ## – Himem.sys not loaded – Missing or corrupt Himem.sys – Device/service has failed to start
Cou
rse
ILT
Boot messages
Computer doesn’t boot successfully; never gets to the operating-system load phase
Messages:– Invalid boot or non-system disk error – Inaccessible boot device – Missing NTLDR or Couldn’t find NTLDR – Bad or missing Command interpreter
Cou
rse
ILT
Operating-system load errors
Computer successfully boots, but operating system interface doesn’t load properly
Messages:– Failure to start GUI – Windows Protection Error—illegal
operation – User-modified settings cause improper
operation at startup
Cou
rse
ILT
Activity C-1
Interpreting boot and startup messages
Cou
rse
ILT
Startup modes
Use to diagnose and fix problems Press F8 after you hear your
computer’s startup beep Modes:
– Safe mode– Safe mode with networking– Safe mode with command prompt– Enable boot logging– Enable VGA mode– Last Known Good Configuration
continued
Cou
rse
ILT
Startup modes, continued
Modes, continued:– Debugging mode– Start Windows normally
Cou
rse
ILT
Activity C-2
Booting the computer in differentstartup modes
Cou
rse
ILT
Dr. Watson
Use to log errors user.dmp and drwtsn32.log files \Documents and Settings\All Users\
Application Data\Microsoft\Dr Watson folder
Copy into the Windows Startup folder
Cou
rse
ILT
Activity C-3
Managing general protection faults
Cou
rse
ILT
System Configuration Utility
Msconfig Use to view, disable, and enable
services and software that run at startup
Quickly test solutions to startup problems
Click Start, choose Run, type msconfig, and click OK
Cou
rse
ILT
Services page
Cou
rse
ILT
Startup modes
On the General tab:– Normal Startup – Diagnostic Startup – Selective Startup
Cou
rse
ILT
Activity C-4
Using the System Configuration Utility
Cou
rse
ILT
System Restore
Creates snapshots of your computer’s configuration
Three types of snapshots:– System checkpoints– Manual restore points– Installation restore points
Use to restore your computer to a previous configuration
Cou
rse
ILT
System Restore in Windows XP
Cou
rse
ILT
Activity C-5
Creating a system restore point
Cou
rse
ILT
Activity C-6
Booting to System Restore
Cou
rse
ILT
Emergency Repair Disks
Contains basic system configuration files
Use to restore your computer to a bootable state if:– Registry is damaged – NTFS partition isn’t successfully booting
%systemroot%\Repair folder Not bootable; use with the Windows
installation CD-ROM
continued
Cou
rse
ILT
Emergency Repair Disks, continued
Use to:– Inspect and repair the boot sector– Inspect and repair the startup
environment– Verify Windows 2000/XP system files
and replace missing or damaged files Update ERD whenever you make
configuration changes to computer Not a substitute for a full Registry
backup ASR in Windows XP
Cou
rse
ILT
Windows 2000 ERD
Autoexec.nt Config.nt Setup.log No Registry information
Cou
rse
ILT
Automated System Recovery
Creates a backup of your system partition and a floppy disk containing critical system settings
Recover from a system failure caused by problems with the system/boot volume
Not available in Home Edition or Media Center
Cou
rse
ILT
ASR tasks
1. Restores the disk configurations
2. Formats your system and boot volumes
3. Installs a bare-bones version of Windows
4. Runs Backup to rebuild your system and boot volumes from your ASR backup set
Cou
rse
ILT
Activity C-7
Creating an ASR recovery set
Cou
rse
ILT
Recovery Console
Use to recover when your computer doesn’t start properly or at all
Access FAT, FAT32, and NTFS volumes from a command line
Use to:– Repair the boot sector– Replace missing or corrupt operating
system files– Create and format partitions– Enable or disable services or devices
Cou
rse
ILT
Folder access in Recovery Console
The root folder The %systemroot% folder and the
subfolders of the Windows XP Professional or Windows 2000 Professional installation you selected when loading the Recovery Console
The Cmdcons folder Removable media drives, such as CD-
ROM and DVD drives
Cou
rse
ILT
Activity C-8
Running the Recovery Console
Cou
rse
ILT
Microsoft Knowledge Base
Troubleshooting reference Contains problem and solution
references for:– Windows 2000 Professional– Windows XP Professional– Windows XP Home Edition– Many other Microsoft applications
Explains many Microsoft error messages
support.microsoft.com
Cou
rse
ILT
Activity C-9
Using Microsoft’s Knowledge Base to research a problem
Cou
rse
ILT
Topic D
Topic A: The Windows boot process Topic B: System monitoring Topic C: System troubleshooting Topic D: System management
Cou
rse
ILT
Temporary files
Used to keep track of changes in your files as you work on them
Should be deleted automatically Not removed if:
– Application shuts down unexpectedly – Application isn’t programmed correctly to
remove its temporary files
File names:– Begin with tilde (~)– End with .tmp
Cou
rse
ILT
Activity D-1
Managing temporary files
Cou
rse
ILT
Registry editors
regedit.exe or regedt32.exe regedit.exe — superior search
capabilities regedt32.exe — more powerful editing
tool Click Start, choose Run, type “regedit”
or “regedt32” and click OK
Cou
rse
ILT
The regedt32 window
Cou
rse
ILT
Activity D-2
Viewing Registry information
Cou
rse
ILT
Services and Applications
A Computer Management utility Use to manage the services and
applications running on– Local computer– Remote computer
Three tools:– Services– WMI Control– Indexing Services
Cou
rse
ILT
Services
Configure settings relating to how services function and respond to potential problems
Four configuration tabs:– General– Log On– Recovery– Dependencies
Cou
rse
ILT
Activity D-3
Managing services
Cou
rse
ILT
Environment variables
Tell applications where to find and put files on your hard drive
User variables System variables Temp/tmp variables — most common Access through Advanced tab of My
Computer properties Changes to variables written to
Registry System variables — changes must be
made by Administrator
Cou
rse
ILT
Setting environment variables
Cou
rse
ILT
Set command
Configure environment variables at the command prompt
set variable=string – variable is the name of the environment
variable – string is the value you want to assign to
the variable
Set command alone to view variables
Cou
rse
ILT
Activity D-4
Configuring environment variables
Cou
rse
ILT
Unit summary
Identified the stages of the Windows startup process
Used Windows 2000 Professional and Windows XP utilities to monitor the operating system
Resolved operating system problems Managed the operating system