05.03.2013 Views

MCSA/MCSE Self-Paced Training Kit (Exam 70-270): Installing ...

MCSA/MCSE Self-Paced Training Kit (Exam 70-270): Installing ...

MCSA/MCSE Self-Paced Training Kit (Exam 70-270): Installing ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

18-6 Chapter 18 Using Windows XP Tools<br />

!<br />

If you have more than one hardware profile configured on a computer (see Chapter 6,<br />

“<strong>Installing</strong>, Managing, and Troubleshooting Hardware Devices and Drivers,” for more<br />

on hardware profiles), you can also use the Log On tab to control whether a service is<br />

enabled or disabled for a particular profile. Click a profile, and then click Enable or<br />

Disable.<br />

How to Change the Recovery Options for a Service<br />

By default, when a service fails to start, Windows XP Professional records an error in<br />

the System log file (see Lesson 2, “Using Event Viewer,” for more about this), but takes<br />

no further action. Services that are dependent on the failed service also fail to start. You<br />

can configure certain recovery actions to occur when a service fails to start, though.<br />

To set up recovery actions to take place when a service fails, use these steps:<br />

1. In the Services console, right-click the service, and then click Properties.<br />

2. In the Properties dialog box for the service, click the Recovery tab.<br />

The Recovery tab (see Figure 18-4) lets you configure an action to take on the first<br />

failure, the second failure, and on all subsequent failures. The actions you can<br />

configure include the following:<br />

❑ Take No Action. This is the default choice.<br />

❑ Restart The Service. Windows attempts to restart the service if the service<br />

does not start.<br />

❑ Run A Program. Windows runs a custom program, which you can use to log<br />

error details or even send a notification of the failure. When you select this<br />

action, the options in the Run Program section of the Recovery tab become<br />

available. Type the path for the program and any command-line parameters<br />

you want to use, and indicate whether you want Windows to add the fail<br />

count (the number of times the service has failed) to the end of the command.<br />

❑ Restart The Computer. Windows restarts the computer. This option provides<br />

a good last resort for recovery on important services. Often, a service<br />

does not start because services on which it is dependent failed. You should<br />

use this setting only on server computers. If a client computer automatically<br />

restarted, it could disturb the user’s work.<br />

3. Click OK.<br />

<strong>Exam</strong> Tip For the exam, remember the actions you can have Windows take should a service<br />

fail: Take No Action, Restart The Service, Run A Program, and Restart The Computer. Typically,<br />

you should have Windows attempt to restart the service on the first or second failure. You<br />

should have Windows attempt to restart the computer only when a service fails that is vital to<br />

the computer’s role and when restarting will not interfere with the desktop environment.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!