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

AGPM and GPRESULT are not working

· 52CE 我爱测

Describes scenarios in which AGPM and GPRESULT do not work on a Windows Server Core installation.

This article provides a solution to an error that occurs where AGPM and GPRESULT do not work on a Windows Server Core installation.

Applies to:   Windows Server (All supported versions)
Original KB number:   2987708

Symptoms

Microsoft Advanced Group Policy Management (AGPM) Scenario

Assume that AGPM Server is installed on a computer that is running Windows Server Core (Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2). AGPM is installed on a client computer that is running Windows Server or a Windows client operating system that has Remote Server Administration Tools installed. In this situation, the following error occurs whenever an administrator tries to take control of an unmanaged Group Policy Object (GPO):

Control GPO: < GPO Name > ...Failed

The overall error was: The data is invalid. (Exception from HRESULT: 0x8007000D)
Additional details follow.
[Error] Unable to cast object of type 'System.DBNull' to type 'Microsoft.Agpm.GroupPolicy.Interop.GPMBackup'

GPRESULT Scenario

On a Windows Server Core computer, when an administrator runs the gpresult /h <filename.htm> command to retrieve the GPO settings for this computer or user, GPRESULT returns the following error message:

ERROR: The Parameter is incorrect.

Cause

These issues occur because the AGPM Server component and the GPRESULT /h command require the Group Policy Management Console (GPMC) to be installed on the Local System. Several GPMC Interfaces will be installed on the system only when GPMC is installed.

GPMC Interfaces

Because Windows Server Core doesn't have the GPMC Interfaces installed, applications that use this interface will fail.

Resolution

Resolution for AGPM

Install the AGPM Server component on a Windows Server-based computer that has the GUI installed.

Resolution for GPRESULT

Run the GPRESULT report from a remote computer against the Windows Server Core computer.

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)

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

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