IncentivesPro Forum Index IncentivesPro
Leading USB solutions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[SOLVED] URGENT: USB Redirector prevents login through RDP

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IncentivesPro Forum Index -> USB Redirector
View previous topic :: View next topic  
Author Message
leomylonas



Joined: 28 Nov 2013
Posts: 15

PostPosted: Mon Jun 29, 2015 9:22 am    Post subject: [SOLVED] URGENT: USB Redirector prevents login through RDP Reply with quote

Hi Guys,
This is a really odd issues that I urgently need to solve. First, a bit of background.

We're running RDS (session based) on Windows Server 2012 with Linux clients. (USB Redirector on both the server and the clients are up-to-date)

Yesterday out of nowhere, our users couldn't log in any more. The RDP connection would initiate, but the user would never see the normal "loading your profile" thing you see when logging in to windows. Instead, it hung on a black screen for about 10 seconds, the then connection was terminated.

I was able to log into the server's console directly, but I noticed that part of our login script was hanging (in particular, the bit that set's the user's default printer based on the computer they're logging in from) I figured this wasn't important, so I just terminated it and kept logging in.

Long story short, sifting through the event log, I got the impression there were issues with some sort of USB driver. My first thought was USB Redirector, and sure enough, as soon as I disabled the USB Redirector service, the users were able to log in again! I logged out and back in again (still at the console) and this time my login script didn't hang at the printers. It got me thinking, so I enabled the service again and logged out and in. Hmm, the login script hang at the printers, and the other users could no longer log on again.

So, obviously, there's something really odd going on. Nothing changed from the day before when everything was working, so I have no idea what is happening.

Here's where it gets really odd though. This has happened once before, perhaps about 6 months ago. I was able to solve it however. At the time, I was not running the latest version of USB Redirector on either the clients or server. I updated them both, and suddenly everything was working again. I went to try that again this time, but everything was already at the latest version. I then thought it might simply be the act of reinstalling, so I completely removed USB Redirector from the server (including all settings/user configuration/etc) and reinstalled. Unfortunately, still no go.

I have had to keep the USB Redirector service disabled in the mean time, since our users obviously need to be able to work, but they can't go on too much longer without their USB's.

I have since (stupidly) cleared the event log, so I don't have any errors to show you, but they were all something about "user driver" at the "critical" level ???

I need a solution to this ASAP, so all help is appreciated. Thanks!
Back to top
View user's profile Send private message
Peter
Site Admin


Joined: 01 Aug 2007
Posts: 653

PostPosted: Mon Jun 29, 2015 12:39 pm    Post subject: Reply with quote

Do you use generic USB Redirector on the server? Or is it RDP Edition or TS Edition?
Does it happen for all users or just one of them?
Back to top
View user's profile Send private message
leomylonas



Joined: 28 Nov 2013
Posts: 15

PostPosted: Mon Jun 29, 2015 9:29 pm    Post subject: Reply with quote

Peter wrote:
Do you use generic USB Redirector on the server? Or is it RDP Edition or TS Edition?
Does it happen for all users or just one of them?


Hi Peter,
Just plain old generic USB Redirector. We used to use RDP (or TS) edition a few years ago, but the speed of the USB through the RDP protocol was not fast enough, so we went to the normal one (which has worked fine for many years)
It happens for all uses, including admins. As soon as the USB Redirector service is enabled, no one can log in at all through RDP. (And there's that strange issue with the login script hanging on printers when the service IS enabled and logging in locally at the server's console - obviously a related thing)
Back to top
View user's profile Send private message
Peter
Site Admin


Joined: 01 Aug 2007
Posts: 653

PostPosted: Tue Jun 30, 2015 9:04 am    Post subject: Reply with quote

I guess you are connecting some USB devices at logon? Otherwise there is no relation between USB Redirector and RDP.
Back to top
View user's profile Send private message
leomylonas



Joined: 28 Nov 2013
Posts: 15

PostPosted: Tue Jun 30, 2015 11:56 am    Post subject: Reply with quote

Peter wrote:
I guess you are connecting some USB devices at logon? Otherwise there is no relation between USB Redirector and RDP.


Not exactly. When a user logs in, the login script gets the client's IP address and adds it to the USB Redirector client running on the server via the command line. That being said, it is set to auto-sharing mode, so whenever a user is logged on, any USB they plug in will automatically show up.

Perhaps you're right and it's not directly related to RDP, but even if it is to do with connecting to a USB device, it's still an issue with USB Redirector, is it not?

I will have a bit of a play with the connecting and auto sharing and see what I come up with, and I'll report back. In the mean time, any thoughts on what may be causing (potentially connecting to USB device) to cause issues?
Back to top
View user's profile Send private message
Peter
Site Admin


Joined: 01 Aug 2007
Posts: 653

PostPosted: Tue Jun 30, 2015 2:25 pm    Post subject: Reply with quote

Could you please try to remove that part that adds IP address to USB Redirector to see if it makes any difference?
After that please try to add the IP address manually through the gui and check if it connects.
Back to top
View user's profile Send private message
leomylonas



Joined: 28 Nov 2013
Posts: 15

PostPosted: Sat Jul 04, 2015 6:19 am    Post subject: Reply with quote

Peter wrote:
Could you please try to remove that part that adds IP address to USB Redirector to see if it makes any difference?
After that please try to add the IP address manually through the gui and check if it connects.


After a bunch of tests, it looks like it may have been something to do with adding and connecting to the server via login script. I removed it and manually added all the usb servers, and so far so good. The real test will be on Monday morning when all my users are trying to log in though, so I'll keep you posted.
Back to top
View user's profile Send private message
Peter
Site Admin


Joined: 01 Aug 2007
Posts: 653

PostPosted: Mon Jul 06, 2015 2:57 pm    Post subject: Reply with quote

Any news?
Back to top
View user's profile Send private message
leomylonas



Joined: 28 Nov 2013
Posts: 15

PostPosted: Mon Jul 06, 2015 8:05 pm    Post subject: Reply with quote

Peter wrote:
Any news?


So far no issues! Thanks for your assistance, mate!
Leo
Back to top
View user's profile Send private message
Peter
Site Admin


Joined: 01 Aug 2007
Posts: 653

PostPosted: Mon Aug 24, 2015 7:18 am    Post subject: Reply with quote

Thanks for feedback, Leo. Marking this as resolved...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    IncentivesPro Forum Index -> USB Redirector All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group