User with assigned application can't reconect

Get help with troubleshooting issues
Post Reply
stevek
Posts: 25
Joined: Thu Oct 06, 2016 11:22 am

User with assigned application can't reconect

Post by stevek » Thu Oct 06, 2016 11:38 am

Hi,

Trying the latest version ,9.50.9.22 in order to upgrade, for better performance.

When the user connects to desktop the system working fine
and reconnects also fine.

When the user have an assigned application (eg Notepad) the first connection completed successfully
but when trying to reconnects the user gets a black screen.

In the system the user looks like connected but in users screen the is no application (Notepad)
just a black screen.

The Windows system is a Windows 2012 R2 server a new installation with all updates just for this test
with nothing else installed at it.

Best regards,
Steve

hansen
Posts: 137
Joined: Wed Dec 02, 2015 12:23 am

Re: User with assigned application can't reconect

Post by hansen » Thu Oct 06, 2016 6:06 pm

I'm not sure if I understand you correctly, but don't think this is a TSplus issue.
Microsoft made a horrible mistake with some updates since July, which is causing havoc on 2012R2 servers running RDP:
https://social.technet.microsoft.com/Fo ... inserverTS
There's no solution yet, even though some people write about uninstalling specific updates, it's still a problem. Microsoft has acknowledged the problem and is working on a fix.

User avatar
admin
Site Admin
Posts: 1649
Joined: Wed Sep 05, 2012 6:38 am

Re: User with assigned application can't reconect

Post by admin » Fri Oct 07, 2016 5:30 pm

Hello,

Please check that these setting below have not changed since the update.
In the AdminTool, click on the Server tile and click on "Group Policies (GPO)"

Check the "Allow users reconnection when sessions are disconnected."

You can also set up a timeout for disconnected sessions which will cause a disconnected user session to automatically logoff after a while.

If you want your disconnected sessions to terminate quickly, type in 0.5 for 30 sec. Enter 0 if you want your remote sessions to never end.

If your server is the member of a domain, this strategy may need to be set directly on the domain controller.
Open your domain strategy object editor (gpedit.msc) and locate the following strategy :

Computer configuration / Administrative Template / Windows components / Remote Desktop Services / Remote Desktop Session Host / Session time limit /

You can also make sure your domain controller do not prevent local strategies to be executed. This strategy needs to be disabled and is located in :

Computer configuration / Policies / Administrative Template / System / Group Policy / Turn off Local Group Policy objects processing.

Either solution should work, choose the one that fits your preference.

Regards,
TSplus support team
Olivier
TSplus support team administrator
Image

ronbcs16
Posts: 1
Joined: Mon Oct 10, 2016 2:14 pm

Re: User with assigned application can't reconect

Post by ronbcs16 » Mon Oct 10, 2016 2:19 pm

I'm having the exact same issue on two out of my three TS plus servers. Both are 2012 as well. I've spent hours researching and trying different things as well to no avail. All servers are up to date, TS Plus is up to date. This is happening using remote app clients or html5. I have checked and double checked all your suggestions in the TS Plus control panel to make sure all are set properly. They are.

I have also found that when this is reported, I cannot even RDP into my servers as I get the same black screen. The only way I can get in is by using Team viewer. From there, I have no choice but to reboot the entire server to resolve this issue. Just to note, each time this has happened, I've noticed that there is one user on the server who normally has 1-2 sessions connected that has 10-15 or more connected. Most of them sharing the same session # with two or so that have different numbers. Signing off those users from the server seems to have no effect on fixing the issue though. I've just submitted a ticket to TS Plus to see if they have any further information but at this point, I have a feeling it's MS related as when googled, there are tons of pages with people experiencing the same sort of issue without TS Plus installed. Not a good situation to have to explain this to many, many clients connecting to these servers.

hansen
Posts: 137
Joined: Wed Dec 02, 2015 12:23 am

Re: User with assigned application can't reconect

Post by hansen » Mon Oct 10, 2016 4:10 pm

A quick fix would be to restart the RDP service with the following command (run as administrator) - it'll disconnect all connections, but doesn't require restart of the server:

Code: Select all

taskkill /F /FI "SERVICES eq TermService" /FI "IMAGENAME eq svchost.exe" && ping localhost && net start TermService

Post Reply