This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
Binary Registry bug within PSDesiredStateConfiguration "Registry" Resource #14
Labels
bug
Something isn't working
Describe the bug
Attempting to set a binary registry key to 0 will result in the key being set to "zero-length binary value" due to a bug with the registry resource parsing the value of 0 into a binary format.
To Reproduce
Steps to reproduce the behavior:
Configuration TestConfig {
}
Expected behavior
HKLM:\System\CurrentControlSet\Control\Lsa registry key should be set to "00"
Screenshots
Additional context
Work-around is importing the xPSDesiredStateConfiguration module and using the xRegistry resource, which will parse the value of "0" into a binary key of "00"
Example:
Configuration TestConfig {
}
Link to the original bug: PowerShell/DscResources#203
The text was updated successfully, but these errors were encountered: