Practical PC
Stripe Reviews
Web Building Guides
Computing Guides
Opinion
Downloads
About Practical PC


 
 
Sections
What is it?
How do I?
Where do I find?
 
Windows
Sound
Graphics
Communications
Printers
Networking
Storage
Digital Photography
Web building

Latest Updates

An Overview of Kids Software
Auto-complete in MS Word
Folder Shortcuts
Guide: Backups rule OK!
Guide: CD Printing
Guide: CD-R Media Lifespan
Guide: Essential Software
Guide: Fixing Audio CD distortion
Guide: Hoax Emails
Guide: MSCONFIG's other uses
Guide: Repairing Windows XP - Part 2
Guide: Repairing Windows XP – Part 4
Guide: Repairing Windows XP – Part 5
Guide: Restoring deleted files 1/3 
Guide: Restoring Deleted Files 2/3
Guide: Restoring deleted files 3/3 
Hauppauge MediaMVP
Opinion: Googling for Images
Opinion: No firewall? Read this!
Practical PC Guide to Google
Review: ACDSee 6.0 PowerPack
Review: Amacom USB Drives
Review: Amplio Photo Player
Review: Ansmann Battery Chargers
Review: Business Plan Pro 2004
Review: CorelDRAW Essentials 2
Review: Creative MP3+
Review: Dazzle DVC150
Review: Epson Perfection 2450 Photo Scanner
Review: Epson RX600
Review: Fellowes CD/DVD Labelling System
Review: Genius’ Controllerless PCI Modem
Review: Humax PVR-8000T
Review: iView media Pro 2.5
Review: MailWasher Pro
Review: MSGTAG
Review: Netgear ME102 Access Point
Review: NetNanny 5.0
Review: Philips Keyring 006 Audio Player
Review: PicStop Flash Drive
Review: Pockey USB 2.0 External Disk Drive
Review: Red Shift 5
Review: Sandra Reporting
Review: Second Copy 2000
Review: Skype
Review: Studioline Photo 2
Review: Ulead Video Studio 8
Review: Unknown Device Identifier
Review: Wacom Graphire 3 Studio
Review: WebDrive 6.0
Script: In-line Content Changer
Top Tip: Setting your HOME page in Internet Explorer
Top Tip: Troubleshooting Disk Defragmenter
TOTW: Restart, not reboot

05/05/2004

 

Computing Guides

  PPC > Computing Guides > Windows    

Repairing Windows XP – Part 5

When all else fails, the Recovery Console provides enough tools to fix most startup bugs. Here are the best, courtesy of Dave Cook.

A damaged boot file, a failed service or a faulty driver. Any one of these problems can cut short a Windows XP startup. If Safe Mode combined with System Restore fails to fix the setback, the next logical repair option is the Recovery Console.

The Recovery Console works in a non-graphical, command-line environment and as such is not recommended for novices. Its chief advantage over Safe Mode is that it works even when Windows system files have been corrupted.

Basically you can launch the Recovery Console in one of two ways. To see how, check out Repairing Windows XP – Part 4. Once running, typing HELP at the Recovery Console prompt displays a list of commands that are available from the console.

Give It The Boot

The first file in the Windows boot sequence is Ntldr, a hidden system file found in the root directory of your hard drive. Ntldr performs a variety of vital tasks before it looks for the Boot.ini file, a text menu boot file also found in the root directory.

After Ntldr completes the initial boot process, Ntdetect begins looking for installed hardware. These three files (and others) form an essential part of the Windows startup process. If a program (or perhaps another operating system in a multiboot scenario) overwrites or corrupts an essential startup file then Windows XP will fail to start.

The following example can be used to fix damaged boot files from the Recovery Console:

BOOTCFG - Should the Windows startup file, Boot.ini become corrupt, use bootcfg /rebuild to automatically replace the existing Boot.ini file. Alternatively, use bootcfg /add to append a Windows installation to Boot.ini without changing existing entries.

COPY - Use the copy command (including source and destination) to restore damaged or missing system files such as Ntldr, and Ntdetect. Compressed files will be expanded automatically. If the file is stored inside a .cab file then use the expand command.

FIXBOOT – Use the fixboot command to re-write the boot sector code. For this option to work, you’ll need to start the Recovery Console from the Windows CD.

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 can’t 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

Let’s face it - you could try every option we’ve 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 machine’s 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. 

Repairing XP - Part 4

^top

Need more help? Click here to share your problem with the world!


Search this site 

Dave Cook

 

 

counter