Troubleshooting XP
Troubleshooting XP
Repairing XP - Part 2
Repairing XP - Part 3
Repairing XP - Part 4
Repairing XP - Part 5
You should also understand that once you start the computer using the Last Known Good
Configuration, any changes made since the last successful startup will be lost. Note, though, that
changes made to other registry keys will remain in place.
Good Show
Heres how to start the computer using the Last Known Good Configuration.
When a problem occurs, the Please select the operating system to start message
should appear onscreen. Press the F8 key to bring up the Windows Advanced Options
menu.
Use the arrow keys to select the Last Known Good Configuration. Then press
[ENTER]. Note that if youre running more than one operating system on the computer,
use the arrow keys to select Windows XP, and then press [ENTER].
With luck and a following wind, the Last Known Good Configuration will start the computer using
your most recent settings that worked.
Two For Joy
And if your computer still wont start? Well, try not to get all hot and bothered just yet. There
are several remaining options to fall back on. Next time, for example, well show you how to repair
Windows XP using two recovery features together: Safe Mode and System Restore.
Safe Mode
If Windows hangs at startup, use the power switch or the reset button to restart the computer.
You should see the Startup Recovery menu. If it doesnt appear, press F8 after the system
finishes displaying startup messages from the BIOS (but before the Windows logo appears).
Unless you especially need networking capabilities, its generally better to start the computer in
Safe Mode only. This will start your operating system using basic files and drivers and should
enable the mouse (unless its a serial device), keyboard, storage, base video, and default system
services.
System Restore
The Windows XP version of System Restore is a greatly improved version of the one found in
Windows Me. System Restore is a bit like owning your very own time machine, because it can
restore system and application settings back to a point in time you specify.
Thus, if you can start the computer in Safe Mode, you have a great chance of using System
Restore to undo the configuration change thats causing your machine to hang.
How It Works
System Restore is similar to a commercial disk imaging
program in that its capable of taking snapshots of your
system. It can do so automatically every 24 hours or so,
when certain events occur, or when you choose to take a
snapshot.
These snapshots are usually referred to as restore points. They can be restored on demand when
something goes wrong and your computer hangs or fails to start.
The only limit to the number of restore points stored on a system is the amount of disk space
available to hold them. For instance, up to 12 per cent of the overall disk space per drive can be
reserved for restore points. Or up to 400MB on disks less than 4GB.
Restore points are scheduled to take place by default every 24 hours. Importantly, though,
System Restore can also take snapshots in response to particular events, such as before you
install a new application.
So if Windows XP fails to start after a critical change has been made to the system, you can
often start the operating system in Safe Mode, and then fire up System Restore. You can access
the feature in Safe Mode just as you would normally. Click Start, All Programs, Accessories,
System Tools, and click System Restore.
Once started, you can follow the onscreen instructions and use the wizard to revert back to a time
when the computer operated normally.
Next Please
Still cant get Windows to start? Then it may be time to try your luck with the Recovery Console
so look out for that in part four!
The main advantage to using the Recovery Console over Safe Mode, for example, is that the
former will work even when vital system files are corrupt. The Recovery Console will let you
perform many important tasks including the ability to:
Restrictions
The Recovery Console is not all sweetness and light. Although the console prompt looks identical to
the familiar MS-DOS prompt and Windows XPs own command interpreter (Cmd.exe), its not quite
the same. Indeed, the default setup of the Recovery Console contains a number of restrictions.
For example, you can access files only in the following locations:
The folders of removable disks such as floppy disks, CDs, and Zip disks.
The %SystemRoot% folder and subfolders of a Windows XP installation. Note that this
is usually the C:\Windows folder if the system has been upgraded from Windows 98/Me.
These restrictions are necessary because the alternative solution of providing unlimited file
access could pose a major security risk. This applies especially to users of Windows Home Edition,
where the Administrator account is left blank by default.
Such limits can be frustrating when all you want to do is repair the system. Or simply access a file
stored in one of the Program Files folders or Documents And Settings folders.
Boot Menu Option
There are two ways to launch the Recovery Console: from the Windows CD, or from a startup
option on the Windows boot menu. Note that the latter option requires the console to be installed
at a point in time before Windows fails to start.
Heres how its done: insert the Windows CD into your
CD-ROM drive and at the command prompt (where D:\ is
your CD-ROM drive), type D:\i386\winnt32.exe
/cmdcons. Youll see a message describing the Recovery
Console option. Click Yes to install the console.
While this method makes the Recovery Console far
quicker to access when Windows fails to start, be
warned that it will present you with a boot menu each
time you start Windows XP.
You can configure the menus startup options from Start, Control Panel, and System applet. Then
from the Advanced tab, click Startup And Recovery Settings. Its usually a good idea to reduce
the time set to display the various options from 30 seconds, by default, to around 5 seconds.
CD Option
If you wish to avoid a boot menu, you can still launch the Recovery Console from the Windows CD.
If Windows fails to start, insert the Windows CD into your CD-ROM drive and restart the
computer. Note that for this to work you may need to enable any BIOS settings that allow your
computer to boot from a CD.
Follow the onscreen prompts, including the setup prompt to load the basic Windows startup files.
Then at the Welcome To Setup screen, press R to launch the Recovery Console (for dual-boot
systems, enter the number of the Windows installation to be accessed via the console).
When prompted, type the Administrator password. As we mentioned earlier, this is blank by
default on the Windows XP Home Edition. So if there is no Administrator password, just hit
ENTER to start the console.
Next Time
Sadly, weve run out of space. In part five, well show you how to use the Recovery Console to solve
some common startup problems.
Senior Service
Buggy drivers and poorly written third-party services are another common cause of Windows XP
startup problems. Thankfully, a combination of Safe Mode and System Restore can often return
the machine to a healthy state.
Sometimes, though, the problem is so severe that you cant even start Windows in Safe Mode.
When this happens, the Recovery Console provides three commands to help identify the offending
service and disable (or enable) it.
LISTSVC This command displays a list of all the services and drivers on your system including
current status and whether any optional components are installed.
DISABLE To stop a service or driver, use the disable command followed by the name of the
faulty service or driver. Before the service is disabled, the current start type value of the service
is shown: SERVICE_BOOT_START, SERVICE_SYSTEM_START, SERVICE_AUTO_START, or
SERVICE_DEMAND_START. Always make a note of the start value so that it can be re-enabled
using the same value later.
ENABLE If the stopped service or driver turns out to be okay (something else is causing the
problem), it can be re-enabled using the enable command. This should be followed by the name of
the service or driver and the identical start value you observed when it was disabled.
Last Resort Time
Lets face it - you could try every option weve covered in this series only to find Windows still
fails to start. If that happens, you may be able to repair the Windows installation using the
Windows Setup program.
To perform a repair, boot from the Windows CD. However, rather than choosing the option to
repair the installation at the Welcome To Setup screen (which launches the Recovery Console),
press ENTER to start the Windows Setup program.
At the screen which lists the machines current Windows installations, select the problem
Windows XP installation from the list and press R to begin the repair process. With any luck, this
will refresh your system files and have them back working normally. In severe cases, however,
reformatting the disk and a clean install of Windows may be the only solution.