The SMS_TaskSequence_ApplyWindowsSettingsAction Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a task sequence action that applies Windows settings configuration information for the target computer.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_TaskSequence_ApplyWindowsSettingsAction : SMS_TaskSequence_Action
{
	String AdminPassword;
	String ComputerName;
	SMS_TaskSequence_Condition Condition;
	Boolean ContinueOnError;
	String Description;
	Boolean Enabled;
	String Name;
	String ProductKey;
	Boolean RandomAdminPassword;
	String RegisteredOrgName;
	String RegisteredUserName;
	UInt32 ServerLicenseConnectionLimit;
	String ServerLicenseMode;
	String SupportedEnvironment;
	UInt32 Timeout;
	String TimeZone;
};

Methods

The SMS_TaskSequence_ApplyWindowsSettingsAction class does not define any methods.

Properties

AdminPassword

Data type: StringAccess type: Read/WriteQualifiers: [VariableName("OSDLocalAdminPassword"), Secret, AllowedLen("0-255")]Local administrator password. The name can be between 0 and 255 characters in length. This property must be set, but it is ignored if the RandomAdminPassword property is set to e.The task sequence variable associated with this property is OSDLocalAdminPassword. For more information, see the MSDN documentation for Operating System Deployment Task Sequence Variables.
ComputerName

Data type: StringAccess type: Read/WriteQualifiers: NoneName assigned to the target computer. The default name is "%_SMSTSMachineName%".
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.
ProductKey

Data type: StringAccess type: Read/WriteQualifiers: [QuasiSecret]The product code for the new operating system.
RandomAdminPassword

Data type: BooleanAccess type: Read/WriteQualifiers: [not_null]true (default) to set the administrator password to a randomly generated value and disable the account in the operating system that is being deployed. The local administrator account, specified by AdminPassword, is disabled on the target computer. Set this property to false to enable the local administrator account and set the password as specified by the AdminPassword property. This property must be set.
RegisteredOrgName

Data type: StringAccess type: Read/WriteQualifiers: [Not_Null, AllowedLen("1-255")]Registered organization name in the new operating system. The name length can be between 1 and 255 characters. This property must be set.
RegisteredUserName

Data type: StringAccess type: Read/WriteQualifiers: [Not_Null, AllowedLen("1-255")]Registered user name in the new operating system. The name length can be between 1 and 255 characters. This property must be set.
ServerLicenseConnectionLimit

Data type: UInt32Access type: Read/WriteQualifiers: [ValueRange("5-9999")]Limit on server license connections. The value can be between 5 and 9999. Use this property to configure server licensing on Windows 2000 Server or Windows Server 2003.
ServerLicenseMode

Data type: StringAccess type: Read/WriteQualifiers: NoneThe server licensing mode. Possible values for Windows 2000 Server and Windows Server 2003 are:
  • PerSeat

  • PerServer

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.
TimeZone

Data type: StringAccess type: Read/WriteQualifiers: [Not_Null]Time zone for the new operating system. This property must be set to an English language string. A non-English localized string causes the time zone setting to fail and default to Universal Coordinated Time (UTC).

Remarks

Class qualifiers for this class include:

[CommandLine("osdwinsettings.exe /config"),VariablePrefix("OSD"),

ActionCategory{"Settings,5,6"},ActionUI{"AdminUI.TaskSequenceEditor.dll", "Microsoft.ConfigurationManagement.AdminConsole.TaskSequenceEditor", "ApplyWindowsSettingsControl", "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

Development Requirements

See Also