Symptoms
Slow logonThe USB dropdown in the horizon client user interface reports the message
USB redirection is not available for this desktop
The agent Debug logfiles will contain a message which includes the following statement.Reference: Location of Horizon (VDM) log files ( 1027744 )
"Can't get a valid sessionId within 60 seconds for channel"
Purpose
Highlight a workaround for USB redirection failures caused by login processes to the virtual desktop taking longer than 60 seconds
Cause
A 60 second hard timeout for the Horizon agent code to process the sessionID value.When the login process is delayed this timeout triggers and disables USB redirection.This timeout can be configured to a higher value with a maximum of 200 seconds.
Note: Environmental Conditions such as The processing of GPO's, Appstacks Attachments, UEM, etc can potentially trigger this timeout.
Impact / Risks
User has no USB redirection available in the desktop
Resolution
Currently there is no permanent solution to this issue.
Workaround
Set the following registry key in the agent to increase the timeout incrementally
If this registry key path does not exist by default, please create it firstNumerical values is in seconds.
HKLM\Software\VMware, Inc.\VMware VDM\USB
WaitForSessionIdTimeout (REG_DWORD)
Note: The highest timeout value that can be set is 200. Please don't exceed this value.