Search the VMware Knowledge Base (KB)
View by Article ID

Enabling ThinPrint logging in VMware View Manager (2004001)

  • 5 Ratings

Purpose

This article provides steps to enable logging for ThinPrint. Enabling ThinPrint logging helps you to troubleshoot issues with ThinPrint.

Note: Implement this procedure only when you have ThinPrint issues.

Resolution

Note: These procedures modify the Windows registry. Before making any registry modifications, ensure that you have a current and valid backup of the registry and the virtual machine. For more information on backing up and restoring the registry, see Microsoft Knowledge Base article 136393.

Note: The preceding link was correct as of February 19, 2014. If you find the link is broken, provide feedback and a VMware employee will update the link.

To enable TPAutoConnect and ThinPrint logging on the VMware View Desktop machine:
  1. Click Start > Run, type regedit.exe, and click OK. The Registry Editor window opens.
  2. Navigate to the HKLM\SOFTWARE\ThinPrint\TPAutoConnect key.
  3. Create a new String value and name it DebugFile.
  4. Modify DebugFile and set its Value data to C:\\tpautoconnect.log

    Note: Ensure that you include the two backslashes so that the log file is created at the root of the C:\ drive.

  5. Create a new DWORD value and name it DebugLevel.
  6. Modify DebugLevel and set its Value data to 000000ff.
  7. Navigate to the HKLM\SOFTWARE\ThinPrint\TPVMMon key.
  8. Create a new String value and name it DebugFile.
  9. Modify DebugFile and set its Value data to C:\\thinprint.log.
  10. Create a new DWORD value and name it DebugLevel.
  11. Modify DebugLevel and set its Value data to 000000ff.
  12. Create a new DWORD value and name it DebugMode.
  13. Modify DebugMode and set its Value data to 00000003.
  14. Restart the TP AutoConnection Service for the changes to take effect.

    To restart the service:
    1. Click Start > Run, type services.msc, and click OK.
    2. Scroll down and locate the TP AutoConnection service.
    3. Right-click TP AutoConnection and click Restart.

To enable ThinPrint logging on the VMware View Client system:
  1. Click Start > Run, type regedit.exe, and click OK. The Registry Editor window opens.
  2. Navigate to the HKLM\SOFTWARE\ThinPrint\Client key.
  3. Create a new String value and name it DebugFile.
  4. Modify DebugFile and set its Value data to C:\\thinprintclient.log.
  5. Create a new DWORD value and name it DebugLevel.
  6. Modify DebugLevel and set its Value data to 000000ff.
  7. Create a new DWORD value and name it DebugMode.
  8. Modify DebugMode and set its Value data to 00000003.
  9. Navigate to the HKLM\SOFTWARE\ThinPrint\TPViewture key.
  10. Create a new String value and name it DebugFile.
  11. Modify DebugFile and set its Value data to C:\\tpviewture.log.
  12. Create a new DWORD value and name it DebugLevel.
  13. Modify DebugLevel and set its Value data to 000000ff.

    Note: You may have to reboot the View Client system for the changes to take effect.
You now have four ThinPrint log files created in C:\. In this example, the log files are named tpautoconnect.log, thinprint.log, thinprintclient.log, and tpviewture.log.

Additional Information

You can also download and use the ThinPrint Diagnostic Utility without modifying any registry key. This utility allows you to create logs from the client and the agent.

Alternatively, to enable or disable ThinPrint logging, you can use the batch and script files available in the 2004001_ThinPrint_Logging_VMware.zip file attached to this article:
  • EnableLogging.cmd
  • DisableLogging.cmd
  • Fileversion.vbs
Note: For instructions on using these batch and script files, read the included Readme.txt file.

Run the ThinPrint File Version 0.2.0 executable, and save the resulting file in the same directory as the log files.

Note: The preceding link was correct as of February 19, 2014. If you find the link is broken, provide feedback and a VMware employee will update the link.

Update History

08/30/2012 - Updated .zip file with new version of EnableLogging and DisableLogging for use with both Client and Agent machines 03/26/2013 - Added Horizon View to products 08/16/2013 - Added ThinPrint Diagnostic Utility information to additional information 02/19/2014 - Added Horizon View 5.3 to products

Attachments

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 5 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 5 Ratings
Actions
KB: