cmbc
December 6, 2019, 6:26pm
1
Hello,
i have set a fixlet that should write a DWORD but i have made a mistake and it write a REG_SZ.
Now i would like to create relevance that search for this particular key value but must be relevant only if found and is a REG_SZ.
Could someone help me on this?
Thanks you
Aram
December 6, 2019, 6:31pm
2
The following inspector can be used to return a registry value type:
type of <registry key value> : registry key value type
Here’s an example:
(name of it, type of it, it) of value "Version" of key "HKLM\Software\BigFix\EnterpriseClient" of registry
And here’s one that returns true if a given value is of type REG_SZ:
type of value "Version" of key "HKLM\Software\BigFix\EnterpriseClient" of registry = "REG_SZ"
And another that has some additional error handling:
exists value "Version" whose (type of it = "REG_SZ") of keys "HKLM\Software\BigFix\EnterpriseClient" of registry