Stop CMTrace from asking us if we want to use it as the default viewer for log files in WinPE
Please add the following registry keys to WinPE whenever a Boot Image is created/updated to prevent it from asking every time if we want to use CMTrace as the default viewer for log files:
Reg add HKU\Software\Classes\.lo_ /ve /d Log.File /f
Reg add HKU\Software\Classes\.log /ve /d Log.File /f
Reg add HKU\Software\Classes\Log.File\shell\open\command /ve /d "\"x:\sms\bin\i386\CMTrace.exe\" \"%%1\"" /f
This is now available in our 1712 Tech Preview
Docs: Technical Preview and Capabilities in Technical Preview 1712 for System Center Configuration Manager – https://docs.microsoft.com/en-us/sccm/core/get-started/capabilities-in-technical-preview-1712
Thanks for the suggestion and feedback
Wayne ex-1E commented
CMTrace should be bundled with both WinPE and OS and set as default log file viewer!
This would be so nice to have by default, especially as a consultant working on many new customer environments.