|
||
|
| Protect Yourself |
Email This
View My Personal Library |
|
System Tips August 2003 Vol.9 Issue 8 Page(s) 32-35 in print issue |
Protect Yourself Back Up The Registry First | ||
|
No utility in computer history more accurately resembles a wolf in sheep's clothing than the Registry Editor. Although tweaking your Windows environment via the Registry Editor and other methods can be easy, fun, and useful, it's also inherently dangerous. Direct changes to the Windows Registry, as well as system tweaks that modify the Registry behind the scenes, can damage your Windows installation if you don't execute them properly. The Registry is enormously sensitive to changes because it stores the settings and options for all of your hardware and software, as well as for Windows itself. For example, each time you install new software, the Registry typically receives new information regarding the program. Then, when the program is uninstalled using proper uninstallation methods, the same information is removed from the Registry. In addition, if you make changes to your Control Panel settings, the Registry also stores that information. Over time, the Registry becomes jam-packed with data that oversees your entire computing environment. Most changes to the Registry are performed by programs or system configuration utilities that know what they're doing because they were programmed to properly edit the Registry. However, if you take the place of these programs and utilities and manually edit the Registry to modify Windows according to your preferences, or if you otherwise tweak or change your Windows environment through unconventional means, you better know what you're doing. One mistake could render your current Windows installation unusable. Unless you've properly backed up your entire Registry, parts of your Registry, or your whole Windows environment, you may be facing a complete reinstallation of Windows. Although properly backing up the Registry and/or Windows will insulate you from potential trouble, it's easy enough to neglect. After all, the Registry is extremely dense, and it might seem impossible that a small change in a deeply buried Registry key could ruin your entire Windows installation. But guess what? It can and it will, if you're not careful. You can choose any of several precautionary methods before making changes to your system that will affect the Registry. Some of these methods are integrated into WinXP, so we'll discuss those first. Although technically you could back up a whole Registry hive (a primary root key, such as HKEY_CURRENT_USER, that houses numerous other keys and values) or even the entire Registry using this method, it's not a good idea. One reason is because you could be left with a gigantic backup file (we've seen 50MB Registry backups) that won't do more than consume space if you never need it. More importantly, if you ever do need it to restore your Registry, double-clicking this file will likely overwrite much more than you'd like, disabling programs and settings that you installed and configured since the backup. Medium. The medium protection method is more robust. WinXP's System Restore utility returns your system to a previous state, such as one that existed before you tweaked (and subsequently damaged) your Registry. System Restore won't restore your entire system. Instead, it keeps track of crucial system files, such as your Registry, and creates restore "points" at logical intervals (for instance, before changes occur). You also can set restore points manually, and this method is what you'd use before editing your Registry or tweaking other parts of your Windows environment. To use System Restore, first you'll need to see if it's turned on. Open the System control panel (click Control Panel from the Start menu and choose the Performance And Maintenance category) and click the System Restore tab. Make sure there's not a check mark in the checkbox next to Turn Off System Restore (On All Drives) and that the status for your root drive (where Windows is installed) states Monitoring. From this tab, you also can change the amount of drive space available to System Restore (if you allocate more than the 200MB minimum, WinXP may allow for more restore points). Next, click Help And Support from the Start menu. In the Pick A Task section, click Undo Changes To Your Computer With System Restore, which will launch the System Restore Wizard. Select the Create A Restore Point radio button, click Next, and then type a name for your restore point in the Restore Point Description field (don't bother including a date and time in your name because the utility automatically adds this information to your restore point name). Click Create to create the restore point. To restore your computer to a previous state, launch the System Restore Wizard, select the Restore My Computer To An Earlier Time radio button, and click Next. The wizard will present a calendar with restore choices, and once you've chosen a restore point, click Next to implement it. When you click some of the restore points, you'll notice that Windows automatically created restore points for several events, such as program installation.
For example, if edits to your Registry damaged your current Windows configuration, you can select a restore point to return to a prior state, however, System Restore will sometimes inform you that it can't restore the system, without giving you a reason. Furthermore, the restore process can take an extremely long time—as long as an hour during our tests. And when you're waiting to see whether you can recover from a system disaster, this can seem like days. Finally, many users have reported that System Restore simply stops functioning at times, neglecting to automatically create restore points. If you configured the utility to create restore points on a regular basis to coincide with your regular tweaks, you may be in for serious trouble if System Restore isn't doing its job. In addition, it's important to remember that by design, System Restore becomes inactive if it doesn't have sufficient drive space (again, 200MB is a minimum); and even though it will start functioning again when drive space becomes available, all previous restore points will be gone. With this in mind, always manually create restore points if you're using System Restore as your Registry protection method, and always make sure you have enough drive space for the utility to run properly. Heavy duty. The most thorough tool in WinXP for preserving your Registry is Microsoft's Backup utility. This tool protects your data by saving it to a separate drive or medium (such as a tape) just in case the Registry becomes damaged or your hard drive fails. If such a failure or damage happens, you can restore the data using the utility's Restore Wizard. The Backup utility is included with the WinXP Professional installation, but it isn't included in the default installation of WinXP Home Edition. Even so, the WinXP Home Edition CD-ROM does include the Backup utility, and you can install it as part of your hard drive's WinXP installation. Directions for installing the utility are available online in Microsoft's Knowledge Base. Visit http://support.microsoft.com, type 302894 in the Search The Knowledge Base field, press ENTER, and click the How To Install Backup From The CD-ROM In Windows XP Home Edition link. Please note, however, that even though WinXP Professional includes ASR (Automated System Recovery) as part of its Backup utility, WinXP Home Edition doesn't include ASR or support it. For more information, see the "ASR & Recovery Console" section of this article and/or "Find, Install & Use Backup & Restore" on page 55 in this issue. Although you can back up your entire hard drive, you also can choose to just back up essential system files, including your Registry. To do so, first make sure you have permission as an administrator or backup operator on the computer. Next, click Start, All Programs, Accessories, System Tools, and then Backup to launch the Backup Or Restore Wizard. Click Advanced Mode and then choose the Backup tab. From the Job menu, click New. Here, you'll see a Windows Explorer-like interface that lets you select drives, files, and/or folders to back up. Below the My Computer tree, place a check mark beside System State. Choose the backup destination in the Backup Destination drop-down menu, and if you choose File, you can choose the file name and path in the Backup Media Or File Name field (if you don't have a tape device installed, the backup destination will default to File).
To restore the Registry using the Restore Wizard, again make sure you have permission as an administrator or backup operator on the computer. When you launch the Backup Or Restore Wizard, click Advanced Mode and the Restore And Manage Media tab. If you're restoring from a backup file, expand the file and then expand the backup file itself. If you're restoring from a backup stored on a tape, expand the media name. To restore the Registry (along with other system files), place a check mark in the System State checkbox. In the Restore Files To drop-down menu, choose Original Location. Click Options from the Tools menu and select Always Replace The File On My Computer. Click Start Restore, and then click OK if the following message appears: "Warning: Restoring System State will always overwrite current System State unless restoring to an alternate location." Once you click OK at the Confirm Restore prompt, the process will begin. Click Close when the process finishes. Restart the computer if prompted. Although this method is more thorough than the previous methods, it also can be a hassle on two levels. First, the backup process itself can be too time-consuming if you're only tinkering with one part of the Registry. Second, if you do need to restore your Registry, most of your OS (operating system) settings will return to their default settings, so you'll need to reconfigure your Windows environment according to your preferences. Granted, System Restore also will return your environment to a previous time, but at least some of your settings will remain, depending on the restore date you choose (if the restore works, of course). The WinXP protection methods aren't the only guns in town. There are excellent third-party utilities that can preserve your Registry before you do any editing, and some of these are actually easier to use than Microsoft's utilities.
ERS (Emergency Recovery System) 2K/XP from Backtec Software backs up vital Windows files, including the Registry. This tool implements Windows 98 MS-DOS files to effectively recover from a corrupt environment. ERS only supports FAT32 (file allocation table, 32-bit)-formatted hard drives and doesn't support NTFS (NT file system). This shareware grants you 30 uses, after which you must register for $25 (http://www.backtec.com/ers2000.htm). These are just a few of the many utilities you can use to back up your Registry. In fact, you can use any backup software (and there are dozens of titles) to preserve your system. Whether you want to perform complete backups each time you edit your Registry might be another story, but backing up your system on a regular basis is always a good idea. Although the previous methods are the most common for backing up your Registry (or your system state), Microsoft also has included two advanced tools that can help rescue your system in the event that Windows doesn't start at all. Microsoft also outlines a detailed process for using the Recovery Console to recover from a corrupt Registry. However, this process isn't guaranteed to work, and it's extremely detailed. Nonetheless, if you're stuck with no remaining options, give it a try after checking with a related Microsoft Knowledge Base article. Visit http://support.microsoft.com, type 307545 in the Search The Knowledge Base field, press ENTER, and click the How To Recover From A Corrupted Registry That Prevents Windows XP From Starting link. If you made it this far, consider yourself unique. Many system tweakers, whether casual or connoisseur, neglect to take precautions before editing their Registry. Some of these people will never experience a problem resulting from the changes they've made, but if they do, then what? Without a proper backup, they could be in serious trouble.
|
|
Home Copyright & Legal Information Privacy Policy Site Map Contact Us