PRB: Not All Service Configuration Parameters Can Be Set Through the MMC Services Snap-in (290752)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows 2000 Professional MultiLanguage Version
  • Microsoft Windows 2000 Advanced Server MultiLanguage Version

This article was previously published under Q290752

SYMPTOMS

The ChangeServiceConfig2() API provides a programmatic method to set some optional configuration parameters for a service. The Microsoft Management Console (MMC) Services snap-in provides a user interface (UI) through which some, but not all, of these same parameters can be set.

CAUSE

This limitation reduces the complexity of the UI for the Services snap-in.

RESOLUTION

If the additional functionality available through ChangeServiceConfig2() is needed, it must be set programmatically. The service may provide its own method for setting these parameters.

MORE INFORMATION

The current UI for the Services snap-in shows up to three failure actions, while the ChangeServiceConfig2() API allows an unlimited number of failure actions to be set. If more than three are specified through the API, the control panel will only show the first three.

The Services UI also only allows the user to specify how often to reset the fail count in days, whereas the API allows this to be specified in seconds.

Only a system administrator can set configuration parameters for a service.

Modification Type:MajorLast Reviewed:12/18/2003
Keywords:kbprb KB290752