none
Unknown Error when starting the Group Policy Editor RRS feed

  • Question

  • On Windows 8.1 Professional, I opened the "Edit group policy" from the control panel and also tried to start gpedit.msc from an elevated CMD prompt. In both cases I get the following error message:
    Group policy editor error
    In English: Failed to open GPO. You may not have appropriate rights. Details: Unknown Error

    There it is again - this dreaded "Unknown Error" message - telling me absolutely nothing about the cause of the problem.

    In the past I have been able to launch the GPE on that machine without problems. I can absolutely not remember having messed around with the system files or registry settings. So there is no suspicious thing I could have done to break something. I had a look at all copies of the GPEDIT.MSC in an editor but none of them looked broken in any way.

    I startet C:\WINDOWS\SYSTEM32\MMC.EXE C:\WINDOWS\SYSTEM32\GPEDIT.MSC using the debugger of Visual Studio and paused execution after the error dialog had poped up. I got this call stack:
      gpedit.dll!ReportError(struct HWND__ *,unsigned long,unsigned int,...)    Unknown
      gpedit.dll!CComponentData::Load(struct IStream *)    Unknown
      ...
      mfc42u.dll!CWinApp::ProcessShellCommand(class CCommandLineInfo &)    Unknown

    I had configured the debugger to break on all exceptions but as you see yourself, MMC is an MFC 4.2 app that doesn't use exceptions.

    Since I get no access to the symbols of gpedit.dll, can anybody please tell me which conditions - i.e. problems - in Load() are handled by simply returning E_FAIL? What could be wrong with my machine?

    Thursday, May 1, 2014 11:15 AM

Answers

  • Hi,

    Consider the corrupted local policy files and system files, please try these steps:

    Step 1: clear local GP by running these commands:

    RD /S /Q "%WinDir%\System32\GroupPolicyUsers"

    RD /S /Q "%WinDir%\System32\GroupPolicy"

    gpupdate /force

    Step 2: To scan system files by running this command as admin:

    SFC /SCANNOW

    Andy error, please post back the CBS.log

    Then, restart the computer to check the results.

    Also, the event log (Open local event viewer) will show something related to this issue, please check event under Windows log\Application and Applications and services log\Microsoft\Windows\Grouppolicy, post back if you find any error about this issue.



    Kate Li
    TechNet Community Support

    • Marked as answer by Frank Heimes Friday, May 2, 2014 6:12 AM
    Friday, May 2, 2014 2:37 AM
    Owner

All replies

  • Hi,

    Consider the corrupted local policy files and system files, please try these steps:

    Step 1: clear local GP by running these commands:

    RD /S /Q "%WinDir%\System32\GroupPolicyUsers"

    RD /S /Q "%WinDir%\System32\GroupPolicy"

    gpupdate /force

    Step 2: To scan system files by running this command as admin:

    SFC /SCANNOW

    Andy error, please post back the CBS.log

    Then, restart the computer to check the results.

    Also, the event log (Open local event viewer) will show something related to this issue, please check event under Windows log\Application and Applications and services log\Microsoft\Windows\Grouppolicy, post back if you find any error about this issue.



    Kate Li
    TechNet Community Support

    • Marked as answer by Frank Heimes Friday, May 2, 2014 6:12 AM
    Friday, May 2, 2014 2:37 AM
    Owner
  • Hi Kate,

    thanks!

    After deleting and updating the GP cache, the GPE started again.

    After the SFC scan completed, the CBS.log contained the following damaged items.

    Any advice what I can or should do about this?

    2014-05-02 08:13:49, Info                  CSI    00000507 Hashes for file member \SystemRoot\WinSxS\amd64_prncacla.inf_31bf3856ad364e35_6.3.9600.16384_none_9590ba64d5b91f79\Amd64\CNBJ2530.DPB do not match actual file [l:36{18}]"Amd64\CNBJ2530.DPB" :
      Found: {l:32 b:jPXtUXHvH9Tc5pvtBLgWeNFWSuGtKAVzPhh32Ik9iec=} Expected: {l:32 b:n520k714Uu3utHa5JGQ6HQYbZphKhlMWq5pEmfnCDuw=}
    2014-05-02 08:13:49, Info                  CSI    00000508 [SR] Cannot repair member file [l:36{18}]"Amd64\CNBJ2530.DPB" of prncacla.inf, Version = 6.3.9600.16384, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type = [l:24{12}]"driverUpdate", TypeName neutral, PublicKey neutral in the store, hash mismatch
    2014-05-02 08:13:50, Info                  CSI    00000509 Hashes for file member \SystemRoot\WinSxS\amd64_prncacla.inf_31bf3856ad364e35_6.3.9600.16384_none_9590ba64d5b91f79\Amd64\CNBJ2530.DPB do not match actual file [l:36{18}]"Amd64\CNBJ2530.DPB" :
      Found: {l:32 b:jPXtUXHvH9Tc5pvtBLgWeNFWSuGtKAVzPhh32Ik9iec=} Expected: {l:32 b:n520k714Uu3utHa5JGQ6HQYbZphKhlMWq5pEmfnCDuw=}
    2014-05-02 08:13:50, Info                  CSI    0000050a [SR] Cannot repair member file [l:36{18}]"Amd64\CNBJ2530.DPB" of prncacla.inf, Version = 6.3.9600.16384, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type = [l:24{12}]"driverUpdate", TypeName neutral, PublicKey neutral in the store, hash mismatch
    2014-05-02 08:13:50, Info                  CSI    0000050b [SR] This component was referenced by [l:186{93}]"Microsoft-Windows-Printer-Drivers-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.INF_prncacla"
    

    • Edited by Frank Heimes Friday, May 2, 2014 6:27 AM Added scan results
    Friday, May 2, 2014 6:16 AM