Applications close on disconnect in server 2012 The 2019 Stack Overflow Developer Survey...
Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?
Why didn't the Event Horizon Telescope team mention Sagittarius A*?
How much of the clove should I use when using big garlic heads?
How to charge AirPods to keep battery healthy?
If a sorcerer casts the Banishment spell on a PC while in Avernus, does the PC return to their home plane?
APIPA and LAN Broadcast Domain
Accepted by European university, rejected by all American ones I applied to? Possible reasons?
What do hard-Brexiteers want with respect to the Irish border?
Why was M87 targeted for the Event Horizon Telescope instead of Sagittarius A*?
Star Trek - X-shaped Item on Regula/Orbital Office Starbases
I am an eight letter word. What am I?
Can we generate random numbers using irrational numbers like π and e?
Does HR tell a hiring manager about salary negotiations?
Will it cause any balance problems to have PCs level up and gain the benefits of a long rest mid-fight?
Keeping a retro style to sci-fi spaceships?
Likelihood that a superbug or lethal virus could come from a landfill
Why isn't the circumferential light around the M87 black hole's event horizon symmetric?
Why couldn't they take pictures of a closer black hole?
What do these terms in Caesar's Gallic Wars mean?
How to support a colleague who finds meetings extremely tiring?
Worn-tile Scrabble
Deal with toxic manager when you can't quit
What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?
What is preventing me from simply constructing a hash that's lower than the current target?
Applications close on disconnect in server 2012
The 2019 Stack Overflow Developer Survey Results Are InWindows Server 2008 R2 Upgrade via Remote DesktopWindows Server 2012 / RDP as AdministratorProcesses surviving Windows VM reboots?Is RDP on Windows Server a viable solution for multiple concurrent access to one app?Server 2012 won't lockMigrate Data & Applications Windows 2012 to Windows 2012Reconnect to Domain Controller after temporary disconnect in Server 2012Windows Server 2012 connecting remotely physical server fails but hyperv running on it is availableTesting Windows RemoteApps without Remote Desktop Serviceswindows 2012 r2 asking for password in remote's logon screen in Mac
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I have an application that I'd like to continue to run after disconnecting. This is in a Windows server 2012 environment that I access via remote desktop connection. Currently, it shuts down my applications after some specified time elapses after disconnecting. I haven't figured out exactly how long that period is, but if I wait long enough and reconnect, the application has closed. How can I prevent this? My server manager doesn't seem to have the collections (see: http://www.tomshardware.com/answers/id-1936940/server-2012-rdp-auto-disconnect.html) or remote desktop services icons (another potential solution here: http://blogs.technet.com/b/askperf/archive/2012/10/30/windows-8-windows-server-2012-remote-desktop-management-server.aspx), so I cannot get to those properties. My IT team is perplexed as well.
EDIT (additional information requested):
This software is SRCware v 0.2 (I don't have a high enough reputation to post the link). It launches via an exe file. I've run this app in several environments with no problem: RDP, Citrix XenApp, and VMware vShpere web client, all Windows server 2008 environments. It's been quite a while, but very quickly one day, my IT team checked off a setting that prevented all of my apps from closing on disconnect. I believe this was in Citrix. No changes were necessary in the other environments. Something is different about Server 2012, however. Disconnecting leads to the app closing after an undetermined period of time. My IT team suggested that I X out instead of disconnecting. Here, I get a message that my programs will continue to run, and I can log in later and they will still be there, but that's not the case if I wait long enough.
windows-server-2012 timeout
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I have an application that I'd like to continue to run after disconnecting. This is in a Windows server 2012 environment that I access via remote desktop connection. Currently, it shuts down my applications after some specified time elapses after disconnecting. I haven't figured out exactly how long that period is, but if I wait long enough and reconnect, the application has closed. How can I prevent this? My server manager doesn't seem to have the collections (see: http://www.tomshardware.com/answers/id-1936940/server-2012-rdp-auto-disconnect.html) or remote desktop services icons (another potential solution here: http://blogs.technet.com/b/askperf/archive/2012/10/30/windows-8-windows-server-2012-remote-desktop-management-server.aspx), so I cannot get to those properties. My IT team is perplexed as well.
EDIT (additional information requested):
This software is SRCware v 0.2 (I don't have a high enough reputation to post the link). It launches via an exe file. I've run this app in several environments with no problem: RDP, Citrix XenApp, and VMware vShpere web client, all Windows server 2008 environments. It's been quite a while, but very quickly one day, my IT team checked off a setting that prevented all of my apps from closing on disconnect. I believe this was in Citrix. No changes were necessary in the other environments. Something is different about Server 2012, however. Disconnecting leads to the app closing after an undetermined period of time. My IT team suggested that I X out instead of disconnecting. Here, I get a message that my programs will continue to run, and I can log in later and they will still be there, but that's not the case if I wait long enough.
windows-server-2012 timeout
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I have an application that I'd like to continue to run after disconnecting. This is in a Windows server 2012 environment that I access via remote desktop connection. Currently, it shuts down my applications after some specified time elapses after disconnecting. I haven't figured out exactly how long that period is, but if I wait long enough and reconnect, the application has closed. How can I prevent this? My server manager doesn't seem to have the collections (see: http://www.tomshardware.com/answers/id-1936940/server-2012-rdp-auto-disconnect.html) or remote desktop services icons (another potential solution here: http://blogs.technet.com/b/askperf/archive/2012/10/30/windows-8-windows-server-2012-remote-desktop-management-server.aspx), so I cannot get to those properties. My IT team is perplexed as well.
EDIT (additional information requested):
This software is SRCware v 0.2 (I don't have a high enough reputation to post the link). It launches via an exe file. I've run this app in several environments with no problem: RDP, Citrix XenApp, and VMware vShpere web client, all Windows server 2008 environments. It's been quite a while, but very quickly one day, my IT team checked off a setting that prevented all of my apps from closing on disconnect. I believe this was in Citrix. No changes were necessary in the other environments. Something is different about Server 2012, however. Disconnecting leads to the app closing after an undetermined period of time. My IT team suggested that I X out instead of disconnecting. Here, I get a message that my programs will continue to run, and I can log in later and they will still be there, but that's not the case if I wait long enough.
windows-server-2012 timeout
I have an application that I'd like to continue to run after disconnecting. This is in a Windows server 2012 environment that I access via remote desktop connection. Currently, it shuts down my applications after some specified time elapses after disconnecting. I haven't figured out exactly how long that period is, but if I wait long enough and reconnect, the application has closed. How can I prevent this? My server manager doesn't seem to have the collections (see: http://www.tomshardware.com/answers/id-1936940/server-2012-rdp-auto-disconnect.html) or remote desktop services icons (another potential solution here: http://blogs.technet.com/b/askperf/archive/2012/10/30/windows-8-windows-server-2012-remote-desktop-management-server.aspx), so I cannot get to those properties. My IT team is perplexed as well.
EDIT (additional information requested):
This software is SRCware v 0.2 (I don't have a high enough reputation to post the link). It launches via an exe file. I've run this app in several environments with no problem: RDP, Citrix XenApp, and VMware vShpere web client, all Windows server 2008 environments. It's been quite a while, but very quickly one day, my IT team checked off a setting that prevented all of my apps from closing on disconnect. I believe this was in Citrix. No changes were necessary in the other environments. Something is different about Server 2012, however. Disconnecting leads to the app closing after an undetermined period of time. My IT team suggested that I X out instead of disconnecting. Here, I get a message that my programs will continue to run, and I can log in later and they will still be there, but that's not the case if I wait long enough.
windows-server-2012 timeout
windows-server-2012 timeout
edited Jun 3 '14 at 12:55
William Shakespeare
asked Jun 2 '14 at 18:58
William ShakespeareWilliam Shakespeare
1113
1113
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
You have a couple of options based on the "type" of applications you are trying to keep running. None of them will come without some knowledge of how Windows Server runs.
Due to the lack of info about "what", the following is a general guideline that you can use to further investigate:
OPTION 1:
Setup the applications to run as a Windows Service. This can be achieved by opening up a CMD prompt using Elevated Permissions and using the following Syntax (Replace "CAPS" with your info:
sc create YOURSERVICEDISPLAYNAME binpath= C:YOURSERVICE-EXECUTIBLE.EXE-OR-CMD-etc start= delayed-auto obj= DOMAIN-ACCOUNT-FOR-SERVICE-PERMISSIONS password= ACCOUNT-PASSWORD
NOTE: This will not work to just launch an EXE for something like "Photoshop" as an example. There is usually a script that is run with this that give the Executible, Command, or whatever the file is instructions on what to do.
OPTION 2:
Use the Windows Task Scheduler. This is a bit easier than a service, in that you can setup some schedules to ensure that the software continually runs, or you can invoke it based on some "triggers" that you can customize.
Ultimately, it will be up to you to figure out what is best for your environment. Without all the info, and knowing "what" you need, this is probably the best you will get. Let me know if you have any additional info, and I can edit/add to this. But for what you are asking, these are 2 viable options.
@JimCJulsonJr-thanks for your response. Not sure what other info you need. This is statistical software that may run for several hours at a time. In other Windows operating environments, I've simply had to check off a box that said to keep applications running after disconnect. There does not seem to be such an option in server 2012. However, it sounds like the solutions you propose might work. If you can be more specific about the type of additional information you need, I'll be glad to provide it.
– William Shakespeare
Jun 2 '14 at 20:18
No problem William. So, knowing what the software does will dictate your options. Since I'm not familiar with what the software is, or how it's launched, that's why I gave "generics". You say that there's options to "keep the software running after disconnect". Where exactly are you seeing that option in other versions? That sounds like a Windows option the way you said it. Are you saying you used to run RDP, launch your app, then let it run, and even if you got "disconnected", it still gave you data? If so, this is an entirely different issue, and one with what should be easy to fix.
– JimCJulsonJr
Jun 2 '14 at 21:33
Oh, in addition to my post above this one, can I ask you the name of the software? Is this software something that requires you to manually set configuration, then run, or do you just launch an EXE and off it goes...?
– JimCJulsonJr
Jun 2 '14 at 22:08
@JimCJulsonJr-edited question to try to provide a clearer picture of problem
– William Shakespeare
Jun 3 '14 at 18:11
add a comment |
The answer from JimCJulsonJr describes better solutions than RDP for running applications in the background. What's left without answer is how to prevent these applications left in disconnected RDP session from shutting down after a certain amount of time.
If the Remote Desktop Services role is not installed, you can't change the settings as described in the Windows Server 2012: Remote Desktop Management Server article. Still, you can access your server through RDP for administrative purposes.
The timeout limits can be set via Group Policy. Both Computer Configuration and User Configuration has Policies > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits with these settings:
- Set time limit for disconnected sessions
- Set time limit for active but idle Remote Desktop Services sessions
- Set time limit for active Remote Desktop Services sessions
- End session when time limit are reached
Just change these to disabled in the skope you want them to affect. Note that default for all these is disabled meaning there are no time limits, so they have been probably enabled somewhere else.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f601284%2fapplications-close-on-disconnect-in-server-2012%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You have a couple of options based on the "type" of applications you are trying to keep running. None of them will come without some knowledge of how Windows Server runs.
Due to the lack of info about "what", the following is a general guideline that you can use to further investigate:
OPTION 1:
Setup the applications to run as a Windows Service. This can be achieved by opening up a CMD prompt using Elevated Permissions and using the following Syntax (Replace "CAPS" with your info:
sc create YOURSERVICEDISPLAYNAME binpath= C:YOURSERVICE-EXECUTIBLE.EXE-OR-CMD-etc start= delayed-auto obj= DOMAIN-ACCOUNT-FOR-SERVICE-PERMISSIONS password= ACCOUNT-PASSWORD
NOTE: This will not work to just launch an EXE for something like "Photoshop" as an example. There is usually a script that is run with this that give the Executible, Command, or whatever the file is instructions on what to do.
OPTION 2:
Use the Windows Task Scheduler. This is a bit easier than a service, in that you can setup some schedules to ensure that the software continually runs, or you can invoke it based on some "triggers" that you can customize.
Ultimately, it will be up to you to figure out what is best for your environment. Without all the info, and knowing "what" you need, this is probably the best you will get. Let me know if you have any additional info, and I can edit/add to this. But for what you are asking, these are 2 viable options.
@JimCJulsonJr-thanks for your response. Not sure what other info you need. This is statistical software that may run for several hours at a time. In other Windows operating environments, I've simply had to check off a box that said to keep applications running after disconnect. There does not seem to be such an option in server 2012. However, it sounds like the solutions you propose might work. If you can be more specific about the type of additional information you need, I'll be glad to provide it.
– William Shakespeare
Jun 2 '14 at 20:18
No problem William. So, knowing what the software does will dictate your options. Since I'm not familiar with what the software is, or how it's launched, that's why I gave "generics". You say that there's options to "keep the software running after disconnect". Where exactly are you seeing that option in other versions? That sounds like a Windows option the way you said it. Are you saying you used to run RDP, launch your app, then let it run, and even if you got "disconnected", it still gave you data? If so, this is an entirely different issue, and one with what should be easy to fix.
– JimCJulsonJr
Jun 2 '14 at 21:33
Oh, in addition to my post above this one, can I ask you the name of the software? Is this software something that requires you to manually set configuration, then run, or do you just launch an EXE and off it goes...?
– JimCJulsonJr
Jun 2 '14 at 22:08
@JimCJulsonJr-edited question to try to provide a clearer picture of problem
– William Shakespeare
Jun 3 '14 at 18:11
add a comment |
You have a couple of options based on the "type" of applications you are trying to keep running. None of them will come without some knowledge of how Windows Server runs.
Due to the lack of info about "what", the following is a general guideline that you can use to further investigate:
OPTION 1:
Setup the applications to run as a Windows Service. This can be achieved by opening up a CMD prompt using Elevated Permissions and using the following Syntax (Replace "CAPS" with your info:
sc create YOURSERVICEDISPLAYNAME binpath= C:YOURSERVICE-EXECUTIBLE.EXE-OR-CMD-etc start= delayed-auto obj= DOMAIN-ACCOUNT-FOR-SERVICE-PERMISSIONS password= ACCOUNT-PASSWORD
NOTE: This will not work to just launch an EXE for something like "Photoshop" as an example. There is usually a script that is run with this that give the Executible, Command, or whatever the file is instructions on what to do.
OPTION 2:
Use the Windows Task Scheduler. This is a bit easier than a service, in that you can setup some schedules to ensure that the software continually runs, or you can invoke it based on some "triggers" that you can customize.
Ultimately, it will be up to you to figure out what is best for your environment. Without all the info, and knowing "what" you need, this is probably the best you will get. Let me know if you have any additional info, and I can edit/add to this. But for what you are asking, these are 2 viable options.
@JimCJulsonJr-thanks for your response. Not sure what other info you need. This is statistical software that may run for several hours at a time. In other Windows operating environments, I've simply had to check off a box that said to keep applications running after disconnect. There does not seem to be such an option in server 2012. However, it sounds like the solutions you propose might work. If you can be more specific about the type of additional information you need, I'll be glad to provide it.
– William Shakespeare
Jun 2 '14 at 20:18
No problem William. So, knowing what the software does will dictate your options. Since I'm not familiar with what the software is, or how it's launched, that's why I gave "generics". You say that there's options to "keep the software running after disconnect". Where exactly are you seeing that option in other versions? That sounds like a Windows option the way you said it. Are you saying you used to run RDP, launch your app, then let it run, and even if you got "disconnected", it still gave you data? If so, this is an entirely different issue, and one with what should be easy to fix.
– JimCJulsonJr
Jun 2 '14 at 21:33
Oh, in addition to my post above this one, can I ask you the name of the software? Is this software something that requires you to manually set configuration, then run, or do you just launch an EXE and off it goes...?
– JimCJulsonJr
Jun 2 '14 at 22:08
@JimCJulsonJr-edited question to try to provide a clearer picture of problem
– William Shakespeare
Jun 3 '14 at 18:11
add a comment |
You have a couple of options based on the "type" of applications you are trying to keep running. None of them will come without some knowledge of how Windows Server runs.
Due to the lack of info about "what", the following is a general guideline that you can use to further investigate:
OPTION 1:
Setup the applications to run as a Windows Service. This can be achieved by opening up a CMD prompt using Elevated Permissions and using the following Syntax (Replace "CAPS" with your info:
sc create YOURSERVICEDISPLAYNAME binpath= C:YOURSERVICE-EXECUTIBLE.EXE-OR-CMD-etc start= delayed-auto obj= DOMAIN-ACCOUNT-FOR-SERVICE-PERMISSIONS password= ACCOUNT-PASSWORD
NOTE: This will not work to just launch an EXE for something like "Photoshop" as an example. There is usually a script that is run with this that give the Executible, Command, or whatever the file is instructions on what to do.
OPTION 2:
Use the Windows Task Scheduler. This is a bit easier than a service, in that you can setup some schedules to ensure that the software continually runs, or you can invoke it based on some "triggers" that you can customize.
Ultimately, it will be up to you to figure out what is best for your environment. Without all the info, and knowing "what" you need, this is probably the best you will get. Let me know if you have any additional info, and I can edit/add to this. But for what you are asking, these are 2 viable options.
You have a couple of options based on the "type" of applications you are trying to keep running. None of them will come without some knowledge of how Windows Server runs.
Due to the lack of info about "what", the following is a general guideline that you can use to further investigate:
OPTION 1:
Setup the applications to run as a Windows Service. This can be achieved by opening up a CMD prompt using Elevated Permissions and using the following Syntax (Replace "CAPS" with your info:
sc create YOURSERVICEDISPLAYNAME binpath= C:YOURSERVICE-EXECUTIBLE.EXE-OR-CMD-etc start= delayed-auto obj= DOMAIN-ACCOUNT-FOR-SERVICE-PERMISSIONS password= ACCOUNT-PASSWORD
NOTE: This will not work to just launch an EXE for something like "Photoshop" as an example. There is usually a script that is run with this that give the Executible, Command, or whatever the file is instructions on what to do.
OPTION 2:
Use the Windows Task Scheduler. This is a bit easier than a service, in that you can setup some schedules to ensure that the software continually runs, or you can invoke it based on some "triggers" that you can customize.
Ultimately, it will be up to you to figure out what is best for your environment. Without all the info, and knowing "what" you need, this is probably the best you will get. Let me know if you have any additional info, and I can edit/add to this. But for what you are asking, these are 2 viable options.
answered Jun 2 '14 at 19:17
JimCJulsonJrJimCJulsonJr
1314
1314
@JimCJulsonJr-thanks for your response. Not sure what other info you need. This is statistical software that may run for several hours at a time. In other Windows operating environments, I've simply had to check off a box that said to keep applications running after disconnect. There does not seem to be such an option in server 2012. However, it sounds like the solutions you propose might work. If you can be more specific about the type of additional information you need, I'll be glad to provide it.
– William Shakespeare
Jun 2 '14 at 20:18
No problem William. So, knowing what the software does will dictate your options. Since I'm not familiar with what the software is, or how it's launched, that's why I gave "generics". You say that there's options to "keep the software running after disconnect". Where exactly are you seeing that option in other versions? That sounds like a Windows option the way you said it. Are you saying you used to run RDP, launch your app, then let it run, and even if you got "disconnected", it still gave you data? If so, this is an entirely different issue, and one with what should be easy to fix.
– JimCJulsonJr
Jun 2 '14 at 21:33
Oh, in addition to my post above this one, can I ask you the name of the software? Is this software something that requires you to manually set configuration, then run, or do you just launch an EXE and off it goes...?
– JimCJulsonJr
Jun 2 '14 at 22:08
@JimCJulsonJr-edited question to try to provide a clearer picture of problem
– William Shakespeare
Jun 3 '14 at 18:11
add a comment |
@JimCJulsonJr-thanks for your response. Not sure what other info you need. This is statistical software that may run for several hours at a time. In other Windows operating environments, I've simply had to check off a box that said to keep applications running after disconnect. There does not seem to be such an option in server 2012. However, it sounds like the solutions you propose might work. If you can be more specific about the type of additional information you need, I'll be glad to provide it.
– William Shakespeare
Jun 2 '14 at 20:18
No problem William. So, knowing what the software does will dictate your options. Since I'm not familiar with what the software is, or how it's launched, that's why I gave "generics". You say that there's options to "keep the software running after disconnect". Where exactly are you seeing that option in other versions? That sounds like a Windows option the way you said it. Are you saying you used to run RDP, launch your app, then let it run, and even if you got "disconnected", it still gave you data? If so, this is an entirely different issue, and one with what should be easy to fix.
– JimCJulsonJr
Jun 2 '14 at 21:33
Oh, in addition to my post above this one, can I ask you the name of the software? Is this software something that requires you to manually set configuration, then run, or do you just launch an EXE and off it goes...?
– JimCJulsonJr
Jun 2 '14 at 22:08
@JimCJulsonJr-edited question to try to provide a clearer picture of problem
– William Shakespeare
Jun 3 '14 at 18:11
@JimCJulsonJr-thanks for your response. Not sure what other info you need. This is statistical software that may run for several hours at a time. In other Windows operating environments, I've simply had to check off a box that said to keep applications running after disconnect. There does not seem to be such an option in server 2012. However, it sounds like the solutions you propose might work. If you can be more specific about the type of additional information you need, I'll be glad to provide it.
– William Shakespeare
Jun 2 '14 at 20:18
@JimCJulsonJr-thanks for your response. Not sure what other info you need. This is statistical software that may run for several hours at a time. In other Windows operating environments, I've simply had to check off a box that said to keep applications running after disconnect. There does not seem to be such an option in server 2012. However, it sounds like the solutions you propose might work. If you can be more specific about the type of additional information you need, I'll be glad to provide it.
– William Shakespeare
Jun 2 '14 at 20:18
No problem William. So, knowing what the software does will dictate your options. Since I'm not familiar with what the software is, or how it's launched, that's why I gave "generics". You say that there's options to "keep the software running after disconnect". Where exactly are you seeing that option in other versions? That sounds like a Windows option the way you said it. Are you saying you used to run RDP, launch your app, then let it run, and even if you got "disconnected", it still gave you data? If so, this is an entirely different issue, and one with what should be easy to fix.
– JimCJulsonJr
Jun 2 '14 at 21:33
No problem William. So, knowing what the software does will dictate your options. Since I'm not familiar with what the software is, or how it's launched, that's why I gave "generics". You say that there's options to "keep the software running after disconnect". Where exactly are you seeing that option in other versions? That sounds like a Windows option the way you said it. Are you saying you used to run RDP, launch your app, then let it run, and even if you got "disconnected", it still gave you data? If so, this is an entirely different issue, and one with what should be easy to fix.
– JimCJulsonJr
Jun 2 '14 at 21:33
Oh, in addition to my post above this one, can I ask you the name of the software? Is this software something that requires you to manually set configuration, then run, or do you just launch an EXE and off it goes...?
– JimCJulsonJr
Jun 2 '14 at 22:08
Oh, in addition to my post above this one, can I ask you the name of the software? Is this software something that requires you to manually set configuration, then run, or do you just launch an EXE and off it goes...?
– JimCJulsonJr
Jun 2 '14 at 22:08
@JimCJulsonJr-edited question to try to provide a clearer picture of problem
– William Shakespeare
Jun 3 '14 at 18:11
@JimCJulsonJr-edited question to try to provide a clearer picture of problem
– William Shakespeare
Jun 3 '14 at 18:11
add a comment |
The answer from JimCJulsonJr describes better solutions than RDP for running applications in the background. What's left without answer is how to prevent these applications left in disconnected RDP session from shutting down after a certain amount of time.
If the Remote Desktop Services role is not installed, you can't change the settings as described in the Windows Server 2012: Remote Desktop Management Server article. Still, you can access your server through RDP for administrative purposes.
The timeout limits can be set via Group Policy. Both Computer Configuration and User Configuration has Policies > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits with these settings:
- Set time limit for disconnected sessions
- Set time limit for active but idle Remote Desktop Services sessions
- Set time limit for active Remote Desktop Services sessions
- End session when time limit are reached
Just change these to disabled in the skope you want them to affect. Note that default for all these is disabled meaning there are no time limits, so they have been probably enabled somewhere else.
add a comment |
The answer from JimCJulsonJr describes better solutions than RDP for running applications in the background. What's left without answer is how to prevent these applications left in disconnected RDP session from shutting down after a certain amount of time.
If the Remote Desktop Services role is not installed, you can't change the settings as described in the Windows Server 2012: Remote Desktop Management Server article. Still, you can access your server through RDP for administrative purposes.
The timeout limits can be set via Group Policy. Both Computer Configuration and User Configuration has Policies > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits with these settings:
- Set time limit for disconnected sessions
- Set time limit for active but idle Remote Desktop Services sessions
- Set time limit for active Remote Desktop Services sessions
- End session when time limit are reached
Just change these to disabled in the skope you want them to affect. Note that default for all these is disabled meaning there are no time limits, so they have been probably enabled somewhere else.
add a comment |
The answer from JimCJulsonJr describes better solutions than RDP for running applications in the background. What's left without answer is how to prevent these applications left in disconnected RDP session from shutting down after a certain amount of time.
If the Remote Desktop Services role is not installed, you can't change the settings as described in the Windows Server 2012: Remote Desktop Management Server article. Still, you can access your server through RDP for administrative purposes.
The timeout limits can be set via Group Policy. Both Computer Configuration and User Configuration has Policies > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits with these settings:
- Set time limit for disconnected sessions
- Set time limit for active but idle Remote Desktop Services sessions
- Set time limit for active Remote Desktop Services sessions
- End session when time limit are reached
Just change these to disabled in the skope you want them to affect. Note that default for all these is disabled meaning there are no time limits, so they have been probably enabled somewhere else.
The answer from JimCJulsonJr describes better solutions than RDP for running applications in the background. What's left without answer is how to prevent these applications left in disconnected RDP session from shutting down after a certain amount of time.
If the Remote Desktop Services role is not installed, you can't change the settings as described in the Windows Server 2012: Remote Desktop Management Server article. Still, you can access your server through RDP for administrative purposes.
The timeout limits can be set via Group Policy. Both Computer Configuration and User Configuration has Policies > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits with these settings:
- Set time limit for disconnected sessions
- Set time limit for active but idle Remote Desktop Services sessions
- Set time limit for active Remote Desktop Services sessions
- End session when time limit are reached
Just change these to disabled in the skope you want them to affect. Note that default for all these is disabled meaning there are no time limits, so they have been probably enabled somewhere else.
answered Apr 16 '17 at 14:31
Esa JokinenEsa Jokinen
23.7k23359
23.7k23359
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f601284%2fapplications-close-on-disconnect-in-server-2012%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown