Skip to content

Advapi32Util can't read from registry as non-admin #101

@myleshorton

Description

@myleshorton

No problem reading as a user with admin privileges, but as non-admin I get:

com.sun.jna.platform.win32.Win32Exception: The system cannot find the file specified.
at com.sun.jna.platform.win32.Advapi32Util.registryGetStringValue(Advapi32Util.java:508)

Note this is reading from HKEY_CURRENT_USER, and I'm able to read through calling out to REG through Windows command prompt (from same Java process as gave the above error..).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions