{"id":1780,"date":"2020-12-16T13:33:01","date_gmt":"2020-12-16T13:33:01","guid":{"rendered":"http:\/\/www.rolig.dk\/?p=1780"},"modified":"2021-03-04T11:45:40","modified_gmt":"2021-03-04T11:45:40","slug":"collect-registry-keys","status":"publish","type":"post","link":"https:\/\/rolig.dk\/?p=1780","title":{"rendered":"Collect registry keys"},"content":{"rendered":"\n<p>To collect registry keys from a client, you will need to expand the hardware inventory. You can do that the following way:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Download <a href=\"https:\/\/rolig.dk\/wp-content\/uploads\/2021\/03\/RegKeyToMOF_v36.zip\">RegKeyToMof<\/a> from Technet gallery<\/li><li>Create the registry keys that you want to collect<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"495\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-19.png\" alt=\"\" class=\"wp-image-1782\" srcset=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-19.png 680w, https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-19-300x218.png 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\"><li>Start <strong>RegKeyToMof<\/strong> on the pc\/server where you created the registry keys<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-1-1024x702.png\" alt=\"\" class=\"wp-image-1783\"\/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\"><li>Browse to the registry key that you have created and mark them. Make sure that RegKeyToMof have the following selected.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-3-1024x578.png\" alt=\"\" class=\"wp-image-1788\"\/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\"><li>Click <strong>Save MOF<\/strong> and <strong>browse<\/strong> to a location where you want to save save the mof file. the file wall be called <strong>SMSdef.mof<\/strong>. You can rename it if you want.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"439\" height=\"423\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-13-1.png\" alt=\"\" class=\"wp-image-1802\" srcset=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-13-1.png 439w, https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-13-1-300x289.png 300w\" sizes=\"auto, (max-width: 439px) 100vw, 439px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"6\"><li>Copy the text in RegKeyToMof. <\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"797\" height=\"272\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-7-1.png\" alt=\"\" class=\"wp-image-1792\" srcset=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-7-1.png 797w, https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-7-1-300x102.png 300w, https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-7-1-768x262.png 768w\" sizes=\"auto, (max-width: 797px) 100vw, 797px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"7\"><li>Browse to %\/Microsoft Configuration Manager\/inboxes\/clifiles.src\/hinv and open <strong>configuration.mof<\/strong> in Notepad.<br>A good idea it to make a backup of the file before you edit it.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"754\" height=\"188\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-4-1.png\" alt=\"\" class=\"wp-image-1789\" srcset=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-4-1.png 754w, https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-4-1-300x75.png 300w\" sizes=\"auto, (max-width: 754px) 100vw, 754px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"8\"><li>Scroll to the bottom of the document and past the clipart text after the section \/\/Added extensions start. And save the file.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"873\" height=\"379\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-8-1.png\" alt=\"\" class=\"wp-image-1793\" srcset=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-8-1.png 873w, https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-8-1-300x130.png 300w, https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-8-1-768x333.png 768w\" sizes=\"auto, (max-width: 873px) 100vw, 873px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"9\"><li>Open the SCCM console and browse to <strong>Administration -&gt; Client Settings -&gt; <\/strong>Right click and choose<strong> properties <\/strong>on Default Client Settings<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"719\" height=\"206\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-9-1.png\" alt=\"\" class=\"wp-image-1796\" srcset=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-9-1.png 719w, https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-9-1-300x86.png 300w\" sizes=\"auto, (max-width: 719px) 100vw, 719px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"10\"><li>Click <strong>Hardware Inventory<\/strong> -&gt; click <strong>Set Classes<\/strong><\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"740\" height=\"425\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-10-1.png\" alt=\"\" class=\"wp-image-1798\" srcset=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-10-1.png 740w, https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-10-1-300x172.png 300w\" sizes=\"auto, (max-width: 740px) 100vw, 740px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"11\"><li>Click <strong>Import<\/strong> -&gt; <strong>browse<\/strong> to the mof file -&gt; click <strong>Open<\/strong><\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"761\" height=\"555\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-14-1.png\" alt=\"\" class=\"wp-image-1805\" srcset=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-14-1.png 761w, https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-14-1-300x219.png 300w\" sizes=\"auto, (max-width: 761px) 100vw, 761px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"12\"><li>Click <strong>Import<\/strong><\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"536\" height=\"593\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-15-1.png\" alt=\"\" class=\"wp-image-1806\" srcset=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-15-1.png 536w, https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-15-1-271x300.png 271w\" sizes=\"auto, (max-width: 536px) 100vw, 536px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"13\"><li>Select <strong>WaaS<\/strong> and click <strong>OK<\/strong><\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"686\" height=\"593\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-16-1.png\" alt=\"\" class=\"wp-image-1807\" srcset=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-16-1.png 686w, https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-16-1-300x259.png 300w\" sizes=\"auto, (max-width: 686px) 100vw, 686px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"14\"><li>Click <strong>OK<\/strong> to the default settings<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"778\" height=\"723\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-17-1.png\" alt=\"\" class=\"wp-image-1808\" srcset=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-17-1.png 778w, https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-17-1-300x279.png 300w, https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-17-1-768x714.png 768w\" sizes=\"auto, (max-width: 778px) 100vw, 778px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"15\"><li>Go to one of you client and initiate a <strong>Machine policy retrivel<\/strong>. After that the new rergistry key will be collected next time the hardware inventory runs.<br><\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2020\/12\/image-18-1024x213.png\" alt=\"\" class=\"wp-image-1813\"\/><\/figure>\n\n\n\n<p><\/p>\n<a class=\"synved-social-button synved-social-button-share synved-social-size-48 synved-social-resolution-single synved-social-provider-twitter nolightbox\" data-provider=\"twitter\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Twitter\" href=\"https:\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Frolig.dk%2Findex.php%3Frest_route%3D%252Fwp%252Fv2%252Fposts%252F1780&#038;text=Hey%20check%20this%20out\" style=\"font-size: 0px;width:48px;height:48px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"twitter\" title=\"Share on Twitter\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"48\" height=\"48\" style=\"display: inline;width:48px;height:48px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/rolig.dk\/wp-content\/plugins\/social-media-feather\/synved-social\/addons\/extra-icons\/image\/social\/circle\/96x96\/twitter.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-48 synved-social-resolution-single synved-social-provider-linkedin nolightbox\" data-provider=\"linkedin\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Linkedin\" href=\"https:\/\/www.linkedin.com\/shareArticle?mini=true&#038;url=https%3A%2F%2Frolig.dk%2Findex.php%3Frest_route%3D%252Fwp%252Fv2%252Fposts%252F1780&#038;title=Collect%20registry%20keys\" style=\"font-size: 0px;width:48px;height:48px;margin:0;margin-bottom:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"linkedin\" title=\"Share on Linkedin\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"48\" height=\"48\" style=\"display: inline;width:48px;height:48px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/rolig.dk\/wp-content\/plugins\/social-media-feather\/synved-social\/addons\/extra-icons\/image\/social\/circle\/96x96\/linkedin.png\" \/><\/a>","protected":false},"excerpt":{"rendered":"<p>To collect registry keys from a client, you will need to expand the hardware inventory. You can do that the following way: Download RegKeyToMof from Technet gallery Create the registry keys that you want to collect Start RegKeyToMof on the pc\/server where you created the registry keys Browse to the registry key that you have [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1780","post","type-post","status-publish","format-standard","hentry","category-sccm"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/rolig.dk\/index.php?rest_route=\/wp\/v2\/posts\/1780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rolig.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rolig.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rolig.dk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rolig.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1780"}],"version-history":[{"count":0,"href":"https:\/\/rolig.dk\/index.php?rest_route=\/wp\/v2\/posts\/1780\/revisions"}],"wp:attachment":[{"href":"https:\/\/rolig.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rolig.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rolig.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}