I have two Registry keys I am trying to set via the Registry resource that are having issues:
- The values are not being set as defined
- Even though the values are not set as defined ‘test-dscconfiguration’ shows as ‘true’
#Disable automatic updates
Registry AUOptions
{
Ensure = "Present"
Key = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update"
ValueName = "AUOptions"
ValueType = "DWord"
ValueData = "2"
}
#Disable automatic updates
Registry AUOptionsNAU
{
Ensure = "Present"
Key = "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"
ValueName = "NoAutoUpdate"
ValueType = "DWord"
ValueData = "1"
}
The values provided are valid entries for these keys. Has anyone seen anything like this?
Thanks,
Ed