大网数据广告活动
域与目录服务

The given Key was not present in the dictionary

· 52CE 我爱测

Describes an issue that occurs when you run the Group Policy Modeling Wizard against a new Group Policy setting.

This article provides a solution to a Group Policy error (The given Key was not present in the dictionary) that occurs when you run the Group Policy Modeling Wizard against a new Group Policy setting.

Original KB number:   2692409

Symptoms

Consider the following scenario:

  • You create a new Group Policy setting and configure some registry items under Preferences (user or Computer). To do this, you use the registry wizard to add keys or values to the registry. For example, under Computer configuration\Preferences\Registry, you right-click and then select New -> Registry Wizard. This opens a user interface that enables you to manipulate registry items.

  • On Windows Server 2008 R2 and Windows Server 2008, you run the Group Policy Modeling Wizard against the new Group Policy setting. In this scenario, you experience one of the following symptoms, depending on your version of Internet Explorer:

  • In Internet Explorer 8, you receive the following error message and error code 80131577: An error occurred while generating report. The given Key was not present in the dictionary

  • In Internet Explorer 9, the wizard runs but does not report any registry settings. Additionally, the Registry Preferences section is empty.

Cause

There is a faulty registry item in the XML file that is associated with the Group Policy registry settings.

Resolution

To fix this issue, re-create the Group Policy and registry settings. However, while you are using the registry browser to select values in a registry key, do not select the parent key together with the values in it. The parent key is autoselected. This is, when you select a value in a key, a red tick appears automatically on the parent key folder. It is not necessary also to select the parent key.

Data collection

If you need assistance from Microsoft support, we recommend you collect the information by following the steps mentioned in Gather information by using TSS for Group Policy issues.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。