A+ Guide to Managing and Maintaining your PC, 6e Chapter 14 Troubleshooting Windows 2000/XP Startup.

Slides:



Advertisements
Similar presentations
Troubleshooting Startup Problems
Advertisements

DIT314 ~ Client Operating System & Administration CHAPTER 4 CONFIGURING HARDWARE DEVICES AND STARTUP PROCESS Prepared By : Suraya Alias.
Chapter 3 Understanding the Boot Process and Command Line.
A+ Guide to Managing & Maintaining Your PC, 8th Edition
Installing Windows XP Professional Using Attended Installation Slide 1 of 35Session 9 Ver. 1.0 CompTIA A+ Certification: A Comprehensive Approach for all.
Troubleshooting Windows. Failure to boot Is it hardware (OS not found)? Hard drive failure Is the system powered on? Is the power supply OK? Is the system.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 4: Troubleshoot System Startup and User Logon Problems.
Hands-On Microsoft Windows Server 2003 Administration Chapter 10 Monitoring and Troubleshooting Windows Server 2003.
11 INSTALLING WINDOWS XP Chapter 2. Chapter 2: Installing Windows XP2 INSTALLING WINDOWS XP  Prepare a computer for the installation of Microsoft Windows.
A+ Guide to Software, 4e Chapter 4 Supporting Windows 2000/XP Users and Their Data.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
A+ Guide to Software, 4e Chapter 5 Troubleshooting Windows 2000/XP Startup.
Chapter 16 Chapter 16: Troubleshooting. Chapter 16 Learning Objectives n Develop your own problem-solving strategy n Use the Event Viewer to locate and.
Hands-On Microsoft Windows Server 2003 Chapter 2 Installing Windows Server 2003, Standard Edition.
Week:#14 Windows Recovery
A+ Guide to Managing and Maintaining Your PC, 7e Chapter 15 Tools for Solving Windows Problems.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 5: User Environment and Multiple Languages.
A+ Guide to Managing and Maintaining Your PC, 7e
A+ Guide to Software, 4e Chapter 3 Maintaining Windows 2000/XP.
A+ Certification Guide
PC Maintenance: Preparing for A+ Certification
Chapter 6 Troubleshooting Windows Startup Problems
A+ Guide to Managing and Maintaining Your PC, 7e
McGraw-Hill/Irwin© 2006 The McGraw-Hill Companies, Inc. All rights reserved. 5-1.
A+ Guide to Software: Managing, Maintaining, and Troubleshooting, 5e
A+ Guide to Managing and Maintaining Your PC, 7e
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
Windows Tutorial 9 Maintaining Hardware and Software
Chapter 7 Installing and Using Windows XP Professional.
George Vordenbaum Systems Content Developer Global Support Automation Microsoft Corporation Exploring Windows XP Boot Options and Recovery Console George.
Ch 11 Managing System Reliability and Availability 1.
A+ Guide to Managing & Maintaining Your PC, 8th Edition
A+ Guide to Managing and Maintaining Your PC, 7e
Module 3: Resolving Boot Process Issues. Overview Understanding the Boot Process Using Advanced Boot Options Using the Boot.ini file to Change Startup.
Administering Windows 7 Lesson 11. Objectives Troubleshoot Windows 7 Use remote access technologies Troubleshoot installation and startup issues Understand.
Course ILT Monitoring and management Unit objectives Identify the stages of the Windows startup process Use Windows 2000 Professional and Windows XP utilities.
®® Microsoft Windows 7 for Power Users Tutorial 8 Troubleshooting Windows 7.
A+ Guide to Managing and Maintaining your PC, 6e Chapter 13 Supporting Windows 2000/XP Users and Their Data.
Windows XP Professional Windows XP Professional Overview Install and Upgrade Windows XP Pro Customize and Manage Windows XP Pro Troubleshoot Common Windows.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 15 Installing and Using Windows XP Professional.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 5 1 Control Panel Applets.
Understanding the Boot Process and Command Line
IT Essentials 1 v4.0 Chapters 4 & 5 JEOPARDY RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands.
A+ Guide to Software: Managing, Maintaining, and Troubleshooting, 5e Chapter 7 Fixing Windows Problems.
Chapter Fourteen Windows XP Professional Fault Tolerance.
COMPREHENSIVE Windows Tutorial 9 Maintaining Hardware and Software.
A+ Guide to Software Managing, Maintaining and Troubleshooting THIRD EDITION Chapter 8 Managing and Supporting Windows XP.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 14 Managing and Troubleshooting Windows 2000.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 5 Windows XP Professional McGraw-Hill.
A+ Guide to Software Managing, Maintaining and Troubleshooting THIRD EDITION Chapter 6 Managing and Troubleshooting Windows 2000.
© Cisco Systems, Inc. All rights reserved. Cisco Public ITE PC v4.1 Chapter 4 1 Chapter 12: Advanced Troubleshooting IT Essentials v5.0.
Module 12: Managing Disaster Recovery. Overview Preparing for Disaster Recovery Backing Up Data Scheduling Backup Jobs Restoring Data Configuring Shadow.
14 Step-by-Step Instructions for an Upgrade Installation n Prepare for the installation Verify that all devices and applications are Windows 2000 compatible.
Windows Vista Inside Out Chapter 24 – Recovering From an Computer Crash Last modified am.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 13 Understanding and Installing Windows 2000 and Windows NT.
Chapter 33 Troubleshooting Windows Errors. STOP Errors  When Microsoft Windows XP encounters a serious problem  And the operating system can't continue.
11 INSTALLING AND MANAGING HARDWARE Chapter 6. Chapter 6: Installing and Managing Hardware2 INSTALLING AND MANAGING HARDWARE  Install hardware in a Microsoft.
PC Maintenance: Preparing for A+ Certification Chapter 28: Working with Applications.
Managing Applications, Services, Folders, and Libraries Lesson 4.
IT1001 – Personal Computer Hardware & system Operations Week7- Introduction to backup & restore tools Introduction to user account with access rights.
A+ Guide to IT Technical Support, 9th Edition
Windows Vista Configuration MCTS : Installing and Upgrading.
Chapter Objectives In this chapter, you will learn:
Chapter 32 - Recovering After a Computer Crash
Files Used in the Boot Process
CONFIGURING HARDWARE DEVICE & START UP PROCESS
You will be given the answer. You must give the correct question.
Presentation transcript:

