Win32_StartupCommand, ROOT\CIMV2

Class | Methods | Properties (8) | Qualifiers (6) | Instances (1) | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

The Win32_StartupCommand class represents a command that runs automatically when a user logs onto the computer system.

Win32_StartupCommand properties

Win32_StartupCommand has 8 properties (5 Local, 3 Derived)

NameOriginCIMType
CaptionCIM_Setting8 [string]
key
Command
Win32_StartupCommand8 [string]
DescriptionCIM_Setting8 [string]
key
Location
Win32_StartupCommand8 [string]
key
Name
Win32_StartupCommand8 [string]
SettingIDCIM_Setting8 [string]
key
User
Win32_StartupCommand8 [string]
UserSIDWin32_StartupCommand8 [string]

Detailed description of Win32_StartupCommand properties

Local properties (5) of Win32_StartupCommand class

▲ Command property
CIMTYPE'string'
Description'The Command property indicates the string representing the command line run by the startup command.
Example: c:\winnt\notepad.exe myfile.txt.'
keyTrue
MappingStrings['Win32Registry|SOFTWARE\Microsoft\Windows\CurrentVersion\Run']
readTrue
Command property is in 3 classes of ROOT\cimv2 and in 13 namespaces
▲ Location property
CIMTYPE'string'
Description'The Location property indicates the path where the startup command resides on the disk file system.'
keyTrue
MappingStrings['Win32Registry|\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\Windows']
readTrue
ValueMap['Startup', 'Common Startup', 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run', 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServices']
Values['Startup', 'Common Startup', 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run', 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServices']
Location property is in 8 classes of ROOT\cimv2 and in 10 namespaces
▲ Name property
CIMTYPE'string'
Description'The Name property indicates the filename of the startup command.
Example: FindFast'
keyTrue
MappingStrings['Win32API|File Structures|WIN32_FIND_DATA|cFileName']
readTrue
Name property is in 1046 classes of ROOT\cimv2 and in 142 namespaces
▲ User property
CIMTYPE'string'
Description'The User property indicates the user name for whom this startup command will run.
Example: mydomain\myname.'
keyTrue
MappingStrings['WMI']
readTrue
User property is in 46 classes of ROOT\cimv2 and in 6 namespaces
▲ UserSID property
CIMTYPE'string'
Description'The UserSID property indicates the SID of the user for whom this startup command will run. That User property may be empty but UserSID still has a value if the user name can't be resolved (like in the case of a deleted user). The property is helpful to distinguish between commands associated w/ two different users with unresolved names. It may be NULL when the command is associated with items not actually identifying a user like All Users.
Example:S-1-5-21-1579938362-1064596589-3161144252-1006'
MappingStrings['WMI']
readTrue
UserSID property is in 1 class (Win32_StartupCommand) of ROOT\cimv2 and in 4 namespaces

Derived properties (3) of Win32_StartupCommand class

▲ Caption property
CIMTYPE'string'
Description'A short textual description (one-line string) of the CIM_Setting object.'
MaxLen64
readTrue
Caption property is in 1050 classes of ROOT\cimv2 and in 37 namespaces
▲ Description property
CIMTYPE'string'
Description'A textual description of the CIM_Setting object.'
readTrue
Description property is in 1061 classes of ROOT\cimv2 and in 142 namespaces
▲ SettingID property
CIMTYPE'string'
Description'The identifier by which the CIM_Setting object is known.'
MaxLen256
readTrue
SettingID property is in 37 classes of ROOT\cimv2 and in 10 namespaces

Win32_StartupCommand Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
Description'The Win32_StartupCommand class represents a command that runs automatically when a user logs onto the computer system.'✗✓✓✓✓
dynamicTrue✓✗✓✗✓
Locale1033✓✗✓✓✓
Privileges['SeRestorePrivilege']✗✓✓✗✓
provider'CIMWin32'✓✗✓✗✓
UUID'{8502C50A-5FBB-11D2-AAC1-006008C78BC7}'✓✗✓✗✓

Win32_StartupCommand System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\cimv2:Win32_StartupCommand'___SYSTEM8✗✗
__NAMESPACE'ROOT\cimv2'___SYSTEM8✗✗
__SERVER'.'___SYSTEM8✗✗
__DERIVATION['CIM_Setting']___SYSTEM8✗✓
__PROPERTY_COUNT8___SYSTEM3✗✗
__RELPATH'Win32_StartupCommand'___SYSTEM8✗✗
__DYNASTY'CIM_Setting'___SYSTEM8✗✗
__SUPERCLASS'CIM_Setting'___SYSTEM8✗✗
__CLASS'Win32_StartupCommand'___SYSTEM8✗✗
__GENUS1___SYSTEM3✗✗

Similar Classes to Win32_StartupCommand

Number of classes:2
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
Win32_ApplicationCommandLine02027---
Win32_CommandLineAccess010021---
comments powered by Disqus
WUtils.com