Microsoft Advanced Group Policy Management (AGPM) ScenarioAssume 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):
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 ScenarioOn 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:
Because Windows Server Core does not have the GPMC Interfaces installed, applications that use this interface will fail.
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.
Article ID: 2987708 - Last Review: 5 Aug 2014 - Revision: 1