Group Policy Modeling: "Given Key was not present in the dictionary"

Daniel Klobnak 266 Reputation points
2023-04-21T15:41:21.0866667+00:00

Received the following error when doing Group Policy Modeling on two DCs (both running 2022): The scope of the model was User settings (None) Computer settings (not specific Computer but the OU for all servers)
(Also attempted for a different OU just to see) same error:  An error occurred while generating report:
The given key was not present in the dictionary.
This is relatively recent development in environment (no issues the last time I used modeling, which was sometime in past couple of months, so not that frequent). MS has the following: https://learn.microsoft.com/en-GB/troubleshoot/windows-server/group-policy/cannot-run-group-policy-modeling-wizard However, while the issue may be accurate, is there any way to determine which GPO may be causing this? With approximately 130 GPOs would like to avoid reviewing each one. Any decent tools? Event log was worthless * I had not made any changes to GPOs re registry items recently, but there are a few other GPO admins (and they apparently do not Change Log as I do). As a sidebar (and will be another post to avoid question creep), BUT any recommended tools that are efficient for auditing/reviewing GPO modifications, adds, , details and who did the change, what was changed, and reflect Name vs GUID? Security Event logs  > Directory Service Changes > Event ID 5136 is not the most user friendly (frankly worthless from a practical perspective) 

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,606 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,728 questions
0 comments No comments
{count} votes

Accepted answer
  1. Limitless Technology 44,421 Reputation points
    2023-04-24T14:01:22.7533333+00:00

    Hello Thank you for your question and reaching out. You may examine the settings for the registry items under Computer configuration\Preferences\Registry in the report since you can obtain the gpresult by issuing the command: gpresult /h report.html on a computer (for a computer configuration, you need to run the cmd as administrator). --If the reply is helpful, please Upvote and Accept as answer--

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.