Request update to README section 'Limitations'
Puppet agent will only apply new and updated local group policy values defined in the Puppet manifest.
Puppet will not revert manual registry changes made by end users via regedit.
Gpupdate must be used to reapply existing policy settings.
Problem
Puppet agent does not identify configuration drift when end user modifies group policy managed registry values via regedit.
Example:
- Admin defines policy in Puppet manifest, policy should be enabled.
advanced_security_policy { 'Disallow Autoplay for non-volume devices':
ensure => present,
policy_value => 'enabled',
}
- Puppet runs, parses the policy and sets it to enabled in LGPO.
- LGPO sets the registry value to 1.
- End user opens regedit, changes the value to 0.
- Puppet runs again, finds policy is compliant and no changes required. The registry is still 0 instead of 1.
- As policy is correct, admin runs gpupdate /force to reapply all policies to correct the registry.
- Registry value reverts to 1 as defined by policy.
- Machine is compliant to policy.
Recommended Local Policies To Ensure Registry Remains Compliant :
Make sure you have the following Local Group Policies configured to ensure group policies are reapplied during routine 'gpupdate':
1.'Configure Registry Policy Processing: Process even if the Group Policy objects have not changed' = enabled
2.'Configure Security Policy Processing: Process even if the Group Policy objects have not changed' = enabled
3.'Set Group Policy refresh interval for computer' = enabled
By default, Domain members will refresh group policy every 90 minutes. Standalone (workgroup) server do not do this automatically. The two policy processing policies allow the routine 'gpupdate' to reapply all policies which guards against end user modification of registry. This works similar to gpupdate /force.
References:
Request update to README section 'Limitations'
Puppet agent will only apply new and updated local group policy values defined in the Puppet manifest.
Puppet will not revert manual registry changes made by end users via regedit.
Gpupdate must be used to reapply existing policy settings.
Problem
Puppet agent does not identify configuration drift when end user modifies group policy managed registry values via regedit.
Example:
Recommended Local Policies To Ensure Registry Remains Compliant :
Make sure you have the following Local Group Policies configured to ensure group policies are reapplied during routine 'gpupdate':
1.'Configure Registry Policy Processing: Process even if the Group Policy objects have not changed' = enabled
2.'Configure Security Policy Processing: Process even if the Group Policy objects have not changed' = enabled
3.'Set Group Policy refresh interval for computer' = enabled
References: