Newb Help: Proper way to list keys/values from Registry

(imported topic written by Rhyvun)

Hello all, new here. And I’m a complete newb when it comes to BigFix.

Up until now I’ve been able to find everything I need by just searching the forums. Low and behold, the simplest of things has stumped me.

I am trying to list registry key names, with their values beside them.

This is what I came up with:

(names of values of it, values of it) of keys “HKCU\Software\Microsoft\notepad” of native registry

It lists what I am looking for, but for each name, it lists every value in the key right beside it like this…

q:

(names

of

values

of

it,

values

of

it
)

of

keys

“HKCU\Software\Microsoft\notepad”

of
native registry

A:
iWindowPosX, 766

A:
iWindowPosX, 89

A:
iWindowPosX, 931

A:
iWindowPosX, 604

A:
iWindowPosX, 1

A:
iWindowPosX, 0

A:
iWindowPosX, 0

A:
iWindowPosX, 0

A:
iWindowPosX, 400

A:
iWindowPosX, 0

A:
iWindowPosX, 0

A:
iWindowPosX, 0

A:
iWindowPosX, 0

A:
iWindowPosX, 3

A:
iWindowPosX, 2

A:
iWindowPosX, 1

A:
iWindowPosX, 34

A:
iWindowPosX, Calibri

A:
iWindowPosX, 110

A:
iWindowPosY, 766

A:
iWindowPosY, 89

A:
iWindowPosY, 931

A:
iWindowPosY, 604

A:
iWindowPosY, 1

A:
iWindowPosY, 0

A:
iWindowPosY, 0

A:
iWindowPosY, 0

A:
iWindowPosY, 400

A:
iWindowPosY, 0

A:
iWindowPosY, 0

A:
iWindowPosY, 0

A:
iWindowPosY, 0

A:
iWindowPosY, 3

A:
iWindowPosY, 2

A:
iWindowPosY, 1

A:
iWindowPosY, 34

A:
iWindowPosY, Calibri

A:
iWindowPosY, 110

And so on and so forth. How do I fix this?

(imported comment written by MattPeterson)

You were close, try this:

q:

(names

of

it,

it
)

of

(values

of

keys

“HKCU\Software\Microsoft\notepad”

of
native registry)

A:
iWindowPosX, 1649

A:
iWindowPosY, 119

A:
iWindowPosDX, 686

A:
iWindowPosDY, 462

T:
0.195 ms

I:
plural ( string, registry key value )

(imported comment written by Rhyvun)

Awesome! Works like a charm… now I just need to figure out why it works.

Thank you!