Skip to content

The static cache for group policy settings should be cleared when GP settings change #5804

@daxian-dbw

Description

@daxian-dbw

Open the issue per the ask from #5791 (comment):

We use a static concurrent dictionary s_cachedPoliciesFromRegistry as a cache for group policy settings retrieved from the registry (in Utils.cs).
We should register for GP change notification using RegisterGPNotification, so that we can clear the cache when GP changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIssue has been identified as a bug in the productResolution-No ActivityIssue has had no activity for 6 months or moreWG-Enginecore PowerShell engine, interpreter, and runtime

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions