Saturday, December 22, 2007

Operating Systems: Services

You install an application that includes a Windows service. When you restart the computer, you receive the message that the application cannot load because a service it depends on is not running.
Which utility should you use to correct the problem?
1. Program Compatibility Wizard
2. MSConfig
3. Add or Remove Programs
4. >>Services

Explanation : You should use the Services utility. The Services utility allows you to manage Windows services, including starting, stopping, pausing, disabling, and configuring their log properties. In this case, you need to locate the service on which the application depends and configure it to start automatically when the computer restarts. To prevent a restart now, you can start the service manually. If the error message does not provide enough information for you to know which service is not running, you can use Event Viewer to look for an error or warning. Operating system errors are logged to the System log. Application errors are logged to the event log.
The MSConfig utility (also called the System Configuration Utility) allows you to view which services are running and which are stopped. However, it does not allow you to modify their configuration or start or stop them. One useful feature is that MSConfig allows you to filter the services displayed to only non-Microsoft services, which can help you identify malicious programs that are loaded as Windows services.

You cannot resolve the problem using Add or Remove Programs. Add or Remove Programs allows you to install programs, but it does not allow you to configure services.

You cannot resolve the problem by using the Program Compatibility Wizard. The Program Compatibility Wizard allows you to specify backwards compatibility settings for legacy applications. It does not allow you to manage Window services.
Objective: Operating Systems