Quick Tip: Enable server-side log storage in MDT for easier troubleshooting

Probably the most important thing about troubleshooting anything is having the data on the process. Troubleshooting Task Sequences in Microsoft Deployment Toolkit can be tricky, and has, in the past stumped me for days because I didn’t have, or couldn’t find the right data on what was going wrong. Luckily MDT does have logs – lots of them! During a task sequence they’re kept on the client and by default they’re deleted when the deployment finishes, even if it’s unsuccessful.

Here’s how to configure MDT to copy the logs from the client device to the deployment share.

  • Go to the Deployment Workbench and right click on the deployment share you want to enable the copying of the logs for.
  • Select Properties
  • Go to Rules tab
  • Enter: SLShare=\\mdt-server\deploymentshare$\Logs under the [Default] section
  • Click OK to save the changes
  • Browse to the deployment share and create a folder named Logs.

Now when a Task Sequence completes, the logs from each section of the Task Sequence will be copied here, under a folder of the name of the device.

Be sure to download the System Center 2012 R2 Configuration Manager Toolkit [https://www.microsoft.com/en-us/download/details.aspx?id=50012] and install the Configuration Manager Trace Log Tool, (under Client Tools during the install) which makes going through the logs much easier.

-Mike

Follow Mike on Twitter: @Digressive

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s