This article describes how to collect startup traces for Profile management on a Workstation OS, using the Microsoft utility Tracelog.
Profile management installed on Microsoft Windows XP, Windows Vista, or Windows 7
Tracelog.exe utility from Microsoft for the above Windows versions
- You must have the tracelog.exe utility from Microsoft installed on the machine. Details of where to download this tool are in the More Information section at the bottom of this article.
- Extract the .ctl and .cmd files from the attached zip archive in the same directory as the tracelog.exe tool.
- Customize the upm-tracelog-startup.cmd file provided, if instructed by Citrix Technical Support.
- Information about parameters used in this file:
UPM_CDF_Tracing.ctl is the ctl file from step 2
upm-cdf-log.etl the name and location of the resulting trace file.
Level 5 should capture enough to troubleshoot most issues.
For more complex issues, consider using -level 16, however, it results in a much larger generated .etl file. The size of the trace file generated by the provided script is limited to 200 Megabytes.
- Using the Group Policy Editor, gpedit.msc, create a policy to run the .cmd file created in Step 2 at machine startup.
- Reboot the machine.
- With any user configured to use Profile Management, log on and then log off.
- Log on with an administrator account and from a command prompt run the shutdown script upm-tracelog-shutdown.cmd provided to stop tracing.
- Check that the .etl trace file was created to capture service startup, logon and logoff processing.
Under certain circumstances, it might be necessary to add the full paths to the items in the scripts.
Also, the .etl trace file must be created on a drive that persists across reboots for Provisioning Services and XenDesktop environments.
Additional troubleshooting steps for Profile management are located on the relevant eDocs pages.
Refer MSDN documentation for more information on Microsoft Tracelog.exe tool.
Download Locations for Trace Log
Windows SDK for Windows XP and Windows 2003: http://www.microsoft.com/en-in/download/details.aspx?id=6510
Windows SDK for Windows Vista, Windows 7 and Windows Server 2008 / Windows Server 2008 R2: http://www.microsoft.com/en-us/download/details.aspx?id=3138