Applications close on disconnect in server 2012 Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Come Celebrate our 10 Year Anniversary!Windows 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

Is there a kind of relay only consumes power when switching?

8 Prisoners wearing hats

How to Make a Beautiful Stacked 3D Plot

Can anything be seen from the center of the Boötes void? How dark would it be?

Should I use a zero-interest credit card for a large one-time purchase?

Crossing US/Canada Border for less than 24 hours

Amount of permutations on an NxNxN Rubik's Cube

Maximum summed powersets with non-adjacent items

What is the meaning of the simile “quick as silk”?

What's the meaning of "fortified infraction restraint"?

When a candle burns, why does the top of wick glow if bottom of flame is hottest?

Find the length x such that the two distances in the triangle are the same

When coming out of haste, do attackers have advantage on you?

T-test, ANOVA or Regression, what's the difference?

Trademark violation for app?

How to react to hostile behavior from a senior developer?

How to compare two different files line by line in unix?

Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?

Can a new player join a group only when a new campaign starts?

2001: A Space Odyssey's use of the song "Daisy Bell" (Bicycle Built for Two); life imitates art or vice-versa?

Can melee weapons be used to deliver Contact Poisons?

Can you shove before Attacking with Shield Master using a Readied action?

Closed form of recurrent arithmetic series summation

Do square wave exist?



Applications close on disconnect in server 2012



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!Windows 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;








1















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.










share|improve this question






























    1















    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.










    share|improve this question


























      1












      1








      1








      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.










      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 3 '14 at 12:55







      William Shakespeare

















      asked Jun 2 '14 at 18:58









      William ShakespeareWilliam Shakespeare

      1113




      1113




















          2 Answers
          2






          active

          oldest

          votes


















          0














          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.






          share|improve this answer























          • @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


















          0














          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.






          share|improve this answer























            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
            );



            );













            draft saved

            draft discarded


















            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









            0














            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.






            share|improve this answer























            • @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















            0














            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.






            share|improve this answer























            • @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













            0












            0








            0







            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.






            share|improve this answer













            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.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            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

















            • @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













            0














            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.






            share|improve this answer



























              0














              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.






              share|improve this answer

























                0












                0








                0







                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.






                share|improve this answer













                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 16 '17 at 14:31









                Esa JokinenEsa Jokinen

                23.8k23359




                23.8k23359



























                    draft saved

                    draft discarded
















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

                    What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

                    Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos