{"id":929,"date":"2013-09-24T19:14:05","date_gmt":"2013-09-24T17:14:05","guid":{"rendered":"http:\/\/sccmfaq.wordpress.com\/?p=929"},"modified":"2013-09-24T19:14:05","modified_gmt":"2013-09-24T17:14:05","slug":"sccm-2012-extend-value-list-in-query","status":"publish","type":"post","link":"https:\/\/blog.hosebei.ch\/?p=929","title":{"rendered":"SCCM 2012 &#8211; Extend Value List in Query"},"content":{"rendered":"<p>Did you ever had the Problem, that when you created a query, let&#8217;s say you wanted to know, if the Software inventory has found a executable named zune.exe. So you go to your System Center 2012 Configuration Manager Console and create a new query by navigate to &#8220;MonitoringQueriesCreate Query&#8221;:<!--more--><br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/09\/query_list01.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-933\" alt=\"Create Query\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/09\/query_list01.png?w=200\" width=\"200\" height=\"300\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list01.png 307w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list01-200x300.png 200w\" sizes=\"auto, (max-width: 200px) 100vw, 200px\" \/><\/a>The\u00a0&#8220;Create Query Wizard&#8221; appears, click on &#8220;Edit Query Statement&#8221;:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/09\/query_list02.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-934\" alt=\"Create Query Wizard\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/09\/query_list02.png?w=300\" width=\"300\" height=\"254\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list02.png 715w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list02-300x254.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nOn the tab &#8220;General&#8221; click on the star, and select &#8220;Name&#8221; from &#8220;System resource, and click &#8220;OK&#8221; thrice:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/09\/query_list03.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-935\" alt=\"Query_List03\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/09\/query_list03.png?w=300\" width=\"300\" height=\"160\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list03.png 1177w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list03-300x160.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list03-1024x547.png 1024w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list03-768x410.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nThe Gerenal Tab should then Looks like this:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/09\/query_list04.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-936\" alt=\"Query - General filled\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/09\/query_list04.png?w=268\" width=\"268\" height=\"300\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list04.png 416w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list04-268x300.png 268w\" sizes=\"auto, (max-width: 268px) 100vw, 268px\" \/><\/a><br \/>\nThen Change to the tab &#8220;Criteria&#8221;, also click on the star and create a new criterion by clicking on &#8220;Select&#8230;&#8221; and choose &#8220;Software Files&#8221; and &#8220;File Name&#8221;:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/09\/query_list05.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-938\" alt=\"Query - Criteria\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/09\/query_list05.png?w=300\" width=\"300\" height=\"167\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list05.png 1061w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list05-300x167.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list05-1024x571.png 1024w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list05-768x429.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nClick OK and choose the Operator, in my case a &#8220;is Like&#8221; Operator is good enough, because I want to see all executables starting with the letter Z:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/09\/query_list06.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-939\" alt=\"Query - Criterion Properties\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/09\/query_list06.png?w=266\" width=\"266\" height=\"300\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list06.png 415w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list06-266x300.png 266w\" sizes=\"auto, (max-width: 266px) 100vw, 266px\" \/><\/a><br \/>\nBut now lets check, if there are some executables starting with letter Z before I use the query. I can simply click on &#8220;Value&#8230;&#8221; to see all the possible Values:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/09\/query_list071.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-941\" alt=\"Query - Value List open\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/09\/query_list071.png?w=259\" width=\"259\" height=\"300\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list071.png 498w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list071-259x300.png 259w\" sizes=\"auto, (max-width: 259px) 100vw, 259px\" \/><\/a><br \/>\nAs you might recognize on the Print Screen, the following Error Message appears:<\/p>\n<blockquote><p>The operation was completed successfully, but the information list has been truncated to the maximum configured count of 2000 items.<br \/>\nFor Information about how to increase the Maximum result value, see Configuration Manager Help<\/p><\/blockquote>\n<p>This means, that not all values are shown in the following box, as I can see, there is no executable starting with Z, but those are only missing in this GUI, not in the database:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/09\/query_list08.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-943\" alt=\"Query - Value Box\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/09\/query_list08.png?w=300\" width=\"300\" height=\"248\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list08.png 396w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list08-300x248.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nNow, you could look for the SCCM help, or just follow this simple step:<br \/>\nAdd a DWORD to the key HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\ConfigMgr10\\AdminUI\\QueryProcessors with Name &#8220;Valuelimit&#8221; and a Value of HEX 20000, on 32-bit Systems, the Key is HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\ConfigMgr10\\AdminUI\\QueryProcessors:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/09\/query_list09.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-944\" alt=\"Registry Value\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/09\/query_list09.png?w=300\" width=\"300\" height=\"160\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list09.png 702w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list09-300x161.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nAfter this, you&#8217;re able to see the whole list, and also the message isn&#8217;t shown anymore:<br \/>\n<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/09\/query_list10.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2013\/09\/query_list10.png?w=300\" alt=\"Query List full\" width=\"300\" height=\"247\" class=\"aligncenter size-medium wp-image-946\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list10.png 395w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2013\/09\/query_list10-300x248.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>hope this helps \ud83d\ude42<br \/>\nMartin<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Did you ever had the Problem, that when you created a query, let&#8217;s say you wanted to know, if the Software inventory has found a executable named zune.exe. So you go to your System Center 2012 Configuration Manager Console and create a new query by navigate to &#8220;MonitoringQueriesCreate Query&#8221;:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,31,36],"tags":[],"class_list":["post-929","post","type-post","status-publish","format-standard","hentry","category-general","category-query","category-setup"],"_links":{"self":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts\/929","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=929"}],"version-history":[{"count":0,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts\/929\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=929"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=929"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=929"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}