Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query 32-bit application data #172

Open
pd4d10 opened this issue Oct 26, 2019 · 4 comments
Open

Query 32-bit application data #172

pd4d10 opened this issue Oct 26, 2019 · 4 comments

Comments

@pd4d10
Copy link

pd4d10 commented Oct 26, 2019

Is there any approach to query 32-bit application data?

Reference: https://docs.microsoft.com/en-us/windows/win32/sysinfo/32-bit-and-64-bit-application-data-in-the-registry

@shiftkey
Copy link
Member

Not currently, and it looks like we're always requesting the 64-bit key:

registry-js/src/main.cc

Lines 200 to 205 in b8443c1

LONG openKey = RegOpenKeyEx(
first,
subkey,
0,
KEY_READ | KEY_WOW64_64KEY,
&hCurrentKey);

@CyberSecDemon
Copy link

was this ever resolved?

@sergiou87
Copy link
Member

Nope, as far as I can see the implementation is still the same in that regard.

@CyberSecDemon
Copy link

CyberSecDemon commented May 24, 2021

Yeah I checked after posting I've reworked this for 32 as well in our codebase. Also another issue I've resolved as well, went ahead and added RegNotifyChangeKeyValue. May request PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants