I have created a analysis with the relevance of:
(value “PagingFiles” of key “HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management” of native registry)
I am getting the first result, but not subsequent. I’ve read other posts that I should be seeing
"You will get a string with all values in MULTI_SZ concatenated with %00 something like “value1%00value2%00value3%00%00”."
I’m expecting a result of 2 page files, but I’m only receiving 1. What do I need to add to get the analysis to result in all values?
Thanks for sharing your code so far. It is helpful if you use the code tool, </>, in the toolbar, when pasting code.
MULTI_SZ can be tricky, with the strings being Zero Separated.
You might give this a try to separate the strings in relevance
q: substrings separated by "%00" of (it as string) of value "PagingFiles" of key "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" of native registry
A: ?:\pagefile.sys
A:
A:
And it you want to drop the nulls:
q: substrings separated by "%00" whose (it != "") of (it as string) of value "PagingFiles" of key "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" of native registry
A: ?:\pagefile.sys
I only have one page file on my system and so only one result here to test with.
If the above does not solve it for you, could you sent a shot of your registry?
We had an improper template get deployed to many VMs, so I was hoping to use an analysis to locate what needs to be addressed. I have another use case for HKLM\SYSTEM\CurrentControlSet\Control\Session Manager with key BootExecute REG_MULTI_SZ. That one will likely be even more complicated as there are many more values in that string.
Ok, same result. Now attempting Fixlet Debugger. First time I’ve ever launched that. When I enter that into the QnA and try the various evaluate methods, I’m not getting any answers. Just shows Evaluation Time 0.000 ms.
Ah, I see you need Q: . And bummer. I was able to query my local machine, but using API, not what I want.
E: API Request Failed: The current license does not allow the usage of BigFix Query
I took a look at this Analysis (https:// bigfix. me/analysis/details/2994592), and then applied some concatenation to it, and it’s looking pretty good.
(concatenations ", " whose(it != "") of string values of selects "InitialSize from Win32_PageFileSetting" of wmi)