The SMS_TaskSequence_EnableBitLockerAction Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a task sequence action that enables the low-level BitLocker encryption on the specified drive.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Class SMS_TaskSequence_EnableBitLockerAction : SMS_TaskSequence_Action { SMS_TaskSequence_Condition Condition; Boolean ContinueOnError; String CreateRecoveryPassword; String Description; Boolean Enabled; String Mode; String Name; String StartupKeyDrive; String SupportedEnvironment; String TargetDrive; UInt32 Timeout; Boolean WaitForEncryption; }; |
Methods
The SMS_TaskSequence_EnableBitLockerAction class does not define any methods.
Properties
- 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.
- CreateRecoveryPassword
- Data type: StringAccess type: Read/WriteQualifiers:
[CommandLineArg(5), Not_Null]Value indicating whether a recovery
password should be created in Active Directory. Possible values
are:
- None
- AD (default)
- None
- 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.
- Mode
- Data type: StringAccess type: Read/WriteQualifiers:
[CommandLineArg(3), RequiredIfNull("TargetDrive")]Key protector
mode. Possible values are:
- TPM
- Key
- TPMAndKey
- TPM
- Name
- Data type: StringAccess type: Read/WriteQualifiers: [AllowedLen("1-100")]See SMS_TaskSequence_Action Server WMI Class.
- StartupKeyDrive
- Data type: StringAccess type: Read/WriteQualifiers: [CommandLineArg(4)]Drive letter of removable USB drive on which to store key protectors. This property is ignored unless the Mode property is set to Key or TPMAndKey. Set this property to null (default) to use the first available USB drive.
- 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.
- TargetDrive
- Data type: StringAccess type: Read/WriteQualifiers: [CommandLineArg(1)]Drive letter of the volume on which to enable the Bitlocker encryption. Set this property to null (default) to use the current operating system volume.
- Timeout
- Data type: UInt32Access type: Read/WriteQualifiers: NoneSee SMS_TaskSequence_Action Server WMI Class.
- WaitForEncryption
- Data type: BooleanAccess type: Read/WriteQualifiers: [CommandLineArg(2), Not_Null]true to wait for disk encryption to complete before continuing with the task sequence. Set this property to false (default) to continue the task sequence while encryption proceeds in the background.
Remarks
Class qualifiers for this class include:
[CommandLine("OSDBitLocker.exe /enable <?1: /drive:%1><?2: /wait:%2><?3: /mode:%3><?4: /keydrive:%4><?5: /pwd:%5>"),
ActionCategory{"Disks,4,2"},ActionUI{"AdminUI.TaskSequenceEditor.dll", "Microsoft.ConfigurationManagement.AdminConsole.TaskSequenceEditor", "EnableBitLockerControl", "TaskSequenceOptionControl"},
VariablePrefix("OSDBitLocker")]
For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.
BitLocker requires at least two partitions on the hard drive. The first partition contains the Windows bootstrap code, and the second partition contains the operating system. The bootstrap partition must remain unencrypted.
The variable prefix for this class is "OSDBitLocker".
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 ClassOther Resources
Operating System Deployment Server WMI ClassesAbout Operating System Deployment Task Sequences
Configuration Manager Operating System Deployment
Send comments about this topic to Microsoft.