Title: Chapter 16: Troubleshooting
1Chapter 16Troubleshooting
2Learning Objectives
- Develop your own problem-solving strategy
- Use the Event Viewer to locate and diagnose
problems - Troubleshoot configuration, security,
connectivity, and network printing problems
3Learning Objectives (continued)
- Troubleshoot boot problems, using a variety of
tools including the emergency repair disk, safe
mode, and the recovery console - Back up and restore system state data
4Problem Solving Strategy
- Develop a problem solving strategy to help you
troubleshoot more effectively such as - Understanding how the server and network interact
- Training users to help you solve problems
- Learning the essential business processes of your
organization
5Using Network Diagrams
- Create network diagrams to help determine the
location of specific problems
6Training Users
- Train users to work as allies in solving network
and server problems by - Learning to save their work when a problem occurs
- Precisely recording error messages
- Quickly reporting error situations and the
conditions under which they occurred
7Learning Business Processes
- Learn the essential business processes of your
organization and use this knowledge to help you
locate and solve problems more rapidly
8Solving Problems Step by Step
- Develop a thorough step-by-step approach to
solving problems - Get as much information as possible before you
start - Obtain the precise wording of error messages
- Start with simple solutions
- Determine how many people are affected
9Solving Problems Step by Step (continued)
- Check for alerts sent to your account
- Check the event logs
- Use System Monitor filtering
- Check for local power problems
10Tracking Problems and Solutions
- Keep a database or log of problems and how they
were solved, so that later you dont have to
guess how the same or a similar problem was
solved in the past
11Using Run As
- Sometimes you have to work on problems when
someone else is logged on or from another
persons computer. Try using the Run as option so
you do not have to log off that account to have
Administrator privileges.
12Using the Windows 2000 Server Logs for
Troubleshooting
- Windows 2000 Server records valuable notification
information in event logs - System log An event log that records information
about system-related events such as hardware
errors, driver problems, and hard drive errors - Security log An event log that records access
and security information about logon accesses,
file, folder, and system policy changes
13Using the Windows 2000 Server Logs for
Troubleshooting (continued)
- Application log An event log that records
information about how software applications are
performing - Directory Service log An event log that records
events that are associated with the Active
Directory, such as updates to the Active
Directory, events related to the Active
Directorys database, replication events, and
startup and shutdown events
14Using the Windows 2000 Server Logs for
Troubleshooting (continued)
- DNS Server log An event log that provides
information about events associated with the DNS
Server, such as instances in which DNS
information is updated, when there are problems
with the DNS service, and when the DNS Server has
started successfully after booting - File Replication Service log An event log that
contains information about file replication
events such as changes to file replication, when
the service has started, and completed
replication tasks
15Sample Information in the System Log
- Type of event
- Date and time of the event
- Source of the event
- Category of the event
- Event number
- User account involved
- Computer involved
16Viewing an Event Log
Figure 16-1 Event Viewer
17Viewing a Specific Event
Figure 16-2 Viewing a system log event
18Troubleshooting Tip
- If a server suddenly crashes or is not
functioning normally, make the system log your
first stop to look for a problem
19Event Log Filtering
- You can look for specific events in a log by
setting up a filter on criteria such as - Event type, including warning, error,
information, success audit, failure audit - Event source
- Event category
- Event ID
- User account
- Computer
- Date range
- Time range
20Setting Up an Event Log Filter
Figure 16-3 Creating a system log filter
21Event Log Configuration
- There are several options for maintaining event
logs - To size each log to prevent it from filling to
fast - To regularly clear each log before it is full
- To automatically override the oldest events when
a log is full
22Event Log Configuration (continued)
Figure 16-4 Configuring event log settings
23Troubleshooting Server Configuration Problems
- Steps you can take to troubleshooting server
configuration problems include - Check the event logs
- Check the Control Panel Add/Remove Programs tool
for components that need further configuration - Use the Configure Your Server tool in the
Administrative Tools menu
24Troubleshooting Server Configuration Problems
(continued)
Figure 16-5 Checking to make sure a Windows
component is configured
25Troubleshooting Server Configuration Problems
(continued)
- Use the Control Panel tools to solve
configuration problems - Use the Network and Dial-up Connections tool to
solve connectivity problems - Use tools such as Device Manager that are
available in the Computer Management tool
26Troubleshooting Server Configuration Problems
(continued)
Figure 16-6 Using Device Manager to find a
configuration conflict
27Troubleshooting Connectivity Problems
- To troubleshoot connectivity problems
- Determine how many stations are experiencing the
problem - Check the servers NIC connection
- Verify the protocol setup
- Make sure the NIC is properly configured and has
the most recent driver - Make sure clients are set up for the correct
domain or workgroup
28Troubleshooting Connectivity Problems (continued)
- Check cable connections and connectors
- Examine network cable for damage
29Troubleshooting Connectivity Problems (continued)
Figure 16-7 Troubleshooting the NIC media type
30Troubleshooting Connectivity Problems
31Troubleshooting Connectivity Problems (continued)
32Troubleshooting Connectivity Problems (continued)
33Troubleshooting Connectivity Problems (continued)
34Troubleshooting Connectivity Problems (continued)
35Troubleshooting Connectivity Problems (continued)
36Troubleshooting Connectivity Problems (continued)
37Troubleshooting TCP/IP Connectivity
- Windows 2000 Server includes command line tools
that can be used to troubleshoot TCP/IP
connectivity problems (many of these tools are
also available in Windows 2000, Windows NT,
Windows 98, and Windows 95 clients)
38Ipconfig
- Ipconfig is an example of a TCP/IP
troubleshooting tool used to confirm information
such as the IP address, subnet mask, and default
gateway of the Windows 2000 Server
39Ipconfig (continued)
Figure 16-8 Using ipconfig
40Ping
Figure 16-9 Using ping
41Windows 2000, NT, 98, and 95 Diagnostic Commands
for TCP/IP Connectivity
42Cable Problems
- When network communication problems occur, check
for cable problems as one source
43Troubleshooting Cable Problems
Table 16-3 Troubleshooting Cable Problems
44Troubleshooting Cable Problems (continued)
45Troubleshooting Cable Problems (continued)
46Troubleshooting Cable Problems (continued)
47Troubleshooting Cable Problems (continued)
48Troubleshooting Network Printing Problems
- Try the simplest solutions first when
troubleshooting network printing difficulties,
such as checking printer connectivity
49Troubleshooting Network Printing Problems
Table 16-4 Troubleshooting Network Printing
Problems
50Troubleshooting Network Printing Problems
(continued)
51Troubleshooting Network Printing Problems
(continued)
52Troubleshooting Network Printing Problems
(continued)
53Troubleshooting Network Printing Problems
(continued)
54Troubleshooting Network Printing Problems
(continued)
55Changing a Password
- To change an account password when a user has
forgotten his or hers - Open the Active Directory Users and Computers
tool - Open the container in which the account resides
- Right-click the account and click Reset Password
- Enter the new password, confirm it, and click
User must change password at next logon
56Using Auditing for Troubleshooting
- To help resolve why an account cannot access
certain resources, audit those resources and
check the security log - Also, use resource auditing to track intruders
57Using the System Security and Analysis Tool
- The System Security and Analysis tool can be used
to set up default security and to later analyze
existing security for problems
58Using the System Security and Analysis Tool
(continued)
Figure 16-10 Checking system security
59Using the System Security and Analysis Tool
(continued)
Figure 16-11 Security analysis results
60Resolving Boot Problems
- Boot problems can be caused by
- Disk failure
- Corrupted partition table
- Corrupted boot file
- Corrupted master boot record
- Disk read error
61Troubleshooting Tip
- When you first experience a boot problem, try
rebooting to see if it is a transient error
62Safe Mode
- Safe mode A boot mode that enables Windows 2000
Server to be booted using the most generic
default settings, such as for the display
63Accessing the Safe Mode
- To access the safe mode
- Reboot the computer
- Press F8
- Select the desired safe mode option in the
Advanced Options Menu - Highlight Windows 2000 Server as the operating
system and press Enter
64Accessing the Safe Mode (continued)
Figure 16-12 Advanced Options Menu for booting
Windows 2000 Server
65Advanced Menu Options
Table 16-5 Advanced Menu Options
66Advanced Menu Options (continued)
67Advanced Menu Options (continued)
68Using the Emergency Repair Disk
- Use the emergency repair disk if you cannot boot
or solve a problem via safe mode
69Accessing the Emergency Repair Disk
- To access the ERD
- Boot from the Windows 2000 Server CD-ROM or Setup
Disk 1 - Press R on the Welcome to Setup screen
- Press R again on the next screen
- Insert the ERD
- Select M to manually select what to repair or
select F to perform all repair options - Follow the repair instructions
70Accessing the Emergency Repair Disk (continued)
Figure 16-13 Accessing the repair option
71Accessing the Emergency Repair Disk (continued)
Figure 16-14 Repair options
72Troubleshooting Tip
- Keep the ERD updated after each key change to
Windows 2000 Server so that you can troubleshoot
using the most recent configuration information
73Using the Recovery Console for Troubleshooting
- Recovery console A recovery tool that enables
you to boot directly into the Windows 2000 Server
command line to perform recovery and
troubleshooting operations. The Recovery Console
can be added as a boot option, started from the
Windows 2000 Server CD-ROM, or started from the
Windows 2000 Server floppy installation disks.
74Recovery Console Command Options
- Some examples of commands that can be used from
the recovery console are - chkdsk
- disable
- diskpart
- enable
- fixboot
- fixmbr
- format
75Troubleshooting Boot Problems
76Troubleshooting Boot Problems (continued)
77Troubleshooting Boot Problems (continued)
78Troubleshooting Boot Problems (continued)
79Troubleshooting Boot Problems (continued)
80Troubleshooting Boot Problems Associated with
Stop Messages
Table 16-7 Troubleshooting Boot Problems
Associated with Stop Messages
81Troubleshooting Boot Problems Associated with
Stop Messages (continued)
82Troubleshooting Boot Problems Associated with
Stop Messages (continued)
83Troubleshooting Boot Problems Associated with
Stop Messages (continued)
84Troubleshooting Boot Problems Associated with
Stop Messages (continued)
85Troubleshooting Boot Problems Associated with
Stop Messages (continued)
86System State Data
- Plan to back up important system state data so
that it can be recovered, if necessary.
87System State Data Elements
- System state data consists of
- System and boot files
- Active Directory
- SYSVOL folder
- Registry
- COM Class Registration information
- DNS zones (if installed)
- Certificate information (if installed)
- Server cluster data (if installed)
88Backing Up System State Data Using the Backup Tool
Figure 16-15 Backing up system state data
89Protected System Files
- Plan to backup the protected system files along
with the system state data - The protected system files include
- Ntldr
- Bootsect.dos
- Boot.ini
- Ntdetect.com
- Ntbootdd.sys
- Ntoskrnl.exe
- Hal.dll
90Restoring a Failed System Volume
- To restore a failed system volume
- Replace the failed hardware
- Install Windows 2000 Server from the CD-ROM
- Use the Backup utility to restore system state
data and all other data using the most recent
backup tapes
91Chapter Summary
- Develop a problem solving strategy that matches
your equipment and organizations needs - Develop familiarity with the troubleshooting
tools in Windows 2000 Server, such as the Event
Viewer, System Monitor, Network Monitor, the
Network and Dial-up Connections tool, safe mode,
and recovery console
92Chapter Summary
- Learn to use the right troubleshooting tool for
the job - Plan to keep the ERD updated for future
troubleshooting - View troubleshooting situations as an opportunity
to better understand your organization, its
network, and the Windows 2000 servers on the
network