The SMS_TaskSequence_PrepareOSAction Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a task sequence action specifying the Sysprep options to use when capturing Windows settings from the reference computer.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Class SMS_TaskSequence_PrepareOSAction : SMS_TaskSequence_Action { Boolean BuildStorageDriverList; SMS_TaskSequence_Condition Condition; Boolean ContinueOnError; String Description; Boolean Enabled; Boolean KeepActivation; String Name; String SupportedEnvironment; UInt32 Timeout; }; |
Methods
The SMS_TaskSequence_PrepareOSAction class does not define any methods.
Properties
- BuildStorageDriverList
- Data type: BooleanAccess type: Read/WriteQualifiers: [not_null, VariableName("OSDBuildStorageDriverList")]true to build a mass-storage device driver list. The default value is false. The task sequence variable associated with this property is OSDBuildStorageDriverList. For more information, see the MSDN documentation for Operating System Deployment Task Sequence Variables.
- 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.
- KeepActivation
- Data type: BooleanAccess type: Read/WriteQualifiers: [not_null, VariableName("OSDKeepActivation")]true to keep the current product activation flag or reset it. The default value is false. The task sequence variable associated with this property is OSDKeepActivation. For more information, see the MSDN documentation for Operating System Deployment Task Sequence Variables.
- 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 FullOS.
- Timeout
- Data type: UInt32Access type: Read/WriteQualifiers: NoneSee SMS_TaskSequence_Action Server WMI Class.
Remarks
Class qualifiers for this class include:
[CommandLine("osdprepareos.exe /activate:%%OSDKeepActivation%% /bmsd:%%OSDBuildStorageDriverList%%"),
ActionCategory{"Images,6,4"},ActionUI{"AdminUI.TaskSequenceEditor.dll", "Microsoft.ConfigurationManagement.AdminConsole.TaskSequenceEditor", "WindowsCaptureControl", "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 a Condition to an Operating System Deployment Task Sequence Step
How to Add an Operating System Deployment Task Sequence Action
Other Resources
Operating System Deployment Server WMI ClassesConfiguration Manager Operating System Deployment
About Operating System Deployment Task Sequences
Send comments about this topic to Microsoft.