Troubleshooting Failed Installations
Objective:Troubleshoot failed installations.A network administrator's best friend in a crisis is an error log file. This is also true for Windows XP installation failures. While installing, Windows XP Professional Setup generates log files that point you in the right direction when you need to troubleshoot.The Action log (Setupact.log) reports which actions Setup performed in chronological order. This log indicates which files were copied and which were deleted. It records whether any external programs are run and shows where errors have occurred.Setup creates an Error log (Setuperr.log) to record only the errors. Given that the Action log is extremely large, this log makes it easier to review errors and their severity levels. Although you may see some errors in the Action log, you probably won't see them in the Error log unless they are fairly severe. For example, the Action log reports an error if Setup cannot delete a file because the file was already moved or deleted, but that error does not appear in the Error log.Other logs created during Setup include:%systemroot%\comsetup.logReports the installation of COM+ components.%systemroot%\setupapi.logRecords data for each time an INF file is called and implemented. Check this file for device driver installation information.%systemroot%\debug\netsetup.logReports the results of a computer attempting to join a workgroup or domain. Check this file if you have trouble joining a domain.%systemroot%\repair\setup.logProvides the information used by the Recovery Console.%systemroot%\security\logs\scesetup.logLogs the security settings for the computer.%systemroot%\winnt32.logContains the debug information during setup.
Stop Errors or Blue Screen of Death (BSOD)
If you receive a Stop error that appears on the Microsoft blue screen (commonly known as the Blue Screen of Death), you have achieved a serious error with the installation. Stop errors have some instructions to follow on the screen. Not only should you follow the instructions, but you should check the compatibility of the hardware before attempting to install again. Step by Step 4.3 shows you how to resolve a Stop error.
Note
Stop codes The code and text associated with a Stop error are a great help in troubleshooting. For example, an error could be STOP 0X00000D1 (DRIVER IRQL NOT LESS OR EQUAL). You can search for this code number and text on Microsoft's website for an explanation of the cause and possible ways to fix the problem.Step by Step: 4.3 Resolving a BSOD
1. Shut down the computer.2. Remove all new hardware devices.3. Start up the computer and remove the associated drivers. Shut down.4. Install one of the removed hardware devices. Boot the computer and install the appropriate driver. Reboot. If no BSOD occurs, continue adding devices, one at a time.5. Open Device Manager and look for devices with a yellow exclamation point or red X. Run hardware diagnostic software.6. Check for hardware compatibility and BIOS compatibility. Check to see whether you have the latest available version of the BIOS.7. Check the System log in Event Viewer for error messages. These may lead to a driver that is causing the Stop error.8. Visit http://www.microsoft.com and perform a search on the Microsoft Knowledge Base for the Stop error number (for example, Stop: 0x0000000A). Follow the instructions given in the Knowledge Base article(s) for diagnosing and repairing the error.9. Disable BIOS options such as caching or shadowing memory.10. Install a version of Windows XP that has the latest service pack integrated.11. If the Stop error specifies a particular driver, disable the driver and then download and update the driver to the latest version available from the manufacturer.12. Video drivers are commonly the cause of a BSOD. Therefore, switch to the Windows XP Standard VGA driver and then contact the manufacturer for updated video drivers.13. If using a Small Computer System Interface (SCSI) adapter and device, ensure that the SCSI chain is properly terminated and that there are no conflicts with the SCSI IDs.
Stopped Installation
Windows XP may stop in the middle of an installation. This may happen because of a hardware conflict, incompatibility, or unsuitable configuration. To resolve the conflict, you should follow the usual procedure of removing all unnecessary adapters and devices from the computer and attempting installation again. After Windows XP is installed, you can add one device at a time back to the computer, load the latest manufacturer's drivers, and boot to see whether the computer functions properly. It is important that you add only one device at a time so that you can discover which device (or devices) may have been the cause of the problem.
Troubleshooting Process
When you troubleshoot any problem, whether it is during installation or otherwise, there is a simple cyclical methodology that can help you achieve a solution. This is shown in Figure 4.5. As you can see, it consists of five phases:
1. Identify the point of failure.2. Discover the cause of the failure.3. Define a solution.4. Test and implement the solution.5. Document the results.
Figure 4.5. The troubleshooting methodology is circular until a solution is found.