A+ Guide to Managing and Maintaining your PC, 6e Chapter 14 Troubleshooting Windows 2000/XP Startup

A+ Guide to Managing and Maintaining your PC, 6e2 Objectives Learn about what happens when Windows 2000/XP starts up Learn about the tools that can help you when Windows fails to boot or boots with errors Learn strategies that you can use to solve problems when Windows 2000/XP won’t boot

A+ Guide to Managing and Maintaining your PC, 6e3 Introduction Two types of startup problems –Windows 2000/XP will not load the Windows desktop –Windows 2000/XP loads the desktop with errors Topics to cover –What happens when Windows 2000/XP starts –Tools and utilities used to solve boot problems –Strategies and approaches for solving boot problems Meet booting problems with a good plan

A+ Guide to Managing and Maintaining your PC, 6e4 Understanding the Windows 2000/XP Boot Process Topics to cover in this section: –What happens during the boot process –What files are needed to boot –Changing settings that affect Windows 2000/XP startup

A+ Guide to Managing and Maintaining your PC, 6e5 What Happens When Windows 2000/XP Starts Up The procedure applies to an Intel-based PC Programs involved in the initial steps –Startup BIOS (firmware) –MBR program –Boot sector program –Ntldr Table 14-1 describes the steps in detail

A+ Guide to Managing and Maintaining your PC, 6e6 Table 14-1 Steps in the Windows 2000/XP boot process for systems with Intel-based processors

A+ Guide to Managing and Maintaining your PC, 6e7 Table 14-1 Steps in the Windows 2000/XP boot process for systems with Intel-based processors (continued)

A+ Guide to Managing and Maintaining your PC, 6e8 Files Needed to Start Windows 2000/XP See files in Table 14-2 Some of the files are core components of the OS

A+ Guide to Managing and Maintaining your PC, 6e9 Table 14-2 Files needed to boot Windows 2000/XP successfully

