700 likes | 854 Views
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. Topic A.
E N D
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
Topic A • Topic A: The Windows boot process • Topic B: System monitoring • Topic C: System troubleshooting • Topic D: System management
Windows 2000/XP startup files • NTLDR • Boot.ini • Bootsect.dos • Ntdetect.com • Ntbootdd.sys • Ntoskrnl.exe • Hal.dll • System Registry hive • Smss.exe • continued
2000/XP startup files, continued • Pagefile.sys • Winlogon.exe • Lsass.exe
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 hives • continued
The Registry, continued • Stored in the folder \%systemroot%\System32\Config • Windows 2000 Professional — C:\Winnt • Windows XP — C:\Windows
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
Startup process • ROM BIOS bootstrap process • Boot phase — using NTLDR • Load phase • Kernel-initialization phase • Services-load phase • Win32 subsystem start phase • User logon • Last Known Good control set created
Activity A-1 Identifying phases in the startup process
Activity A-2 Observing the Windows XP startup process
Topic B • Topic A: The Windows boot process • Topic B: System monitoring • Topic C: System troubleshooting • Topic D: System management
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 computer • Choose View, Remote Computer • Enter network name of the computer
Activity B-1 Running Windows Diagnostics
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
Activity B-2 Observing Task Manager data
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
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
Event information • Type • Date • Time • Source • Category • Event • User • Computer
Event types • Error • Warning • Information • Success Audit (Security Log only) • Failure Audit (Security Log only)
Activity B-3 Viewing the event logs
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
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
Activity B-4 Disabling Error Reporting
Activity B-5 Enabling error reporting for specific programs
Topic C • Topic A: The Windows boot process • Topic B: System monitoring • Topic C: System troubleshooting • Topic D: System management
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
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
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
Activity C-1 Interpreting boot and startup messages
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
Startup modes, continued • Modes, continued: • Debugging mode • Start Windows normally
Activity C-2 Booting the computer in differentstartup modes
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
Activity C-3 Managing general protection faults
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
Startup modes • On the General tab: • Normal Startup • Diagnostic Startup • Selective Startup
Activity C-4 Using the System Configuration Utility
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
Activity C-5 Creating a system restore point
Activity C-6 Booting to System Restore
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
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
Windows 2000 ERD • Autoexec.nt • Config.nt • Setup.log • No Registry information
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
ASR tasks • Restores the disk configurations • Formats your system and boot volumes • Installs a bare-bones version of Windows • Runs Backup to rebuild your system and boot volumes from your ASR backup set
Activity C-7 Creating an ASR recovery set