Tuesday, July 27, 2010

Unable to run Gresult, access denied or not found error

I came across a problem where a user's home directory was not mapping correctly. The event log was showing the following error:

Source: WinMgmt Event ID: 28
WinMgmt could not initialize the core parts. This could be due to a badly installed version of WinMgmt, WinMgmt repository upgrade failure, insufficient disk space or insufficient memory.

It turns out the WMI Repository was corrupted, which was preventing Group Policy from correctly applying.

I found the following link: windows-management-instrumentation-wmi

Along with the following commands to correct the problem:

From the command line:
winmgmt /clearadap (Unregister any WMI service performance libraries)

winmgmt /kill (Stop all running copies of the WMI service)

winmgmt /unregserver (Unregister the WMI service)

winmgmt /regserver (Register the WMI service)
winmgmt /resyncperf (Register any WMI service performance libraries)

This corrected the WMI repository problems and allowed gpresult to run, which confirmed the correct application of group policy mapping of home folders.

No comments:

Post a Comment