Previous | Table of Contents | Next |
Windows NT, like previous versions of Windows, is an infinitely expandable operating system. The operating system consists of a core set of components and add-on services. Many third-party products enhance Windows NT Servers capabilities by adding additional services. Without the services included in the base product and the additional third-party services, Windows NT would be much less useful to all of us. So, our first stop in this chapter will be a discussion on how to maintain NTs added services. You will learn what services Windows NT Server provides, and how to control and configure these services using the Control Panel Services applet. In addition, you will learn how to use the command line to control and manage your services.
The next part of this chapter focuses on device drivers. A device driver expands the operating systems capabilities (similar to a service in some aspects), but functions at a lower level. Device drivers include support for specific hardware components (network cards, video adapters, tape drives, and so forth) and low-level operating system objects (file system drivers, network protocols, and so on) used by higher-level services. Just like services, you need to maintain these device drivers to keep Windows NT up and running as expected. Troubleshooting device drivers and service-related problems are a couple of the more critical tasks of a system administrator, and most troubleshooting starts with the Control Panel Devices applet, which is where well begin our exploration of device driver maintenance.
Unfortunately, device drivers cannot be configured from the Devices applet, nor do they have a command-line interface. You can, however, use the Registry Editor to learn more about a device drivers dependencies and often configure device driver operations as well. This also applies to services. So, your last stop in this chapter will be to learn how to use the Registry Editor to accomplish these tasks.
Now that you know where were headed in this chapter, lets get to work and learn how to maintain Windows NT services.
Services are the heart and soul of Windows NT and maintaining them in operating order is one of the most critical aspects of your administrative duties. In order to fully understand how to maintain Windows NT services, you need to know how a service is controlled. So, lets begin our discussion with a look at the most important servicea service that not only controls other services, but is used to configure them as well. This service is called the Service Control Manager, and you will not find it in any of the regular administrative tools, nor will you find is listed as a controllable service. Yet, it does exist.
The purpose of the Service Control Manager is to control a services operating state. A services operating state is a report of its basic condition (whether it is running or not), as well as a control mechanism. Whenever a service is installed under Windows NT, the service must register itself with the Service Control Manager. This registration process exposes an interface to the Service Control Manager. The interface is used to send and receive messages between a service and the Service Control Manager. These messages are used to control the state of a service. There are basically six different service states, as follows:
TIP: While a service is initializing, it is not providing the function it was written to perform. It can only do this after it has completed its initialization. That is why it takes so long to log on to a system when you log on at the first opportunity. Even though you see the Ctrl+Alt+Del logon dialog box at system startup, the system really has not fully initialized the various services and is not ready to log you on. It takes about 5 minutes after the logon dialog is visible before all the services have reached a running state and are ready to go to work. If you have additional services, like Exchange Server or System Management Server, it might take even longer. It is a good idea to wait until the services have accomplished their initialization completely before you attempt to log on. Otherwise, you might cause a service to hang at startup. This is a rare occurrence, but it does happen from time to time.
While you cannot control the operating state of the Service Control Manager, Windows NT includes an application to expose some of the Service Control Managers functionality. This application is the Control Panel Services applet, and it is our next topic of discussion.
Previous | Table of Contents | Next |