The Deployment Bunny

OS Deployment, Virtualization, Microsoft based Infrastructure…

  • Archives

  • Meta

Nice to Know – Debug Logging SCVMM 2012 SP1

Posted by Mikael Nystrom on May 10, 2013

It happens that you need to find issues, yes, trust me it happens even for me… and here is how:

To enable VMM debug logging, use the following steps:

  • Create a folder called C:\vmmlogs.
  • Open an elevated PowerShell window on the VMM server or host computer and run the following commands (the second command may wrap in your display):
logman delete VMM
logman create trace VMM -v mmddhhmm -o $env:SystemDrive\VMMlogs\VMMLog_$env:computername.ETL -cnf 01:00:00 -p Microsoft-VirtualMachineManager-Debug -nb 10 250 -bs 16 -max 512 -a
  • Start the trace by typing the following command in the elevated PowerShell window:
logman start vmm
  • Reproduce your issue.
  • As soon as you reproduce your issue, stop the trace by typing:
logman stop vmm
  • Switch to C:\vmmlogs. 
  • To convert the trace, type the command:
Netsh trace convert <filename>
  • Read file, find issue, fix, have a nice day.

The original post from Microsoft is here


One Response to “Nice to Know – Debug Logging SCVMM 2012 SP1”

  1. Reblogged this on and commented:
    Michael over at The Deployment Bunny has posted a good article on SCVMM logs, check it out.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: