As each service entry is read from the database of installed services, the SCM creates a service record for the service. A service record includes:
The user name and password of an account are specified at the time the service is installed. The SCM stores the user name in the registry and the password in a secure portion of the Local Security Authority (LSA). The system administrator can create accounts with passwords that never expire. Alternatively, the system administrator can create accounts with passwords that expire and manage the accounts by changing the passwords periodically.
The SCM updates the service status when a service sends it status notifications using the SetServiceStatus function. The SCM maintains the status of a driver service by querying the I/O system, instead of receiving status notifications, as it does from a service.
A service can register additional type information by calling the SetServiceBits function. The NetServerGetInfo and NetServerEnum functions obtain the supported service types.