Skip to main content

How to Determine USB drivers are Configured Correctly on the Online Plug-in

Summary

This article describes how to determine USB drivers are configured correctly on the Online Plug-in.

Background

After installing the Online plug-in, the USB drivers should be loaded in the operating system so that a local USB device appears when connecting to a Virtual Desktop session.

Procedure

  • Using the WinObj tool from sysinternals, you should see an entry under \Device\CtxUsbMonitor. If the ctxusbm is not present, the device driver has not loaded.
  • Verify that the Citrix USB driver files are located in the correct directory in the file system by running the following command at the command prompt:
    dir %Windir%\ctxusbm.sys /s/b
  • Run the following command to determine if the USB driver service shows any errors.
    c:\ >sc query ctxusbm
  • If the USB driver is not loaded and running, you will need to determine what is causing the service from not installing or stopping it from starting.

a. The setupapi logs will determine if any errors occur during the installation of the driver. The logs are located in the directory under %windir%\inf:

c:\windows\inf\setupapi.app.log
c:\windows\inf\setupapi.dev.log
c:\windows\int\setuperr.log (possibly)

In setupapi.app.log I have:
>>>  [SetupQueueCopy]
>>>  Section start 2009/10/16 12:43:45.054
cmd: “C:\Program Files\Citrix\ICA Client\Drivers\usbinst.exe” InstallHinfSection   “DefaultInstall 128 C:\Program Files\Citrix\ICA Client\Drivers\ctxusbm\ctxusbm.inf”
<<<  Section end 2009/10/16 12:43:45.054
<<<  [Exit status: SUCCESS]

flq: CopyFile: ‘C:\Program Files\Citrix\ICA Client\Drivers\ctxusbm\ctxusbm.sys’
flq:       to: ‘C:\Windows\system32\DRIVERS\SET2F28.tmp’
flq: MoveFile: ‘C:\Windows\system32\DRIVERS\SET2F28.tmp’
flq:       to: ‘C:\Windows\system32\DRIVERS\ctxusbm.sys’

>>>  [SetupInstallFromInfSection – DefaultInstall.NT]
>>>  Section start 2009/10/16 12:43:45.234
cmd: “C:\Program Files\Citrix\ICA Client\Drivers\usbinst.exe” InstallHinfSection   “DefaultInstall 128 C:\Program Files\Citrix\ICA Client\Drivers\ctxusbm\ctxusbm.inf”
<<<  Section end 2009/10/16 12:43:45.234
<<<  [Exit status: SUCCESS]

>>>  [SetupInstallFromInfSection – FilterService]
>>>  Section start 2009/10/16 12:43:45.404
cmd: “C:\Program Files\Citrix\ICA Client\Drivers\usbinst.exe” InstallHinfSection   “DefaultInstall 128 C:\Program Files\Citrix\ICA Client\Drivers\ctxusbm\ctxusbm.inf”
<<<  Section end 2009/10/16 12:43:45.404
<<<  [Exit status: SUCCESS]

b. Verify any errors in the event viewer.

c. If no errors appear, you must uninstall then reinstall the online plug-in with setupapi logging set to the maximum verbosity:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\LogLevel
To 0x00007070

http://msdn.microsoft.com/en-us/library/ff550845%28v=VS.85%29.aspx

Leave a Reply

Your email address will not be published. Required fields are marked *

Turn on pictures to see the captcha *