Closed schnyders closed 2 months ago
Looks like they're coming up against the issue described below where PowerShell has inconsistent behaviour when Type is not defined for Set-ItemProperty
Pull request should fix
Thanks to @Borgquite for fixing this. Please test and verify that it works by using the preview that will be released shortly.
Problem description
Based on MS documentation FilterAdministratorToken (https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-gpsb/7c705718-f58e-4886-8057-37c8fd9aede1) is a registry key of type REG_DWORD. The key does not exists by default. Resource is creating a registry key with type REG_SZ instead of REG_DWORD
Verbose logs
DSC configuration
Suggested solution
Create the registry key with the right type.
Operating system the target node is running
PowerShell version and build the target node is running
ComputerManagementDsc version