A+ Guide to Managing and Maintaining your PC, 6e10 Table 14-2 Files needed to boot Windows 2000/XP successfully (continued)

A+ Guide to Managing and Maintaining your PC, 6e11 Important Folders Used in the Startup Process List of key folders used by Windows 2000/XP: –C:\Windows: the Windows XP installation –C:\Windows\System32: core system files and subfolders –C:\Windows\System32\config: registry hives –C:\Windows\System32\drivers: device driver files –C:\Documents and Settings: user account information –C:\Program Files: installed applications

A+ Guide to Managing and Maintaining your PC, 6e12 The Boot.ini File Hidden text file in root directory of active partition Read by Ntldr for two types of information: –Available operating systems (in [operating systems]) –How to set up the boot (in [boot loader]) You may view and edit information in Boot.ini To access Boot.ini, you must first make the file visible –Change hidden file setting in View tab of Folder Options Switches may be used in [operating systems] section –Ex: /fastdetect: OS bypasses serial port devices at boot

A+ Guide to Managing and Maintaining your PC, 6e13 Figure 14-2 A sample Windows XP Boot.ini file

A+ Guide to Managing and Maintaining your PC, 6e14 Customizing the Way Windows 2000/XP Starts Up How to change Windows startup options –Right-click My Computer and select Properties –After System Properties opens, click Advanced –Under Startup and Recovery, click Settings –If necessary, change settings and enter OK Configuring DEP (which changes /NoExecute switch) –Select Advanced tab of System Properties dialog box –Under Performance, click Settings –Click the Data Execution Prevention tab –Apply changes and click OK

A+ Guide to Managing and Maintaining your PC, 6e15 Figure 14-4 You can access startup and recovery options from the System Properties dialog box

A+ Guide to Managing and Maintaining your PC, 6e16 Troubleshooting Tools to Solve Startup Problems Sources of information about troubleshooting tools: –Microsoft Knowledge Base at support.microsoft.com –Microsoft Windows XP Professional Resource Kit Documentation (a book) –Table 14-3 in the text –Help files for a command tool Examples of the many tools available: –Last Known Good Configuration –Safe Mode –System Information (Systeminfo.exe)

A+ Guide to Managing and Maintaining your PC, 6e17 Figure 14-7 The System Information window displays important information about the system’s hardware, software, and environment

A+ Guide to Managing and Maintaining your PC, 6e18 Advanced Options Menu Used to diagnose and fix boot-related problems Press F8 key to display Advanced Options menu A list of the options –Safe Mode: boots OS with minimal configuration –Safe Mode with Networking: includes network access –Safe Mode with Command Prompt: text-based only –Enable Boot Logging: records files used during boot –Enable VGA Mode: substitute for regular display –Last Known Good Configuration: stored in the registry

A+ Guide to Managing and Maintaining your PC, 6e19 Figure Windows XP Safe Mode with Task Manager

A+ Guide to Managing and Maintaining your PC, 6e20 Advanced Options Menu (continued) A list of the options (continued) –Directory services restore mode: for domain controllers –Debugging mode: for moving system logs to another PC –Disable automatic restart on system failure: stops reboot Blue screen of death (BSOD) –Also called a stop error or system failure

A+ Guide to Managing and Maintaining your PC, 6e21 Figure Control what happens after a stop error

A+ Guide to Managing and Maintaining your PC, 6e22 Recovery Console A command-driven OS for serious troubleshooting Functions performed with the Recovery Console –Repair a damaged registry, system files, or file system –Enable or disable a service or device driver –Repair master boot program on hard drive –Repair boot sector on the system partition –Repair a damaged Boot.ini file –Recover data when the Windows OS is beyond repair Recovery Console is protected from illegal access Table 14-4 (partially reproduced) lists commands

A+ Guide to Managing and Maintaining your PC, 6e23 Table 14-4 Commands available from the Recovery Console

A+ Guide to Managing and Maintaining your PC, 6e24 Recovery Console (continued) Use the recovery console to fix hard drive problems –Fixmbr: restores the master boot program in the MBR –Fixboot: repairs the OS boot record –Diskpart: used to view, create, and delete partitions –Chkdsk: repairs file system and recovers data Restore the registry following steps in Table 14-5 Disabling a service or device driver –Listsvc: lists all services currently installed –Disable: disables a service –Enable: shows current status or reinstates a service

A+ Guide to Managing and Maintaining your PC, 6e25 Table 14-5 Steps to restore the Windows 2000/XP registry

A+ Guide to Managing and Maintaining your PC, 6e26 Recovery Console (continued) Use the Recovery Console to restore system files –Map: displays the current drive letters –Systemroot: sets Windows directory as default directory –Delete: deletes a file –CD: changes directory –Copy: makes a backup of the current Ntldr file –Bootcfg: lets you view and edit the Boot.ini file –Expand: extracts files compressed in cabinet (.cab) files

A+ Guide to Managing and Maintaining your PC, 6e27 Figure Recovery Console command to repair Ntldr

A+ Guide to Managing and Maintaining your PC, 6e28 Recovery Console (continued) Use the recovery console to recover data –First step: change some Recovery Console settings –Second step: copy data from hard drive to other media Optional installation of the Recovery Console –Open a command window –Navigate to \i386 folder on Windows 2000/XP CD –Enter the command winnt32 /cmdcons The Recovery Console is installed at this step –Restart your computer Recovery Console should be on the boot loader menu

A+ Guide to Managing and Maintaining your PC, 6e29 Strategies for Troubleshooting Windows 2000/XP Startup Topics to cover –General guidelines for troubleshooting –How to respond to startup errors –How to clean up a sluggish startup –How to restore system files –Methods to use as a last resort

A+ Guide to Managing and Maintaining your PC, 6e30 Guidelines for Troubleshooting Boot Problems Ask the user what happened before problem started Back up data before trying to solve an OS problem Determine what point in boot the system fails Check the simple things first; e.g., loose cables Boot to Advanced Options, select Last Known Good Configuration

A+ Guide to Managing and Maintaining your PC, 6e31 Respond to Any Startup Errors Signs of a successful startup –You can log onto Windows –The Windows desktop is loaded –The hourglass pointer has disappeared If an error message appears during boot, address it Table 14-6 identifies error messages –The table is partially reproduced in the following slide

A+ Guide to Managing and Maintaining your PC, 6e32 Table 14-6 Startup error messages and their meanings

A+ Guide to Managing and Maintaining your PC, 6e33 Respond to Any Startup Errors (continued) Errors that occur before the windows load begins –Startup BIOS is still in control –All core startup components must work for success –Essential hardware: CPU, boot device, power supply –Example: BIOS cannot find a hard drive Stop error –Drastic error that causes Windows to hang or lock up –Search Microsoft support site for help with problem –Example: a bad USB device causes BSOD to appear

A+ Guide to Managing and Maintaining your PC, 6e34 Figure A BSOD might be caused by hardware or software

A+ Guide to Managing and Maintaining your PC, 6e35 Respond to Any Startup Errors (continued) Program not found error –Entry in the registry or a startup folder, but no program –Cause: uninstall routine leaves entry behind –You can use Msconfig to identify orphan entry –If the entry is in registry, delete entry to eliminate error Errors from when a device or service has failed to start –Use Device Manager to update the driver –Uninstall and reinstall the device –Boot from Last Known Good Configuration –Try Safe Mode, System Restore, Recovery Console

A+ Guide to Managing and Maintaining your PC, 6e36 Figure Delete orphan registry entry left there by malware

A+ Guide to Managing and Maintaining your PC, 6e37 Cleaning Up Startup Locations to check for cleanup –Startup folders for startup processes –Unwanted scheduled tasks –Group Policy startup entries –Installed fonts Msconfig: used to find other startup entries Services Console: used to disable unwanted services Check startup folders –Move unwanted programs or shortcuts to another folder

A+ Guide to Managing and Maintaining your PC, 6e38 Figure This startup folder holds several unneeded services that appear in the system tray and take up system resources

