When you try to close the predefined HKEY_PERFORMANCE_TEXT registry handle or the predefined HKEY_PERFORMANCE_NLSTEXT registry handle from a kernel-mode device driver, a 0x00000093 stop error occurs or you may receive a STATUS_INVALID_HANDLE error.
This problem occurs when a kernel-mode driver opens the
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Perflib\language ID
registry key. In this registry key, language ID is the associated language ID. The operating system returns the predefined HKEY_PERFORMANCE_TEXT registry handle or the predefined HKEY_PERFORMANCE_NLSTEXT registry handle. If you try to close either of these predefined handles, you may receive a STATUS_INVALID_HANDLE error. However, if a kernel debugger is running, the operating system may invoke a stop error that has an INVALID_KERNEL_HANDLE (0x00000093) error code.
This behavior is by design.
For more information about predefined keys, visit the following MSDN Web site: