SOLVEDSCCM Query to check registry key

Samad Koskesh

Samad Koskesh

New Member
3
0
1
Hey all, how can I create a query to check a registry key in SCCM 2211 ?
I do not want to do this with Configuration Baseline or CM Pivot

Thanks in advance
Youssef Saad

Youssef Saad

Well-Known Member
Staff member
668
76
28
Like how you have different queries for different items, like for example, query to generate all computer that running Windows 10 22H2, I want a query for all computer that do have that key and the ones that don't have it
There are multiple ways to get registry keys values, using a Configuration Item & Baseline, CMPivot etc.
Can you tell us what is your next step after getting those two outputs?
H

Hackmuss

Member
8
3
3
I want to be able to have this saved so everytim I run it, it would give me list of all computers that don't have it, can I do this with CM Pivot?
Sure - you just need to add it as a favourite and it saves it for next time. Input the query, then click the big green '+' icon to save as a favourite and give it a title. Next time you run CMPivot, just click the little white star icon on the toolbar and it shows your favourites list.
Here's the query you need - just change the first line and the property value to reflect the key you are interested in:
Registry('HKLM:\HARDWARE\DESCRIPTION\System\BIOS')
| where Property == 'SystemProductName'

1683617888971.png
  • Like
Reactions: Samad Koskesh

最新的文章

Forum statistics

Threads
5,723
Messages
22,305
Members
12,505
Latest member
Squuiid