l xmlns="http://www.w3.org/1999/l">
Restoring and Backing Up the Operating System, System State Data, and User DataWindows XP provides enhanced backup tools that are designed to help protect data from accidental loss due to hardware failure or other disaster. In addition, Windows XP provides several tools that help you recover from computer failures that prevent you from starting Windows normally. This section looks at several of these tools, including the Last Known Good Configuration, Safe Mode, Recovery Console, and Automated System Recovery (ASR). Recovering System State Data and User Data by Using Windows BackupObjective: Restore and back up the operating system, System State data, and user data.
The Windows XP Professional Backup utility functions in a similar manner to the corresponding utility found in Windows 2000 Professional, enabling you to back up all data on a disk or a portion thereof to a variety of media, including tapes, shared network drives, CD-ROM drives, and so on. New to Windows XP Professional is the concept of volume shadow copies, which create a shadow copy of the original volume at the instant the backup starts. This enables all files, including those an application might have open currently, to be backed up. Previous versions of Windows skipped any open files, thereby risking incomplete backups. Backup TypesWindows XP Professional supports the same five standard backup types that have been supported by all versions of Windows NT/2000. These backup types are distinguished by how they handle the archive bit associated with each file. Table 9.8 describes these backup types. Exam Alert Understand the differences between the backup types In particular, understand the difference between incremental and differential backups. You should realize that incremental backups back up only files that have changed since the last normal or incremental backup; consequently, you must restore the normal backup and then each incremental backup in turn. On the other hand, differential backups back up all files that have changed since the last normal backup (including any files that have changed prior to a more recent differential backup). Consequently, you need to restore only the last normal backup and the last differential backup to provide a complete restore. Backup PermissionsJust as for other administrative tasks, you need the appropriate permissions to perform backups and restores. Windows XP provides the Backup files and directories and Restore files and directories user rights to govern the ability to back up and restore files and folders. The following summarizes the default permissions:
Performing Backups and RestoresWindows XP Professional provides the Back Up or Restore Wizard to facilitate the process of backing up files and folders. This wizard enables you to select which files and folders to back up. You can also select a group of files known as the System State, which you can use to restore the system files of a dead computer to its previous condition. On a Windows XP Professional computer, the System State includes the following:
Additional components are included in server system state backups, including Active Directory folders for domain controllers and the Certificate Services database on certificate servers. Follow Step by Step 9.9 to perform a backup.
Using Windows Backup to Recover DataAfter you have performed a backup, the Backup or Restore Wizard makes it simple to restore data in the event of a hardware or software failure of some kind. When you back up data, the Backup utility organizes its backups into backup sets, which are files that provide information that facilitates selecting information for later restore. The backup set is a collection of files and folders that were backed up by an individual backup job. The restore process uses these backup sets to oversee its actions. Follow Step by Step 9.10 to restore data.
Note You cannot back up data directly to a CD-R, CD-RW, or DVD-R device Windows XP Backup does not directly support the use of these media. If you want to use these media, you should back up your data to a hard disk and then burn the backup file to the CD or DVD. However, you can use these media directly when restoring data. Exam Alert Make a habit of testing your backups and restores You should ensure that you are creating valid backups by performing test restores on a regular basis. Use the Alternate Location option referred to in Step by Step 9.10 to restore data to a different folder and verify that the restored data is present. Otherwise you may not realize something is wrong with your backups until it is too late. Exam Alert Windows XP restores data backed up from Windows 2000/XP/Server 2003 computers only If you have backed up data in compressed mode from an older machine such as a Windows 9x/Me computer, you cannot restore this data to a Windows XP computer. You need to ensure that the data has been backed up in non-compressed mode, and then you can restore the data to Windows XP Professional. Returning to the Last Known Good ConfigurationEvery time a user logs on successfully, Windows XP makes a recording of the current Registry settings known as a control set. These settings are stored under HKEY_LOCAL_MACHINE\SYSTEM\ CurrentControlSet, and are made available so that they can be used if the computer is unable to boot because of configuration changes such as installation of new device drivers or inappropriate modification of settings. For example, if configuration changes result in a computer displaying the Blue Screen of Death (BSOD) or modified display settings render the screen unreadable, you can revert to the previous settings by using the Last Known Good Configuration. Follow Step by Step 9.11 to use this configuration.
Exam Alert Know when you can and cannot use the Last Known Good Configuration Using the Last Known Good Configuration is the easiest way to correct changes when you are unable to log on as a result of various problems. If you have logged on successfully and then encounter a problem caused by a previous configuration change, you are unable to use the Last Known Good Configuration because this configuration is overwritten at the successful logon. Under these circumstances you must select a different startup option. Troubleshooting System Restoration by Starting in Safe ModeObjective: Restore and back up the operating system, System State data, and user data.
Safe Mode starts System Restore to roll back the computer to an earlier point in time. |
The computer display is blank or distorted After starting in Safe Mode, you can use the Control Panel Display applet to select appropriate display settings.
The computer fails to respond after new hardware or software is installed Use Safe Mode to uninstall software, disable hardware devices in Device Manager, roll back drivers, or restore the computer using System Restore.
To enter Safe Mode, follow the procedure outlined in Step by Step 9.11 and select Safe Mode from the options displayed previously in Figure 9.19. You can also select either of the following options:
Safe Mode with Command Prompt Starts the computer to a command prompt. This can be useful if you cannot obtain a normal GUI.
Safe Mode with Networking Starts network drivers as well as the other basic drivers. This is useful if you need to copy files from a network location.
Caution
Safe mode has its limitations Safe Mode does not repair problems caused by lost or corrupted system files or problems with basic drivers. In these cases, you may be able to use the Recovery Console.
Objective:
Restore and back up the operating system, System State data, and user data.
Recover System State data and user data by using the Recovery Console.
First introduced with Windows 2000, Recovery Console is an additional option for recovering a computer that is unable to boot normally. This option boots the computer to a command prompt, from which you can issue commands to perform tasks such as starting and stopping services, copying data to NTFS partitions, repairing the master boot record (MBR), and so on.
You can install the Recovery Console to make it available at startup time, or you can use the Windows XP Professional CD-ROM to start the Recovery Console if you have not installed it previously. Follow Step by Step 9.12 to install the Recovery Console.
Step by Step: 9.12 Installing the Recovery Console
|
After you have installed the Recovery Console, Windows makes it available from the boot loader menu. Follow Step by Step 9.13 to access the Recovery Console.
Step by Step: 9.13 Running the Recovery Console
|
If you have not installed the Recovery Console, you can still access it from the Windows XP Professional CD-ROM. Follow Step by Step 9.14 to access the Recovery Console from the CD-ROM.
Step by Step: 9.14 Running the Recovery Console from the Windows XP Professional CD-ROM
|
ASR is a new Windows XP feature that replaces the Emergency Repair Disk found in Windows NT 4.0/2000. You can use ASR to repair problems related to a system disaster such as a hardware malfunction or the loss of a storage device. You should use ASR only when you have exhausted other recovery methods, including the Last Known Good Configuration, Safe Mode, or the Recovery Console.
ASR is an advanced component of the Windows Backup utility and creates a backup of the system root files, as well as a floppy disk that contains data vital for booting the computer and beginning the restore process. Follow Step by Step 9.15 to create an ASR backup.
Step by Step: 9.15 Creating an ASR Backup
|
When performing an ASR backup, you should keep several things in mind. Most importantly, ASR is not a substitute for regular backups. This process backs up only the files required to restore the computer to operational condition. You should ensure that you have exhausted the other recovery options discussed in this section before using ASR. You should also take the following items into consideration:
The ASR restore process formats the system drive partition. Consequently, applications or data files on this partition will be lost. ASR may also initialize operating system volumes containing user data. This may also cause data loss.
You cannot use ASR to restore from a network share. You should use removable media such as tapes or DVD-R discs, or a second local hard drive to store the backup file created by ASR.
ASR is not a substitute for System Restore. Whereas ASR backs up all files on the system partition, System Restore saves only incremental changes. You should always try System Restore firstbefore you attempt to use ASRif you can start your computer in normal mode or Safe Mode.
You should create an ASR backup when the computer is running properly, so that it is available should a disaster occur. You should create a new ASR backup after installing new drivers or service packs.
The ASR restore process checks the hard disk for errors and verifies the system files. You need to use the Windows XP Professional CD-ROM, the most recent ASR backup media, and the ASR floppy disk. Follow Step by Step 9.16 to perform an ASR restore.
Step by Step: 9.16 Using ASR to Restore Your Computer
|
System Restore enables you to recover from system problems such as those caused by improper system settings, faulty drivers, and incompatible applications. It restores your computer to a previous condition without damaging any data files such as documents and email. It is useful in situations such as problems that persist after you have uninstalled incompatible software or device drivers, or after having downloaded problematic content from a Web site, or when you are having problems that you cannot diagnose, but that have started recently.
During normal operation, System Restore creates snapshots of the system at each startup and before major configuration changes are started. It stores these snapshots and manages them in a special location on your hard drive. It also copies monitored files to this location before any installation program or Windows itself overwrites these files during application or device installation.
You can run System Restore from the Performance and Maintenance category of Control Panel, or from the Help and Support Center. Step by Step 9.17 shows you how.
Step by Step: 9.17 Using System Restore to Restore Your Computer
|
Note
System Restore also enables you to create restore points If you are planning to install or download applications or other material that could be problematic, you can manually create a restore point first. Simply select the Create a Restore Point option shown in Figure 9.22 and follow the instructions provided.
Note
You can use Safe Mode and System Restore together to correct problems If you are unable to start your computer properly but able to start in Safe Mode, you can perform a System Restore from Safe Mode to restore your computer to a functional state.