ServerAutoStart

This property indicates if the server instance should start automatically when the service is started.

This property is reset automatically when a server instance is stopped or restarted, to maintain state across service restarts. For example, if a server is stopped, the value of this property is set to FALSE so that if the service is stopped and restarted, the server will remain stopped. Likewise, if a server is started, this property is set to TRUE, allowing the server to remain running whenever the service is running.

Data type Boolean
Default value TRUE
Inheritance Inheritable

Access Locations

This property is accessible at the following locations:

Metabase Path Key Type
/LM/MSFTPSVC IIsFtpService
/LM/MSFTPSVC/N IIsFtpServer
/LM/W3SVC IIsWebService
/LM/W3SVC/N IIsWebServer

IIS Admin Base Object Information

The following table lists additional information required only for code that uses the IIS Admin Base Object.

Metabase identifier MD_SERVER_AUTOSTART
Data type DWORD_METADATA
User type IIS_MD_UT_SERVER