Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
programming4us
Windows 7

Configuring Backups and Recovery : Safeguarding Your Computer and Recovering from Disaster & Using Advanced Boot Options

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
9/17/2011 6:08:28 PM

1. Safeguarding Your Computer and Recovering from Disaster

One of the worst events you will experience is a computer that won't boot. An even worse experience is discovering that there is no recent backup for that computer.

The first step in preparing for disaster recovery is to expect that a disaster will happen at some point and take proactive measures to plan your recovery before the failure occurs. Here are some of the preparations you can make:

  • Keep your computer up-to-date with Windows Update.

  • Perform regular system backups.

  • Use current software to scan for malware (such as viruses, spyware, and adware) and make sure you have the most recent updates.

  • Perform regular administrative functions, such as monitoring the logs in the Event Viewer utility.

If you can't start Windows 7, there are several options and utilities that can be used to identify and resolve Windows errors. The following is a broad list of troubleshooting options:

  • If you have recently made a change to your computer's configuration by installing a new device driver or application and Windows 7 will not load properly, you can use the Last Known Good Configuration, roll back the driver, or use System Restore to restore a previous system configuration.

  • If you can boot your computer to Safe mode, and you suspect that you have a system conflict, you can temporarily disable an application or processes, troubleshoot services, or uninstall software.

  • If your computer will not boot to Safe mode, you can use the Startup Repair tool to replace corrupted system files.

  • If necessary, you can use the Backup and Restore Center utility to restore personal files from backup media and to restore a complete image of your computer.

  • You can also use Driver Rollback. If you install a driver that causes issues on your system, you can use the Driver Rollback utility to return the driver to its previous version.

Table 1 summarizes all of the Windows 7 utilities and options that can be used to assist in performing system recovery.

Table 1. Windows 7 Recovery Techniques
Recovery TechniqueWhen to Use
Event ViewerIf the Windows 7 operating system can be loaded through Normal or Safe mode, one of the first places to look for hints about the problem is Event Viewer. Event Viewer displays System, Security, and Application logs.
Safe modeThis is generally your starting point for system recovery. Safe mode loads the absolute minimum of services and drivers that are needed to boot Windows 7. If you can load Safe mode, you may be able to troubleshoot devices or services that keep Windows 7 from loading normally.
Last Known Good Configu rationThis option can help if you made changes to your computer and are now having problems. Last Known Good Configuration is an Advanced Boot Options menu item that you can select during startup. It loads the configuration that was used the last time the computer booted successfully. This option will not help if you have hardware errors.
Startup Repair toolThis tool can restore system files from the Windows 7 media. This option will not help if you have hardware errors.
Backup and Restore CenterYou should use this utility to safeguard your computer. Through the Backup utility, you can back up and restore personal files on your computer. You can also create and restore images of your entire computer.
System RestoreSystem Restore is used to create known checkpoints of your system's configuration. In the event that your system becomes misconfigured, you can restore the system configuration to an earlier checkpoint.

2. Using Advanced Boot Options

The Windows 7 advanced startup options can be used to troubleshoot errors that keep Windows 7 from successfully booting. Figure 1 shows the Advanced Boot Options screen.

Figure 1. Advanced Boot Options screen

NOTE

To access the Windows 7 advanced startup options, start or reboot the computer and press the F8 key after the firmware POST process, but before Windows 7 is loaded. This will bring up the Advanced Boot Options menu, which offers numerous options for booting Windows 7.

These advanced sta rt up options ar e covered in th e follow ing three sections.

2.1. Starting in Safe Mode

When your computer will not start, one of the fundamental troubleshooting techniques is to simplify the configuration as much as possible. This is especially important when you do not know the cause of your problem and you have a complex configuration. After you have simplified the configuration, you can determine whether the problem is in the basic configuration or is a result of your complex configuration.

If the problem is in the basic configuration, you have a starting point for troubleshooting. If the problem is not in the basic configuration, you should proceed to restore each configuration option you removed, one at a time. This helps you to identify what is causing the error.

If Windows 7 will not load, you can attempt to load the operating system through Safe mode. When you run Windows 7 in Safe mode, you are simplifying your Windows configuration as much as possible. Safe mode loads only the drivers needed to get the computer up and running.

The drivers that are loaded with Safe mode include basic files and drivers for the mouse, monitor, keyboard, hard drive, standard video driver, and default system services. Safe mode is considered a diagnostic mode, so you do not have access to all of the features and devices in Windows 7 that you have access to when you boot normally, including networking capabilities.

A computer booted to Safe mode will show Safe Mode in the four corners of your desktop, as shown in Figure 2.

Figure 2. A computer running in Safe mode

If you boot to Safe mode, check all of your computer's hardware and software settings in Device Manager and try to determine why Windows 7 will not boot properly. After you take steps to fix the problem, try to boot to Windows 7 as you normally would.

In Exercise 1, you will boot your computer to Safe mode.

