Wednesday, January 11, 2012

Xenapp 6.0: "A device attached to the system is not functioning."

We had a user call our help desk stating that they weren't able to log into their XenApp 6.0 published desktop.  It accepted their credentials, started going through the motions of applying group policy, etc., but before the desktop actually appeared, the session disappeared completely.  After doing some testing, I noticed that an error message was popping up, for less than a second, right before the session closed.  With my trigger finger, I was able to snap a screen shot to discover the following error: "A device attached to the system is not functioning."
After poking around the Citrix Delivery Services Console, I discovered the that the user had a Disconnected session out there, that was obviously in a completely cheddared state.  So, when the user was logging in, they were being reconnected to their broken session, and were never able to log in.  After logging off the disconnected session, the user was able to start a brand new session and log in successfully.


Carl Behrent said...

We had this issue on Windows 2008 SP2/XenApp 5, noticed it more we were trying to RDP into the server straight after a reboot. RDP was up because it would start logging in then after a minute logging we could get in.

Matt Augustine said...

Thanks for the input Carl. I actually read something like that happening when I was researching this issue -- very helpful!

php mysql development said...

It's been a pleasure reading your blog. I have bookmarked your website so that I can come back & read more in the future as well.

Anonymous said...

Hi Matt. I'm having the same error but from an ica session. Works fine from RDP. Weird thing is, it happened to 2 of my servers at the same time. Can't find the right article. Tried rebooting the machines but it didn't work. No bad sessions from CDSC. Any idea how to fix this? Thank you.

Windows 2008 SP2/XenApp 5 & R01

Matt Augustine said...

Hi -- thanks for the comment! Unfortunately, off the top of my head I'm not sure what the issue may be. I would imagine you've already done this, but you should make sure you have all of the latest hotfixes installed. Otherwise, you're best bet is opening a ticket with Microsoft and/or Citrix to narrow down the possibilities. Sorry I couldn't be more help!