Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Troubleshooting System Center Configuration Manager

You're reading from   Troubleshooting System Center Configuration Manager

Arrow left icon
Product type Paperback
Published in Mar 2016
Publisher
ISBN-13 9781782174844
Length 248 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Gerry Hampson Gerry Hampson
Author Profile Icon Gerry Hampson
Gerry Hampson
Peter Egerton Peter Egerton
Author Profile Icon Peter Egerton
Peter Egerton
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. The Configuration Manager Troubleshooting Toolkit FREE CHAPTER 2. Configuration Manager Monitoring Workspace and Log Files 3. Troubleshooting Configuration Manager Clients 4. Troubleshooting Hierarchies and Site Servers 5. Troubleshooting Management Points and Distribution Points 6. Troubleshooting Other Roles 7. Troubleshooting Common Tasks 8. Disaster Recovery 9. Avoiding Trouble Index

Log file viewer

Those who have spent any time at all working with Configuration Manager will know that it contains quite a few log files, literally hundreds. We will go through the log files in more detail in the next chapter, but we will need to use something to read the logs. We can use something as simple as Notepad and to an extent there are some advantages with using this as it is a no-nonsense text reader. Having said that, generally speaking, most people want a little more when it comes to reading Configuration Manager logs as they can often be long, complex, and frequently refreshed. We have already seen one example of a log viewer as part of the Configuration Manager Support Center, but Configuration Manager includes its own log file viewer that is tailored to the needs of troubleshooting the product logs. In Configuration Manager 2012 versions, we are provided with CMTrace.exe; previous versions provided us with Trace32.exe or SMSTrace.exe. They are very similar tools but we will highlight some of the features of CMTrace, which is the more modern of the two. To begin with, we can typically find CMTrace at the following locations:

  • %ProgramFiles%\Microsoft Configuration manager\Tools\CMTrace.exe
  • <INSTALLATION MEDIA>\SMSSETUP\TOOLS\CMTrace.exe

Those who are running Configuration Manager 2012 R2 and up also have CMTrace available out of the box in WinPE when running Operating System Deployments. We can simply hit F8 if we have command support enabled in the WinPE image and type CMTrace. This can also be added to the later stages of a task sequence when running in the full operating system by copying the file onto the hard disk. The single biggest advantage of using CMTrace over a standard text reader is that it is a tail reader that by default is refreshed every 500 milliseconds, or, in others words, it will update the window as new lines are logged in the log file; we also have the functionality to pause the file too. Other functionality of CMTrace is to allow filtering of the log based on certain conditions and there is also a highlight feature that can highlight a whole line in yellow if a word we are looking for is found on the line. The program automatically highlights lines if certain words are found such as error or warning, which is useful but can also be a red herring at times, so this is something to be aware of if we come across logs with these keywords. We can also merge log files, and this is particularly useful when looking at time critical incidents as we can analyze data from multiple sources in the order they happened and understand the flow of information between the different components.

You have been reading a chapter from
Troubleshooting System Center Configuration Manager
Published in: Mar 2016
Publisher:
ISBN-13: 9781782174844
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £16.99/month. Cancel anytime