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.
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/WriteQualifiers:
[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/WriteQualifiers: NoneUnique 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/WriteQualifiers: NoneSee SMS_TaskSequence_Action Server WMI Class.
- ContinueOnError
- Data type: BooleanAccess type: Read/WriteQualifiers: NoneSee SMS_TaskSequence_Action Server WMI Class.
- Description
- Data type: StringAccess type: Read/WriteQualifiers: [AllowedLen("0-255")]See SMS_TaskSequence_Action Server WMI Class.
- Enabled
- Data type: BooleanAccess type: Read/WriteQualifiers: NoneSee SMS_TaskSequence_Action Server WMI Class.
- Name
- Data type: StringAccess type: Read/WriteQualifiers: [AllowedLen("1-100")]See SMS_TaskSequence_Action Server WMI Class.
- SupportedEnvironment
- Data type: StringAccess type: Read/WriteQualifiers: [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/WriteQualifiers: NoneSee SMS_TaskSequence_Action Server WMI Class.
- UnsignedDriver
- Data type: BooleanAccess type: Read/WriteQualifiers:
[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
Tasks
How to Create an Operating System Deployment Task SequenceHow to Add an Operating System Deployment Task Sequence Action
Reference
SMS_TaskSequence_Action Server WMI ClassSMS_CategoryInstance Server WMI Class
Other Resources
Operating System Deployment Server WMI ClassesAbout Operating System Deployment Task Sequences
Configuration Manager Operating System Deployment
Send comments about this topic to Microsoft.