Taken session problem to run program

Get help with troubleshooting issues
Post Reply
maksymilian
Posts: 1
Joined: Fri Jun 29, 2018 7:44 pm

Taken session problem to run program

Post by maksymilian » Fri Jun 29, 2018 7:52 pm

Hello a have problem to run program after reconnect session (taken session).
In me rdp file I have alternate shell:s:"C:\Windows\notepad.exe" but its working only in first login, when I logging from another computer (taken session) its doesn't work. Anybody help ?

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

Re: Taken session problem to run program

Post by admin » Sat Jun 30, 2018 5:29 pm

Hello,

In the AdminTool, click on the Server tile and click on "Group Policies (GPO)"

Check the "Allow users reconnection when sessions are disconnected."
Check also the "Allow automatic reconnections when a session is 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.
Olivier
TSplus support team administrator
Image

Post Reply