| Win32_StartupCommand | |||
| The Win32_StartupCommand class represents a command that runs automatically when a user logs onto the computer system. | |||
| NameSpace Path | |||
| \ROOT\CIMV2 | |||
| PROPERTY | SMS_REPORT | CIMTYPE | DESCRIPTION |
| Caption | String | A short textual description (one-line string) of the CIM_Setting object. | |
| Command | String | The Command property indicates the string representing the command line run by the startup command. Example: c:\winnt\notepad.exe myfile.txt. | |
| Description | String | A textual description of the CIM_Setting object. | |
| Location | String | The Location property indicates the path where the startup command resides on the disk file system. | |
| Name | String | The Name property indicates the filename of the startup command. Example: FindFast | |
| SettingID | String | The identifier by which the CIM_Setting object is known. | |
| User | String | The User property indicates the user name for whom this startup command will run. Example: mydomain\myname. | |
| UserSID | String | 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 | |
| SAMPLE DATA INSTANCE | |||
|    [LOCALE(1033): ToInstance Amended]    instance of Win32_StartupCommand    {     Caption = "desktop";     Command = "desktop.ini";     Description = "desktop";     Location = "Startup";     Name = "desktop";     User = "NT AUTHORITY\\SYSTEM";     UserSID = "S-1-5-18";    }; | |||