Jobs Stopping When Disconnecting

Get help with troubleshooting issues
Post Reply
rwillen
Posts: 2
Joined: Wed Jul 08, 2015 4:38 pm

Jobs Stopping When Disconnecting

Post by rwillen » Wed Jul 08, 2015 4:45 pm

We're in the process of testing out TSPlus on W8.1 and have run into an issue that we don't have when running standard RDP. Our users start jobs on that can take several days to run, with RDP they were able to disconnect from the session and the job would continue running. With TSplus the jobs get killed when they disconnect. Is there a setting I'm missing that will allow the jobs to continue running on disconnect?

Thanks!

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

Re: Jobs Stopping When Disconnecting

Post by admin » Thu Jul 09, 2015 3:37 pm

Hello,

Yes you can do this.

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

rwillen
Posts: 2
Joined: Wed Jul 08, 2015 4:38 pm

Re: Jobs Stopping When Disconnecting

Post by rwillen » Tue Jul 14, 2015 12:12 am

Thank you, we will make the changes suggested.

Post Reply