You have used Group Policy Preferences (GPP) to copy a REG_BINARY value from one registry location into another, with use of a variable name.The REG_BINARY value is copied backwards.
Example steps to reproduce the issue:
1. Under “Computer Configuration\Preferences\Windows Settings\Registry” create a new registry item called BinarySource
2. Under “Computer Configuration\Preferences\Windows Settings\Registry” create another new registry item called BinaryTarget
Expected Result:
When applying this GPP the value from BinarySource gets copied to BinaryTarget. As a result BinaryTarget should contain the value 0000000000000001.
Actual Result:
As a result of a bug, when GPP copies the reg_binaray value from BinarySource to BinaryTarget, the value for BinaryTarget incorrrectly gets copied as 1000000000000000.
Note: The data has been reversed. This is not as expected.
Example steps to reproduce the issue:
1. Under “Computer Configuration\Preferences\Windows Settings\Registry” create a new registry item called BinarySource
General Tab Settings
Action: Update
Hive: HKEY_LOCAL_MACHINE
Key path: SOFTWARE\Microsoft
Value name: BinarySource
Value type: REG_BINARY
Value data: 0000000000000001
Common Tab settings
Stop processing items on this extension if an error occurs on this item: No
Remove this item when it is no longer applied: No
Apply once and do not reapply: No
Action: Update
Hive: HKEY_LOCAL_MACHINE
Key path: SOFTWARE\Microsoft
Value name: BinarySource
Value type: REG_BINARY
Value data: 0000000000000001
Common Tab settings
Stop processing items on this extension if an error occurs on this item: No
Remove this item when it is no longer applied: No
Apply once and do not reapply: No
2. Under “Computer Configuration\Preferences\Windows Settings\Registry” create another new registry item called BinaryTarget
General Tab Settings
Action: Update
Hive: HKEY_LOCAL_MACHINE
Key path: SOFTWARE\Microsoft
Value name: BinaryTarget
Value type: REG_BINARY
Value data: %BinaryVariable%
Common Tab Settings
Stop processing items on this extension if an error occurs on this item: No
Remove this item when it is no longer applied: No
Apply once and do not reapply: No
Item-level targeting: Registry Match
Attribute Value
bool AND
not 0
type GET VALUE DATA
hive HKEY_LOCAL_MACHINE
key SOFTWARE\Microsoft
valueName BinarySource
valueType REG_BINARY
variableName BinaryVariable
Action: Update
Hive: HKEY_LOCAL_MACHINE
Key path: SOFTWARE\Microsoft
Value name: BinaryTarget
Value type: REG_BINARY
Value data: %BinaryVariable%
Common Tab Settings
Stop processing items on this extension if an error occurs on this item: No
Remove this item when it is no longer applied: No
Apply once and do not reapply: No
Item-level targeting: Registry Match
Attribute Value
bool AND
not 0
type GET VALUE DATA
hive HKEY_LOCAL_MACHINE
key SOFTWARE\Microsoft
valueName BinarySource
valueType REG_BINARY
variableName BinaryVariable
Expected Result:
When applying this GPP the value from BinarySource gets copied to BinaryTarget. As a result BinaryTarget should contain the value 0000000000000001.
Actual Result:
As a result of a bug, when GPP copies the reg_binaray value from BinarySource to BinaryTarget, the value for BinaryTarget incorrrectly gets copied as 1000000000000000.
Note: The data has been reversed. This is not as expected.