How does Registry.pol get updated?

ExhaustedTech 11 Reputation points
2023-07-17T22:40:45.3+00:00

I've come across articles stating that registry.pol should be updated regularly and if it's outdated, it should be renamed and a new one get generated.

What exactly causes the registry.pol to get updated and is it still relevant? I've also seen a post where the responder said it's for legacy purposes so I'm curious if it's even still needed.

99% of the devices in our environment have registry.pol files that are at least 6 months old, even though new GPOs have been setup since then. If pushing a new policy doesn't cause it to update, what does?

Update: for some context- we had a device not installing updates from SCCM. When I logged into it, I immediately noticed it did not have the correct policies applied and that's when I noticed the .pol hadn't updated in several years. I decided to check all .pol files on the network to ensure we didn't have more that were severely outdated and that's when I discovered that all but 3 were severely outdated.

Microsoft Security | Intune | Configuration Manager | Other
Windows for business | Windows Client for IT Pros | User experience | Other
{count} vote

1 answer

Sort by: Most helpful
  1. AllenLiu-MSFT 49,316 Reputation points Microsoft External Staff
    2023-07-18T02:04:48.13+00:00

    Hi, @ExhaustedTech

    Thank you for posting in Microsoft Q&A forum.

    The Registry.pol file is generated to store policies set by Group Policy Objects (GPOs) on client computers in an Active Directory domain. This file is present in every GPO applied computer and is responsible for storing registry policy settings for a machine.

    The Registry.pol file is updated according to the settings policies configured in a GPO assigned to the device. When you create a new GPO, make a change to an existing setting, or remove a GPO link from a domain, the Registry.pol file gets updated to reflect the changes made.

    However, it's important to note that conflicting policies can prevent or delay updates from taking effect. In some cases, administrators set devices to get both Group Policy settings and MDM settings from an MDM server such as Microsoft Intune. Policy conflicts are handled differently, depending on how they are ultimately set up. Windows updates give Group Policy settings precedence over MDM policies. Regarding Microsoft Intune, if you set different values for the same policies on two different groups, an alert is given, and neither policy will be set until the conflict is resolved.

    Registry.pol files are still relevant in the environment, but administrators need to maintain them regularly. It's recommended to update the policies and generate new Registry.pol files regularly. If the Registry.pol file is outdated and you want to create a new one, you must delete the old Registry.pol file, log out, and log in again to generate a new one.

    For your reference:

    https://learn.microsoft.com/en-us/windows/deployment/update/update-policies#old-or-conflicting-policies


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.