longDecimal (type: LongDecimalElement)

A QWORD (64-bit unsigned integer) number/decimal element in a policy.

Element hierarchy

<policyDefinitions>
<policies>
<policy>
<elements>
<longDecimal>

Syntax

<longDecimal id               = string
             clientExtension? = GUID
             key?             = registryKey
             valueName?       = registryValueName
             required?        = boolean : "false"
             minValue?        = unsignedLong : "0"
             maxValue?        = unsignedLong : "9999"
             storeAsText?     = boolean : "false"
             soft?            = boolean : "false" />

Key

?   optional (zero or one)

:   default value

Attributes and Elements

Attributes

Attribute Description Data type Required Default value
clientExtension

The GUID of the extension.

GUID No
id

Identifies the element.

string Yes
key

A valid registry key path (without reference to local system or user hive).

registryKey No
maxValue

The maximum value of the element.

unsignedLong No 9999
minValue

The minimum value of the element.

unsignedLong No 0
required

True if the element is required.

boolean No false
soft

TBD

boolean No false
storeAsText

Set true to store the value as a string.

boolean No false
valueName

A valid registry value name.

registryValueName No

 

Child Elements

None.

Parent Elements

Parent Element Description
[elements](element-elements.md)

Defines the types of optional parameters defined in a policy setting. The number and type of PolicyElements must match the policy presentation elements.

 

The following elements have the same name as this one, but different content or attributes:

Requirements

Namespace

https://www.microsoft.com/GroupPolicy/PolicyDefinitions