Managing Services

An Overview on Services

Windows 2000 and Windows Server 2003 provide features technologies and services that can be added to new and existing networks to meet the organizations business requirements. To use certain services, you have to first implement specific technology or services on which these services depend. For instance, in order to use the Windows 2000 or Windows Server 2003 Active Directory directory service, you first have to install Transmission Control Protocol/Internet Protocol (TCP/IP), and the Domain Name System (DNS) service.

While both Windows 2000 and Windows Server 2003 support numerous network protocols, the Transmission Control Protocol/Internet Protocol (TCP/IP) is the primary protocol used in Windows 2000 and Windows Server 2003 networks, and many network services use the protocol. For this reason, TCP/IP is installed as part of the installation of Windows 2000 and Windows Server 2003. TCP/IP is a routable protocol. It is used by wide area networks (WANs) and the Internet. Another service other than the Active Directory directory service that is dependant on TCP/IP is the Internet Information Server (IIS).

The TCP/IP protocol utilizes Internet Protocol (IP) to find and connect to computers. When IP is used, IP addresses are used to connect to hosts. Computers in this case are also referred to as hosts. Users on the other hand like to use a friendlier name to locate and connect to hosts. This is where the Domain Name System (DNS) Server service comes into play. It is the DNS Server service that makes it possible for friendlier names to be used to locate and connect to hosts, and other network resources. DNS is used for name resolution, to provide a standard naming convention to locate IP hosts on the Internet. DNS organizes groups of computers into domains, which are in turn are organized into a hierarchical structure. The DNS hierarchy is made up of different levels, which identify computers, top level domains, and organizational domains. Domains in Active Directory utilize DNS to implement the Active Directory naming structure and Active Directory hierarchy. DNS must actually be installed before you can install Active Directory because the two are integrated. If you choose to fully integrate Active Directory and DNS, DNS information is stored directly in Active Directory. This means that a domain controller running the DNS Server service can be configured to deal with dynamic updates through Dynamic Host Configuration Protocol (DHCP), with Active Directory controlling access to DNS information.

Dynamic Host Configuration Protocol (DHCP) is used to manage IP addresses on a network using TCP/IP. To use DHCP, you first have to install the DHCP service on a computer, making it a DHCP server. The DHCP Server service provides certain benefits, of which a few are listed below:

The Windows Internet Name Service (WINS) is used in Windows NT Server 4.0 and prior operating systems (OSs) for name resolution. WINS is typically used in routed networks for NetBIOS name resolution.

The Internet Information Services (IIS) version included in Windows Server 2003 is IIS 6.0. IIS is the most frequently used Web servers on the Internet and in intranets. If you are running a Windows Server 2003 Edition other than the Windows 2003 Server Web Edition, IIS has to be installed first in order to use its features and capabilities.

Both Windows 2000 and Windows Server 2003 include the Terminal Services feature. When Terminal Services is configured in Remote Desktop For Administration mode (default), it can be used as a remote server management tool. The feature allows administrators to log on to a computer from a desktop and not the server console to perform administrative tasks. The components supported by the Windows Server 2003 Terminal Services service are Remote Desktop For Administration and Remote Assistance (RA).

Another service, the Microsoft Certificate Services can be installed to create and manage Certificate Authorities (CAs). CAs issues the digital certificates which are used in a PKI implementation to provide the following features:

Windows Server 2003 also includes integrated support services that support the system at different levels. These services can be viewed in the Services node in the Computer Management console:

Services can be defined as system programs, processes or routines running in the background that performs a specific operation within the operating system. Administrators need to monitor services and also change the configuration of services when necessary. The configuration of a service is stored in the following location in the Registry

Each service has a name and a display name.

A service can be in one of the following states:

A service can also be configured with one of the startup types listed below. The startup type controls when and how the service starts.

A service logs on, and runs though a logon account. A system can use one of the types of accounts listed below:

The System Services area of the Security Configuration and Analysis management console is used to manage startup and permissions for system services. The permissions which you configure for users and groups for a particular service determine what actions a user can perform on the service. Permissions either allow or prevent users from performing the following actions:

You can configure the action that should occur when a service fails. The actions which you can specify are listed next:

Certain services depend on other services to be running for them to start. This concept is called service dependency. The operating system utilizes service dependencies to determine the order in which services should be started. When a service fails, service dependencies result in other services also failing within your environment.

Managing and Configuring Services

You can use the Services node located under the Services And Applications node in the Computer Management console to manage and configure the properties of services.

How to view and access system services in the Computer Management console

  1. Click Start, Programs, Administrative Tools, and then click Computer Management.
  2. Right-click Computer Management in the left console pane, and click Connect To Another Computer on the shortcut menu.
  3. Specify whether you want to manage services on the local computer, or on a remote computer.
  4. Proceed to expand the Services And Applications node.
  5. Select Services

The Services window or view lists the services, as well as the information listed below on each service:

If you want to configure the properties of a service, simply double-click the service. The Properties dialog box of the service opens, displaying the following tabs:

How to start, stop, pause, or restart services

  1. Open the Computer Management console.
  2. Right-click Computer Management in the left console pane, and click Connect To Another Computer on the shortcut menu. Specify whether you want to manage services on the local computer, or on a remote computer.
  3. Expand the Services And Applications node, and select Services
  4. Right-click the service which you want to work with in the Services window and select Start, Stop, or Pause on the shortcut menu.
  5. If you want Windows to stop and then restart the service, right-click the service and select Restart on the shortcut menu.

