SMS_TaskSequence_AutoApplyAction Server WMI Class
Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager
The SMS_TaskSequence_AutoApplyAction Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a task sequence action that matches and installs device drivers as part of an operating system deployment.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Syntax
Class SMS_TaskSequence_AutoApplyAction : SMS_TaskSequence_Action
{
Boolean BestMatch;
String CategoryList[];
SMS_TaskSequence_Condition Condition;
Boolean ContinueOnError;
String Description;
Boolean Enabled;
String Name;
String SupportedEnvironment;
UInt32 Timeout;
Boolean UnsignedDriver;
};
Methods
The SMS_TaskSequence_AutoApplyAction class does not define any methods.
Properties
BestMatch
Data type: BooleanAccess type: Read/Write
Qualifiers: [Not_Null]
true (default) to install the device driver that is the best match for the hardware device. Set this property to false to install all compatible device drivers and have the operating system choose the best driver to use.
Note
This property is required by the task sequence action if there are multiple device drivers in the driver catalog that are compatible with the hardware device.
CategoryList
Data type: String ArrayAccess type: Read/Write
Qualifiers: None
Unique IDs of categories for which the task sequence action searches in the driver catalog. The default value is null.
You can obtain the available category IDs by enumerating the SMS_CategoryInstance Server WMI Class objects on the site.
Condition
Data type: SMS_TaskSequence_ConditionAccess type: Read/Write
Qualifiers: None
ContinueOnError
Data type: BooleanAccess type: Read/Write
Qualifiers: None
Description
Data type: StringAccess type: Read/Write
Qualifiers: [AllowedLen("0-255")]
Enabled
Data type: BooleanAccess type: Read/Write
Qualifiers: None
Name
Data type: StringAccess type: Read/Write
Qualifiers: [AllowedLen("1-100")]
SupportedEnvironment
Data type: StringAccess type: Read/Write
Qualifiers: [Not_Null:ToInstance]
See SMS_TaskSequence_Action Server WMI Class.
The default value of this property for this task sequence action is WinPE.
Timeout
Data type: UInt32Access type: Read/Write
Qualifiers: None
UnsignedDriver
Data type: BooleanAccess type: Read/Write
Qualifiers: [Not_Null, VariableName("OSDAllowUnsignedDriver")]
true to configure the Windows operating system to allow unsigned device drivers to be installed. The default value is false.
The task sequence variable associated with this property is OSDAllowUnsignedDriver. For more information, see the MSDN documentation for Operating System Deployment Task Sequence Variables.
Note
This property is required by the task sequence action. However, it is not used when deploying the Windows Vista operating system.
Remarks
Class qualifiers for this class include:
[CommandLine("osddriverclient.exe /auto /bestmatch:%%OSDAutoApplyDriverBestMatch%% /unsigned:%%OSDAllowUnsignedDriver%%"),
ActionCategory{"Drivers,1,5"},VariablePrefix("OSDAutoApplyDriver"),
ActionUI{"AdminUI.TaskSequenceEditor.dll", "Microsoft.ConfigurationManagement.AdminConsole.TaskSequenceEditor", "AutoApplyDriverControl", "TaskSequenceOptionControl"}]
For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.
Requirements
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.
See Also
Operating System Deployment Server WMI Classes
SMS_TaskSequence_Action Server WMI Class