- Windows 98 and Me Troubleshooting Tools
- Windows Me Disk Management
- Windows 2000 Accessories
- Troubleshooting Disk Management
- Windows 2000 Registry
- Windows Me and 98 Troubleshooting Modes
- Windows Me Setup Log Files
- Windows 2000/XP Startup Modes
- Windows XP System Restore
- Exam Prep Questions
- Answers and Explanations
Windows Me Setup Log Files
The Windows Me operating system maintains a number of log files that track system performance and can be used to assess system failures. These log files are SETUPLOG.TXT, NETLOG.TXT, and DETLOG.TXT and are stored in the system's root directory. All three are text files that can be viewed with a text editor such as WordPad and can be printed out.
These filenames are indicative of the types of information they log. During a Logged mode startup, the system will attempt to boot in Normal mode, but will keep an error log file called BOOTLOG.TXT (bootup log) that tracks the events of the startup procedure and the outcome of those events. Similarly, the SETUPLOG.TXT (installation and setup log) file tracks the events of the installation and setup process. The DETLOG.TXT (detection log) file monitors the presence of detected hardware devices and identifies the parameters for them. Likewise, the NETLOG.TXT (Network Log) file monitors the installation and configuration of your network connection.
CAUTION
For computer safety purposes, do not save any changes to the information contained in these four files.
Resources
-
PC-compatible desktop/tower computer system
-
Windows Millennium installed on hard drive
Procedure
In this next lab, you will examine the BOOTLOG.TXT file and note the various types of information it contains. Familiarity with this file can aid in troubleshooting boot process problems.
BOOTLOG.TXT
The BOOTLOG.TXT file contains the sequence of events conducted during the system startup, and is located in the root directory (C:\). A boot log can be created by pressing the Shift+F8 keys during startup, or by starting Windows Me at the command prompt using the Windows Me Startup disk.
-
Create a BOOTLOG.TXT file at startup.
-
Turn on the power to the system.
-
Select Windows Millennium and press the Enter key.
-
Press and hold down the Ctrl key.
-
Press the down arrow key to highlight 2. Logged (\BOOTLOG.TXT), and press the Enter key.
-
Locate the log files with the Search tool.
-
Choose Start, Search, and then select Files or Folders.
-
Make certain that the C: drive is selected in the Look In box.
-
In the Named box, type *log.txt, and click the Search Now button. Your window will look similar to Figure 3.29.
-
In the Listing Display window, click the Name column button, and then click the In Folder column button.
-
Record the information for the first four files in Table 3.39. You might need to use the horizontal scroll bar at the bottom of the window to see all of the information for the first four *log.txt files.
-
Open and examine the BOOTLOG.TXT file.
-
Double-click the BOOTLOG.TXT file icon to open the file in Notepad.
-
Click the Maximize button to expand the Notepad window, as shown in Figure 3.30.
-
Record the names of the first and last VxD drivers to be loaded, and record whether or not they loaded successfully in Table 3.40. The next group can be checked to verify if the system-critical VxD drivers have been initialized. These drivers are shown to be successfully initialized by a line beginning SYSCRITINIT=, followed by a line reading SYSCRITINITSUCCESS=.
-
Record the names of the first and last VxDdrivers to be initialized, and record whether or not it was done successfully in Table 3.41. The next group shows the initialization of the VxD device drivers. These devices are shown to be successfully initialized by a line beginning DEVICEINIT=, followed by a line reading DEVICEINITSUCCESS=.
-
Record the names of the first and second devices to be initialized, and record whether or not it was done successfully in Table 3.42. The next group, which may be found inside the device initialization group, shows the dynamic loading and initialization of the system device drivers. These devices are shown to be successfully initialized by a line beginning Dynamic load device followed by a line reading Dynamic init device, then Dynamic init success, and finally Dynamic load success.
-
Record the names of the first and second devices to be dynamically loaded and initialized, and record whether or not it was done successfully in Table 3.43. The next group confirms the initialization of the system VxDs. These devices are shown to be successfully initialized by a line beginning INITCOMPLETE=, followed by a line reading INITCOMPLETESUCCESS=.
-
Record the names of the first and last VxD initializations to be confirmed, and record whether or not it was done successfully in Table 3.44. The final section begins with the line Initializing KERNEL. This describes the loading of the various parts of the operating system kernel and its support drivers. These steps are shown to be successful by a line beginning LoadStart=, followed by a line reading LoadSuccess=.
-
Record the names of the first and last kernel parts to be loaded, and record whether or not it was done successfully in Table 3.45.
Figure 3.29 Search results.
In the first group, the system loads the VxD drivers. These drivers are shown to be successfully loaded by a line beginning Loading Vxd=, followed by a line reading LoadSuccess=.
Figure 3.30 BOOTLOG.TXT file.
DETLOG.TXT
The DETLOG.TXT file is stored in the system's root directory (C:\) and is used in recovery after an operating system crash. DETLOG.TXT can be edited or created in two different ways. First, it is created after a normal hardware setup. Second, it can be created or edited after a failed hardware setup. When a system crashes during the hardware detection portion of the startup procedure, a temporary DETCRASH.LOG (Detect Crash) log file is created. The file contains information about the detection module that was running when the crash occurred. DETCRASH.LOG is a binary file and cannot be read directly. However, a text version of this file is created and named DETLOG.TXT, as depicted in Figure 3.31.
Figure 3.31 DETLOG.TXT file.
-
Open and examine the DETLOG.TXT file.
-
In the menu bar, click the File menu and then select Open.
-
In the Open window, scroll to the right and then double-click the DETLOG.TXT. If the file is not visible type DETLOG.TXT in the File Name box and be sure that you are looking at Local Disk (C:\), and click the Open button.
-
If DETLOG.TXT is too large for Notepad to open, you will be asked to use WordPad to read it.
-
Record the information of the first line in Table 3.46.
-
In Table 3.47, record the first item to be checked, which begins with "Checking for."
-
Record the number of functions called, and the number of devices detected/verified in Table 3.48.
NETLOG.TXT
The NETLOG.TXT file is stored in the system's root directory (C:\) and is used in troubleshooting network problems. This file, as shown in Figure 3.32, is created at the installation of a Network Interface Card (NIC) and its accompanying software setup. It stands for Networking Log Text file.
Figure 3.32 NETLOG.TXT file.
-
Open and examine the NETLOG.TXT file.
-
Open the NETLOG.TXT file from drive C: in Notepad in the same manner as in step 1a.
-
Click the Maximize button to expand the Notepad window.
-
In Table 3.49 record the first three devices listed, which are identified by "NdiCreate" at the beginning of the lines. The device is enclosed inside a set of square brackets [] or a set of parentheses ().
-
Close the NETLOG.TXT file Notepad window.
SETUPLOG.TXT
The SETUPLOG.TXT file holds setup information that was established during the installation process. The file is stored in the system's root directory (C:\) and is used in safe recovery situations. Entries are added to the file as they occur in the setup process, as shown in Figure 3.33. Therefore, the file can be read to determine what action was being taken when a setup failure occurred.
Figure 3.33 SETUPLOG.TXT file.
-
Open and examine the SETUPLOG.TXT file.
-
Open the SETUPLOG.TXT file from drive C: in the same manner as in step 1a for NETLOG.TXT.
-
Click the Maximize button to expand the Notepad window.
-
Record the name of the first section in Table 3.50.
-
Record the name of the last section in Table 3.51.
-
Close the SETUPLOG.TXT file Notepad window.
-
Exit the Notepad program and turn off the computer.
What Did I Just Learn?
Log files can provide essential information for troubleshooting problems. By recording events and errors from applications and services, logs record information that can make difficult problems easier to solve. They can provide clues that point you in the right direction to resolve issues. With this exercise you practiced how to
-
Locate log files in Windows Millennium
-
Create and examine the log file BOOTLOG.TXT
-
Examine the log file DETLOG.TXT
-
Examine the log file NETLOG.TXT
-
Examine the log file SETUPLOG.TXT