How to configure the service startup type

  1. Open the Computer Management console.
  2. Right-click Computer Management in the console pane, and click Connect To Another Computer on the shortcut menu. Specify whether you want to manage services on the local computer, or on a remote computer.
  3. Expand the Services And Applications node, and select Services
  4. Right-click the service which you want to configure the startup type for, and select Properties on the shortcut menu.
  5. On the General tab of the Properties dialog box, select the startup type (Automatic, Manual, Disabled) in the Startup Type drop-down list box.
  6. Click OK.

How to configure recovery options for a service

  1. Open the Computer Management console.
  2. Right-click Computer Management in the left console pane, and click Connect To Another Computer on the shortcut menu. Specify whether you want to manage services on the local computer, or on a remote computer.
  3. Expand the Services And Applications node, and select Services.
  4. Right-click the service which you want to configure recovery options for, and then select Properties on the shortcut menu.
  5. Click the Recovery tab.
  6. Choose between the following actions in the First Failure, Second Failure and Subsequent Failure boxes:
    • If you do not want the OS to initiate a recovery from the service failure, select Take No Action.
    • If you want the service stopped, and then restarted, select Restart The Service.
    • If you want to run a program when the service fails, select Run A Program. Specify the program and any necessary command line parameters.
    • If you want the computer to shut down and restart, select Restart The Computer.
  7. Click OK

How to configure the logon account for a service

  1. Open the Computer Management console.
  2. Right-click Computer Management in the left console pane, and click Connect To Another Computer on the shortcut menu. Specify whether you want to manage services on the local computer, or on a remote computer.
  3. Expand the Services And Applications node, and select Services.
  4. Right-click the service which you want to configure the logon account credentials for, and then select Properties on the shortcut menu.
  5. Click the Log On tab.
  6. If you want the service to log on via the system account, click the Local System Account option.
  7. If you want the service to log on through a user account that you specify, click the This Account option. Enter the account name, and the account password. You can click Browse to locate a user account.
  8. Click OK.

How to disable services that are not needed

If you have unnecessary services running within your environment, you can disable the services. When services are disabled, they are stopped from starting when the computer starts. The components of the service which you disable are not uninstalled.

Use the steps below to disable a service,

  1. Open the Computer Management console.
  2. Right-click Computer Management in the left console pane, and click Connect To Another Computer on the shortcut menu. Specify whether you want to manage services on the local computer, or on a remote computer.
  3. Expand the Services And Applications node, and select Services
  4. Right-click the service which you want to disable, and select Properties on the shortcut menu.
  5. On the General tab of the Properties dialog box, select Disabled in the Startup Type drop-down list box.
  6. Click OK.

How to manage services and processes from the command-line

A few command-line utilities are available in Windows Server 2003 which you can use to manage services.

How to monitor and troubleshoot services

When it comes to services, especially services such as DHCP and DNS, it is important that these services are running when clients need the functionality or features provided by the services. Services cannot be running for a number of reasons, including:

To check the status of a service,

  1. Open the Computer Management console
  2. Right-click Computer Management in the left console pane, and click Connect To Another Computer on the shortcut menu.
  3. Specify whether you want to check the status of a service on the local computer, or on a remote computer.
  4. Proceed to expand the Services And Applications node.
  5. Select Services.
  6. The Services window displays the service name, startup type and status of the service, as well as other information.

How to monitor the DHCP service

While the DHCP service is an important service, a DHCP service failure could possibly only become evident when a new client attempts to obtain an IP address. You can however view statistics on the server running the DHCP service in the DHCP console.

To view DHCP service statistics,

  1. Open the DHCP console.
  2. Click the Server icon.
  3. Select Display Statistics from the Action menu. The information displayed in the Statistics dialog box of the DHCP server is listed below:
    • Start Time, indicates the date and time when the DHCP service last started.
    • Up Time, indicates the quantity of time which the DHCP service is running from the time when it last started.
    • Discovers, indicates how many DHCPDISCOVER messages the DHCP server received from clients who requested IP addresses.
    • Offers, indicates how many DHCPOFFER messages the DHCP server sent to clients who requested IP addresses.
    • Requests, indicates how many DHCPREQUEST messages the server received from clients for renewing IP address leases, and for accepting IP addresses offered by the DHCP server.
    • Acks, indicates how many DHCPACK messages the server sent to clients.
    • Nacks, indicates how many DHCPNACK messages the DHCP server sent to clients who were denied IP addresses.
    • Declines, indicates how many DHCPDECLINE messages the server received from clients who declined the IP addresses which the server offered to them.
    • Releases, indicates how many DHCPRELEASE messages the server received from clients who released IP addresses.
    • Total Scopes, indicates how many IP address pools exist on the DHCP server.
    • Total Addresses, indicates the number of IP addresses available in scopes on the DHCP server.
    • In Use, shows how many IP addresses are currently assigned by the server.
    • Available, shows how many available IP addresses the DHCP server can assign.

How to view the DHCP log maintained by the DHCP service

The DHCP service manages it own log file on the system drive, in the %Systemroot%\System32\Dhcp folder. An entry in the DHCP log file contains the information listed below:

Another service which should be monitored regularly is the DNS service. You can monitor the DNS servers by using Event Viewer. The DNS server has its own DNS log in Event Viewer that records DNS queries, responses, and other DNS specific activities.

A failure of a server running the DNS service can result in:

The Active Directory directory service also has its own Directory Service log in Event Viewer that contains events recorded and logged by the Active Directory directory service, and its associated services.

How to access and view event logs in Event Viewer

  1. Open the Computer Management console.
  2. Right-click Computer Management in the left console pane, and click Connect To Another Computer on the shortcut menu. Specify whether you want view event logs on the local computer, or on a remote computer.
  3. Expand the System Tools node
  4. Double-click Event Viewer
  5. Select the log which you want to view information on.

To view detailed information on an event entry, double-click the event. The information displayed, include:



Top 5 Free Networking Tools

Bookmark Managing Services

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.