|- WMI Library -|
WMI Libraly > Win32_ServiceSpecification Class
Instances of this class represent the services that are to be installed along with an associated package.
Adding the value 0x08000 to the flags in the following table specifies that the overall install will fail if the service cannot be installed into the system.
Startup program's action
Logs the error and continues with the startup operation.
Logs the error, displays a message box and continues the startup operation.
Logs the error if it is possible and the system is restarted with the last configuration known to be good. If the last-known-good configuration is being started, the startup operation fails.
One of the following service types must be specified in this column.
Type of service
A Microsoft Win32® service that runs its own process.
A Win32 service that shares a process.
Win32 service that interacts with the desktop. This value cannot be used alone and must be added to one of the two previous types.
The following types of service are unsupported.
Type of service
A driver service.
A file system driver service.
One of the following types of service start must be specified in this column.
Type of service start
A service start during startup of the system.
A service start when the service control manager calls the StartService function.
Specifies a service that can no longer be started.
The following types of service starts are valid only for driver services.
Type of driver service start
A device driver started by the operating system loader.
A device driver started by calling the IoInitSystem function. Use this in the ServiceControl Table, with the StartServices action put after the InstallServices action, to start a driver service during an install.
SELECT * FROM Win32_ServiceSpecification
This contents is created by WMI having class information.
WMI Environment is Windows Server 2008 R2 Enterprise Edition.
This link is Microsoft documents for "Managing Windows with WMI".
That is VB(Visual Basic) scripting sample.
This link is Microsoft documents for "Advanced Programming Topics in WMI .NET".
That is VB.net(Visual Basic .net) scripting sample.
- WMI Library -
WMI useful by VB,VB.Net,VC,VC.Net,VC#.Net,VBS(WSH),PowerShell for PC asset management, system monitoring and collecting hardware and software inventory.
This website is created by Toh.
Copyright(C) 1997-2016 WMI Fun !!. All rights reserved.
|^ Go to the top...|