Submitting forms on the support site are temporary unavailable for schedule maintenance. If you need immediate assistance please contact technical support. We apologize for the inconvenience.
Pointer is not valid - object reference not set to an instance of an object
설명
You receive an error when a backup is attempted in GPOADmin. When trying to backup manually error states The pointer is not valid. System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Object reference not set to an instance of an object. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.NullReferenceException: Object reference not set to an instance of an object. at GPOADmin.Interops.GpmGmt.IGPMGPO2.GenerateReport(GPMReportType GPMReportType, Object& pvarGPMProgress, Object& pvarGPMCancel) at Quest.Avalanche.ClassLibrary.LiveEnvironment.PolicyBase.GetHtmlSettingsReport(Boolean isCloaked) at Quest.Avalanche.VersionControl.Workflow.VersionControlled.GetSettingsReport(ControlledObjectInstanceType reportType, Boolean gpoHtmlReport) at Quest.Avalanche.Reporting.ReportManager.GetGpoHtmlSettingsReportByType(Guid controlledObjectId, ControlledObjectInstanceType type) at Quest.Avalanche.Reporting.ReportManagerStream.GetGpoHtmlSettingsReportByType(Guid gpoVcId, ControlledObjectInstanceType type) at SyncInvokeGetGpoHtmlSettingsReportByType(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outpu...).
원인
This has occurred due to an 'invalid' setting within the SecEdit file. This only affects 2016 servers with a specific workaround implemented, which involves removing the following key and sub-values: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SecEdit\Reg Values\MACHINE/Software/Microsoft/Windows/CurrentVersion/Policies/System/DontDisplayLockedUserId"
해결 방안
Specifically, the issue was caused because a workaround was implemented, which removes certain options from the GPO Editor, due to a Microsoft KB causing console crashes: (Workaround 3) http://cloudexchangers.com/issue-with-accessing-security-options-in-group-management-console-in-windows-server-2016/
This change, as of the December 2020 update can be safely reverted, and the console no longer crashes. You should be able to merge the registry key back in if you still have it. If you no longer have the registry key export, you will need to re-install GPMC on the affected servers.