PRB: WDM Drivers Cannot Access All Registry Keys

ID: Q190526

The information in this article applies to:

SYMPTOMS

Under OSR 2.1 and OSR 2.5, a WDM driver that calls ZwOpenKey() is only able to access registry keys under HKEY_LOCAL_MACHINE. Any attempts to read or write to other locations in the registry fail.

Under Windows 98, a WDM driver calling ZwOpenKey() is only able to access registry keys under HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER. Any attempts to read or write to other locations in the registry fail.

STATUS

This behavior is by design.

Additional query words: WDM registry ZwOpenKey

Keywords          : kbDDK kbWinOS95 kbWinOS98 
Issue type        : kbprb

Last Reviewed: August 5, 1998