Exercise 1: Booting Your Computer to Safe Mode

  1. If your computer is currently running, choose Start => Shutdown => Restart.

  2. During the boot process, press the F8 key to access the Advanced Boot Options menu.

  3. Highlight Safe Mode and press Enter.

  4. When Windows 7 starts, log in.

  5. You will see a Help And Support dialog box letting you know what Safe mode is. Exit Help And Support.

  6. You should see in the lower-right corner that a network connection is not available.

  7. Choose Start => Control Panel. Notice that most of the Control Panel icons are not available. If you are having a problem with a driver, you can open Device Manager and uninstall or roll back the driver.

  8. Don't restart your computer yet; you will do this as a part of the next exercise.


2.2. Enabling Boot Logging

Boot logging creates a log file that tracks the loading of drivers and services. When you choose the Enable Boot Logging option from the Advanced Boot Options menu, Windows 7 loads normally, not in Safe mode. This allows you to log all of the processes that take place during a normal boot sequence.

This log file can be used to troubleshoot the boot process. When logging is enabled, the log file is written to \WINDOWS\Ntbtlog.txt. A sample of the Ntbtlog.txt file is shown in Figure 3.

Figure 3. The Windows 7 boot log file

In Exercise 2, you will create and access a boot log file.

Exercise 2: Using Boot Logging

  1. Start your computer. If it is already running, choose Start => Restart.

  2. During the boot process, press the F8 key to access the Advanced Boot Options menu.

  3. Highlight Enable Boot Logging and press Enter.

  4. When Windows 7 starts, log in.

  5. Choose Start => Computer and browse to C:\WIND0WS\Ntbt1og.txt. Double-click this file.

  6. Examine the contents of your boot log file.

  7. Shut down your computer and restart it without using Advanced Boot Options.


The boot log file is cumulative. Each time you boot to Safe mode, you are writing to this file. This enables you to make changes, reboot, and see whether you have fixed any problems. If you want to start from scratch, you should manually delete this file and reboot to an Advanced Boot Options menu selection that supports logging.

2.3. Using Other Advanced Boot Options Menu Modes

In this section, you will learn about additional Advanced Boot Options menu modes. These include the following:

Safe Mode With Networking This is the same as the Safe mode option but adds networking features. You might use this mode if you need networking capabilities to download drivers or service packs from a network location.

Safe Mode With Command Prompt This starts the computer in Safe mode, but after you log in to Windows 7, only a command prompt is displayed. This mode does not provide access to the desktop. Experienced troubleshooters use this mode.

Enable Low-Resolution Video (640x480) This loads a standard VGA driver without starting the computer in Safe mode. You might use this mode if you changed your video driver, did not test it, and tried to boot to Windows 7 with a bad driver that would not allow you to access video. The Enable VGA mode bails you out by loading a default driver, providing access to video so that you can properly install (and test!) the correct driver for your computer.

NOTE

Safe mode starts Windows 7 at a resolution of 800×600.

Last Known Good Configuration (Advanced) This boots Windows 7 by using the Registry information that was saved the last time the computer was successfully booted. You would use this option to restore configuration information if you improperly configured the computer and did not successfully reboot it. When you use the Last Known Good Configuration option, you lose any system configuration changes that were made since the computer last successfully booted.

Directory Services Restore Mode This option is used for domain controllers only and is not relevant to Windows 7.

Debugging Mode This runs the Kernel Debugger, if it is installed. The Kernel! Debugger is an advanced troubleshooting utility.

Disable Automatic Restart On System Failure This prevents Windows from restarting when a critical error causes Windows to fail. This option should be used only when Windows fails every time you restart so that you are not able to access the desktop or any configuration options.

Disable Driver Signature Enforcement This allows drivers to be installed even if they do not contain valid signatures.

Start Windows Normally This boots to Windows 7 in the default manner. This option is on the Advanced Boot Options menu in case you accidentally hit F8 during the boot process but really warned to boot Windows 7 normally.

In the next section, you will look at using the Startup Repair tool.

Other -----------------
- Microsoft Word 2010 : Sharing Information Between Programs - Exporting and Importing Data
- Microsoft Word 2010 : Playing a Movie Using an ActiveX Control & Changing the Document Information Panel
- Microsoft Visio 2010 : Understanding Relative and Absolute Hyperlinks
- Microsoft Visio 2010 : Linking to Another Visio Page
- Microsoft PowerPoint 2010 : Setting Privacy Options
- Microsoft PowerPoint 2010 : Setting Macro Security Options & Changing Message Bar Security Options
- Microsoft Excel 2010 : Displaying Parts of a Table with AutoFilter & Creating Custom Searches
- Microsoft Excel 2010 : Analyzing Worksheet Data - Sorting Data in a Table
- Windows 7 : Resolving Malware Issues (part 3) - Determining When Your System Is Infected with Malware
- Windows 7 : Resolving Malware Issues (part 2) - Protecting Clients from Spyware with Windows Defender
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server