A+ Guide to Managing and Maintaining your PC, 6e39 Cleaning Up Startup (continued) Look for unwanted scheduled tasks –Tasks launched at startup are in C:\Windows\Tasks –Inspect folder for unwanted or malicious tasks Check Group Policy for unwanted startup events –Group Policy scripts are placed in one of four folders –Malicious software is sometimes placed in these folders Check for too many installed fonts –Fonts stored in C:\Windows\Fonts folder –Install or uninstall a font: move font into or out of folder –Make sure folder does not hold more than 260 files

A+ Guide to Managing and Maintaining your PC, 6e40 Figure The Scheduled Task folder can contain tasks that launch at startup

A+ Guide to Managing and Maintaining your PC, 6e41 Figure Fonts are kept in the C:\Windows\Fonts folder

A+ Guide to Managing and Maintaining your PC, 6e42 Cleaning Up Startup (continued) Use Windows XP Msconfig to limit startup events –To access utility, enter Msconfig in the Run dialog box –Click Services tab to view all services set to start –Click Startup tab to view/edit list of startup programs –Deselecting a startup item is not a permanent solution Check for corrupted or unneeded files –Service: support program running the background –Identify services from the Services Console –Investigate the service on the Internet

A+ Guide to Managing and Maintaining your PC, 6e43 Figure Use the Msconfig Startup tab to control programs launched at startup

A+ Guide to Managing and Maintaining your PC, 6e44 Figure The Services console is used to start, stop, and schedule services

A+ Guide to Managing and Maintaining your PC, 6e45 Restore System Files Return to a previous Windows XP restore point –Try Driver Rollback before System Restore –If using System Restore, select a close restore point –Accessing System Restore when Windows GUI is down Try booting into Safe Mode Use Windows 2000/XP boot disk to verify boot files –If OS boots from disk, problem is in root folder of C drive –To create boot disk, copy boot files from PC or setup CD –A repair suggestion: replace Ntldr, Ntdetect.com, Boot.ini

A+ Guide to Managing and Maintaining your PC, 6e46 Restore System Files (continued) Use the Recovery Console to restore system files –Boot to the Recovery Console –Get a directory listing of files in the root directory –Use the Chkdsk command to scan hard drive for errors –Try copying backup registry files to \..\system32\config –Identify faulty service using Listsvc, Disable, and Enable –Replace faulty service with a copy from the setup CD

A+ Guide to Managing and Maintaining your PC, 6e47 Recover or Repair the Windows 2000/XP Installation Recovery partitions and recovery CDs –If provided, use a recovery CD instead of a setup CD Recovery CD has drivers specific to system and OS build –Hidden partition may also be used for recovery Windows XP Automated System Recovery (ASR) –Recovers system from time of last full backup of drive C –Access ASR backup from setup CD (press F2) –Follow directions onscreen to restore drive C

A+ Guide to Managing and Maintaining your PC, 6e48 Figure Brand name recovery CDs and a Windows XP setup CD

A+ Guide to Managing and Maintaining your PC, 6e49 Recover or Repair the Windows 2000/XP Installation (continued) The Windows 2000 Emergency Repair Process –Method of last resort (all changes to system are lost) –Process uses Emergency Repair Disk (ERD) In-place upgrade of Windows 2000/XP –Software/hardware are reinstalled, user data preserved –Use repair utility on Windows 2000/XP setup CD Clean installation of Windows 2000/XP –First step: copy data files to a safe place –Destroy current Windows 2000/XP installation –Reinstall the OS from the Windows 2000/XP setup CD

A+ Guide to Managing and Maintaining your PC, 6e50 Figure Windows XP Setup can repair the selected Windows installation

A+ Guide to Managing and Maintaining your PC, 6e51 Summary Files used in boot process are stored in root directory of hard drive and C:\Windows\System32 folder Boot.ini file: key startup file with [operating system] and [boot loader] sections Advanced Options menu: diagnostic utility accessed before the OS GUI is loaded Safe Mode: Advanced Option menu item that runs system with essential processes only

A+ Guide to Managing and Maintaining your PC, 6e52 Summary (continued) Recovery Console: command-driven OS used to troubleshoot serious startup problems Blue screen of death (BSOD): serious stop error When cleaning up the startup process, check folders with startup files and run anti-virus software Restore system files using System Restore, a boot disk, or the Recovery Console Restore an entire system using Automated System Recovery or performing a clean installation