{"id":719,"date":"2016-05-07T16:46:10","date_gmt":"2016-05-07T14:46:10","guid":{"rendered":"http:\/\/www.rolig.dk\/?p=719"},"modified":"2016-05-07T16:46:10","modified_gmt":"2016-05-07T14:46:10","slug":"add-cmtrace-during-osd","status":"publish","type":"post","link":"https:\/\/rolig.dk\/?p=719","title":{"rendered":"Add \u201ccmtrace\u201d during OSD"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>When I have to look in log files for errors and other things, I always use CMtrace. It is a very good log file viewer. CMtrace is already included in WinPE. But not in windows. So this small .cmd file will add it to windows and then you can use it on all your windows installations.<\/p>\n<p>1. Create a package with \u201cCMTrace.exe\u201d and \u201ccopy_cmtrace.cmd\u201d. You can download the <a href=\"https:\/\/onedrive.live.com\/redir?resid=447ADB7F2AA023F5!10915&amp;authkey=!ABTLDiQQfNwEfnA&amp;ithint=folder%2cps1\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/p>\n<p>2. Create a \u201cRun Command Line\u201d step after WinPE phase in your task sequence with the following settings:<\/p>\n<p><strong>Command line<\/strong>: copy_cmtrace.cmd<\/p>\n<p><a href=\"https:\/\/rolig.dk\/wp-content\/uploads\/2016\/05\/image-24.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2016\/05\/image_thumb-24.png\" width=\"736\" height=\"741\"><\/a><\/p>\n<p>After that you can just type \u201ccmtrace\u201d in windows.<\/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%252F719&amp;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&amp;url=https%3A%2F%2Frolig.dk%2Findex.php%3Frest_route%3D%252Fwp%252Fv2%252Fposts%252F719&amp;title=Add%20%E2%80%9Ccmtrace%E2%80%9D%20during%20OSD\" 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>&nbsp; When I have to look in log files for errors and other things, I always use CMtrace. It is a very good log file viewer. CMtrace is already included in WinPE. But not in windows. So this small .cmd file will add it to windows and then you can use it on all your [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[30],"class_list":["post-719","post","type-post","status-publish","format-standard","hentry","category-sccm","tag-osdsccmcmtrace"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/rolig.dk\/index.php?rest_route=\/wp\/v2\/posts\/719","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=719"}],"version-history":[{"count":0,"href":"https:\/\/rolig.dk\/index.php?rest_route=\/wp\/v2\/posts\/719\/revisions"}],"wp:attachment":[{"href":"https:\/\/rolig.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=719"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rolig.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=719"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rolig.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=719"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}