Showing posts with label Windows Services. Show all posts
Showing posts with label Windows Services. Show all posts

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

Sunday, November 25, 2007

Operating Systems: Windows Services

You are configuring a computer for an application developer. When the user is developing Web applications, he needs Internet Information Services (IIS). Otherwise, you want to ensure that IIS does not run. The user's computer is running Windows XP Professional and has a single hard disk, formatted as a single volume.
What should you do?

1. Create two user accounts. Log on as one of the users and install IIS.
2. >>Install Windows XP Professional in two different directories. Boot to one installation and install IIS.
3. Create two user accounts. Log on as one of the users and add a shortcut to IIS in Startup folder of the user's profile.
4. Create two hardware profiles. Enable the World Wide Web Publishing service in only one hardware profile.

Explanation : You should create two hardware profiles and enable the World Wide Web Publishing service in only one hardware profile. IIS installs the World Wide Web Publishing service, which is a Windows service. You can enable and disable a Windows service for specific hardware profiles through the service's Properties page in the Services utility. The user will need to restart the computer and select the hardware profile that has the World Wide Web Publishing service enabled when necessary.

You should not install Windows XP Professional in two different directories and boot to one installation to install IIS. You should only install one instance of Windows XP on a specific volume. Even if you had two volumes, creating two different installations is unnecessary and would result in having to install redundant copies of all applications.

You should not create two user accounts, log on as one, and install IIS. The World Wide Web Publishing service is a Windows service, so its status is not affected by the user who is logged on. If it is configured to start automatically, it will start when the operating system boots.

You should not create two user accounts and add a shortcut to IIS in the Startup folder in one of the user profiles. IIS is a Windows Service, not an application.
Objective: Operating Systems