How to prevent RDC sessions closing when inactive

I am using MS Remote Desktop version 8.0.5
and I have observed that the session automatically closes on my desktop [whether a PC or my iMac] if I should happen to step away from my desk and leave the session being inactive for over about 5 mins or so.
How can I prevent this or at least prolong the time of inactivity before automaticclosing of session.
BTW - when I reopen the session on my desktop - the Terminal Services end [Windows Server 2012] is still running where I left it.
Thanks

Hi,
It is true with the Power Saving mode and I am afraid that it is the only option.
Thanks.
Jeremy Wu
TechNet Community Support

Similar Messages

  • How can I prevent Firefox from closing when it crashes?

    So, I'm using a Windows 8 computer, & when it crashes, it closes altogether & it's really annoying having to reload my session, but when I was using a Windows 7 computer, Firefox hardly ever closed altogether when it crashed- all it did was freeze. Is there some way to only have it freeze instead of closing altogether? I hope you understand what I'm saying. Thanks.

    If only, if only! :)
    No, there isn't a way you can choose what Firefox does when it crashes. It crashes for a reason. But we can see what's causing those crashes.
    Can you give me your crash reports?
    #Enter ''about:crashes'' in the Firefox address bar and press Enter. A Submitted Crash Reports list will appear, similar to the one shown below.
    #Copy the '''5''' most recent Report IDs that start with '''bp-''' and paste them into your response here.
    Your System Details looks very light/empty. Can you start by giving us the troubleshooting information from the Firefox installation that's having problems. This is an essential step in troubleshooting.<br>
    *Click the Firefox button at the top left, then click the ''Help'' menu and select ''Troubleshooting Information'' from the sub-menu. If you don't have a Firefox button, click the Help menu at the top and select ''Troubleshooting Information'' from the menu.
    Now, a new tab containing your troubleshooting information should open.
    *At the top of the page, you should see a button that says "Copy text to clipboard". Click it.
    *Now, go back to your forum post and click inside the reply box. Press Ctrl+V to paste all the information you copied into the forum post.

  • How to prevent (X button) closing window

    Hi!
    I am wondering how to prevent X button on
    the right top corner on the window closing
    the window.
    My jdev java app is intended to close window
    when user explicitly presses return button.
    That's works fine ... but how to catch
    window close event (X sys btn) and stop it?
    null

    Hi,
    You need to change the default close operation of JDialog or JFrame:
    myFrame.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);

  • How do I PREVENT tabs/sessions restoring when restarting Firefox after a forced close/crash?

    So... I'm running, say, a Google search, and I click on a link I think will be useful. But unfortunately, I've been taken! I get redirected to some scary Website I don't want to be at. I try to close the page, but a dialogue box pops up saying, "But wait! Don't you want to download our dangerous trojan horse? Y/Y?"
    I don't want to click ANYWHERE on the dialogue box for fear of making the stupid situation I've gotten myself into worse. I can't close Firefox because it's "waiting for a response from you" so I force-close it from Task Manager. Whew!
    EXCEPT then when I restart Firefox, it "helpfully" tries to restore my session... with the scary site with the scary dialogue box.
    If I force a close a second time with Task Manager, Firefox fails to restore it again, so I can continue on my merry way and remember to be more careful on my searches, but it's damned annoying when it happens!
    How do I make Firefox NOT want to restore sessions/tabs? All support info is about ENSURING session restoring, not prevent it!
    And frankly, I can't think of a single time I'd actually want to restore a session after a crash. Worse comes to worse I'd rather just start from scratch anyway.
    This doesn't happen often (I like to think I'm not entirely a moron and can avoid obviously harmful sites most of the time), but it's annoying when it does. I can keep Task-Manager closing until it won't restore, but I'd rather just have nothing restore at all!

    You can do this by changing a hidden preference.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # In the filter box type '''resume''' to bring up a small number of preferences
    # Double-click on the preference '''browser.sessionstore.resume_from_crash''' to change its value to '''false'''
    That change will stop Firefox trying to resume the session after a crash

  • How to invalidate a session explicitly when a browser is closed

    hi,
    i am keeping the information of a logged user when he logs succesfully in a session. the session time is maintained for half an hour.
    i am also storing his information in an application object.
    when a user logs out i am invalidating the session and his information is removed from the application object .
    when a person is logged and another person at other place stries to log in with the same username and password, i am making use of this application object to check whether the anyone is looged in with that user id or not. if the id aleady exists in the application object i will not allow the second person to log in and i will provide with a relavent mesasge " already logged in with this ID".
    But the problem is arising when a person loogs in and closes the browser (wth out looging in).
    in this case the session is not invalidated and his information remains in the session and application object.
    when he tries to loog in immediatly after closing the browser, the same checking is done for the duplicate log in and a message is displayed to him saying that " already logged in with this ID".
    he has to wait till the session expires (i,e till 30 min) and then log in
    As this creates problem, i want to invalidate the session the time when the browser is closed.
    i tried with the onUnLoad() methos in javascript, but that method is not only called when closing the browser but also when a link is clicked ot when refreshed the page.
    i am trying with Cookies but i am not gettin ga good approach as how to go forward with this problem.
    Any body who can solve this please....reply soon or mail me
    Its very Urgent................
    Thanks
    sowjanya

    2.Any business critical web site should not allow
    multiple users to
    work under same account at same time.Not true. My customer's web site is "business critical" and they explicitly wanted to be able to login multiple times with the same ID. At least in this scenario we completely circumvent your problem.
    The Javascript solution will never be 100%. What happens if their internet connection drops and doesn't come back? Suppose their OS crashes? What if their power goes out? What if IE crashes? What if JS is turned off? What if the user just walks away and leaves the browser open forever?
    You may be trying to get too much control, which on the web always leads to failure. Maybe a better alternative would be to warn the user that is logging in the second time that there is an outstanding login and that the previous user will be logged out if he proceeds. Then, keep a record of the event in case someone is messing with other accounts (although, since he obviously knows the username and password it is probably a user concern.)

  • How to get a report "closed" when using the ReportViewerBean

    I read the article /people/ted.ueda/blog/2008/12/20/crystal-reports-for-eclipse--ensuring-report-cleanup from Ted Ueda regarding cleaning up reports for the RAS server.  However, I'm trying to figure out how to get this accomplished for a thick client accessing a local rpt file and then displaying that file using the ReportViewerBean.  I can't seem to get the report closed. I tried the dispose() techniqe from the article, but with no success.
    My basic process is:
    1) Press button on main frame to open and set up report
    2) Pass open report (via ReportClientDocument) object to the viewer frame class (which views report in separate window using ReportViewerBean)
    3) Close viewer window when done, destroy ReportVieweBean and close ReportClientDocument
    4) Press button again on main frame later to view report
    If I set up the report but skip the step of sending the report to the viewer frame, ReportClientDocument.isOpen() will go from true to false after I execute just  the ReportDocumentClient.close() command.  However, if open the viewer frame, I cannot get the report closed.
    In the window closing event for my viewer window I have:
    public void quit() {
                try {
                    CrystalReportViewer crv1 = new CrystalReportViewer();
                    crv1.setReportSource(reportClientDoc.getReportSource());
                    reportViewer.destroy();  //this is a ReportViewerBean
                    reportClientDoc.close();  //this is a ReportClientDoc
                    crv1.dispose();
                    //the following is always true
                    System.out.println("ReportClientDoc.isOpen: " + reportClientDoc.isOpen());
                    this.dispose();
                catch(ReportSDKException ex) {
                    ex.printStackTrace();
                catch(ReportSDKExceptionBase ex) {
                    ex.printStackTrace();
    I'm using the latest Java CR4E 12.2.205.825 downloaded from the CR4E website.  Any ideas?
    Edited by: Joseph Huber on Mar 16, 2010 8:13 PM

    The webservices you are trying to use are not the ones used for enterprise, they are used for non-enterprise applications accessing reports that are stored in a specific location on the web server.
    Here are samples that use our Enterprise SDK:
    [https://boc.sdn.sap.com/samples/84/1193|https://boc.sdn.sap.com/samples/84/1193]
    Here are samples that use our Enterprise Web Service SDK:
    [https://boc.sdn.sap.com/samples/84/1197|https://boc.sdn.sap.com/samples/84/1197]
    You can also look at the SDK documentation available here:
    [http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]

  • How to keep old session id when a new session is created in web site

    Hi,
    I have a question about HttpSession in a Struts framework based project development.
    I have a web page "a.jsp" in public site (no need login) which can navigate to other pages/links. There is a button on "a.jsp" to popup a new window "pop.jsp" and create a session (session1). Usually, when I navigate to other pages/links from "a.jsp", it doesn't affect this "pop.jsp" and its session1. However, if I try to goto a secure site - a login page "login.jsp" from "a.jsp", since the "login.jsp" needs to kill current session before the login, the current session1 within the "pop.jsp" is killed at that time. When I go back to "pop.jsp", it will create a new session2 and the original session1 attributes does not exist any more. Therefore, I need to save the session1 id in somewhere to compare it with new session2 id when session is changed, and display some message in "pop.jsp".
    Do anyone know how/where to keep session1 id? Any sample/suggestion would be appreciated.
    Hanna

    check reply 2 of [http://forum.java.sun.com/thread.jspa?threadID=5279453&tstart=0|http://forum.java.sun.com/thread.jspa?threadID=5279453&tstart=0]
    like that you can comapre

  • How to prevent iTunes from launching when iPad is connected?

    I don't want iTunes 11.0.1 to launch every time I connect my iPad (3rd generation, running iOS 6.0.1) to my Mini. I want to decide if I want iTunes, and then, if I do, launch it manually. How may this be accomplished?
    Notes:
    1.  iTunes .. Preferences .. Devices ==> "Prevent ... from syncing automatically" is UNchecked.
    2.  (in iTunes while connected) iPad .. Summary .. Options ==> "Open iTunes when this iPad is connected" is UNchecked.
    3.  When iTunes auto-launches, it does NOT sync. It "mounts" the iPad and then sits idle.
    TIA for any ideas,
    Mark

    Found the answer via Bing:
    http://www.brighthub.com/computing/hardware/articles/72004.aspx
    With the iPad connected and (at least in my case) iTunes NOT running, start the program "Image Capture" (mine is version 6.1). In the lower left will be a label "Connecting this iPad opens:" and below that label is a drop-down box which, in my case, was set to iTunes (don't ask me how), and I have since changed to "No application".
    Gee, that was obvious.
    </sarcasm>
    Mark

  • How to prevent applet from InterruptedException when the page is refreshed

    Hi Guys,
    Is there a way we can prevent an applet from being interrupted when the user navigates away or refreshes the page ?
    I am getting the below error whenever the user invokes the applet and navigates away or refreshes the frame.
    My requirement is the make the applet complete it action before it is destroyed or stopped.
    I am not sure if this problem is due to new java life cycle. I tried setting the legacy_lifetime=true and I got the same error or java.io.IOException when legacy_lifecycle=true
    java.lang.NullPointerException
         at java.awt.EventQueue.isDispatchThread(EventQueue.java:1005)
         at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.runOnEDT(Unknown Source)
         at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.start(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:780)
    Ignored exception: java.lang.NullPointerException
    java.lang.InterruptedException
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:196)
         at sun.plugin2.message.Queue.waitForMessage(Unknown Source)
         at sun.plugin2.message.Pipe$2.run(Unknown Source)
         at com.sun.deploy.util.Waiter$1.wait(Unknown Source)
         at com.sun.deploy.util.Waiter.runAndWait(Unknown Source)
         at sun.plugin2.message.Pipe.receive(Unknown Source)
         at sun.plugin2.main.client.MessagePassingExecutionContext.doCookieOp(Unknown Source)
         at sun.plugin2.main.client.MessagePassingExecutionContext.getCookie(Unknown Source)
         at sun.plugin2.main.client.PluginCookieSelector.getCookieFromBrowser(Unknown Source)
         at com.sun.deploy.net.cookie.DeployCookieSelector.getCookieInfo(Unknown Source)
         at com.sun.deploy.net.cookie.DeployCookieSelector.get(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.setCookieHeader(HttpURLConnection.java:1192)
         at sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:624)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1332)
         at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
         at com.sun.deploy.cache.ResourceProviderImpl.checkUpdateAvailable(Unknown Source)
         at com.sun.deploy.cache.ResourceProviderImpl.isUpdateAvailable(Unknown Source)
         at com.sun.deploy.cache.DeployCacheHandler.get(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:888)
         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:861)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1311)
         at sun.plugin.PluginURLJarFileCallBack.downloadJAR(Unknown Source)
         at sun.plugin.PluginURLJarFileCallBack.access$000(Unknown Source)
         at sun.plugin.PluginURLJarFileCallBack$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(AccessController.java:280)
         at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)
         at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:217)
         at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:83)
         at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:95)
         at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:135)
         at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:102)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$1000(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(AccessController.java:280)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(AccessController.java:280)
         at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(AccessController.java:314)
         at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:689)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:780)
    Thanks
    Sunny
    Edited by: user10728422 on Feb 26, 2013 1:42 AM

    An applet cannot access the client's filesystem. So there's no worry. All the .class files come from the server, unless you're using a ClassLoader to explicitly load from a certain location in clients hd with all the necessary security permissions.

  • How to prevent iTunes to open when my device is connected

    Hi,
    I'm using iTunes 10.0.1.22 on Windows Vista OS.
    Each time i connect my iPhone to the computer, the iTunes opens. i don't want it to happen. not to open and not to sync.
    There's is NO tick in iTunes > Device > Summary > Options > Open iTunes when this iPhone is connected. but this line is colored in grey and i cannot tick / untick it. Here's a link for a screenshot:
    http://img2.timg.co.il/forums/1_146522632.jpg
    The iTunes perfernces is tick for "prevent iphones from syncing automatically".
    I also tried to re-install the iTunes software. no luck.
    what can i do?

    I actually had this same question for my iPad. My wife's computer is really slow, and I was hoping it might be a little faster to get iTunes to open if it was set to open as soon as she connects her iPad. All of a sudden that option was grayed out. Thank you for your help...
    Sly

  • How to prevent computer from sleeping when downloading Lion from the recovery partition?

    Hello,
    I just got a new MacBook Pro that came with Lion. I'm reinstalling from the recovery partition and I'm on the downloading additional components stage. It has 3 hours to go and the computer keeps going to sleep. How can I prevent this? I don't want to have to babysit the computer for 3 more hours.
    Thanks.

    Looking for an answer to this question now.  Did you find one?  I'm about an hour into a 6+ hour reinstall of Mountain Lion from the Recovery partition on my MacBook Pro.  So I can't change the sleep corners or caffenate it or do much of anything but wait.   I want to go to bed and let it install overnight, but I assume it will go to sleep, and that will kill the download.  It there any way to prevent it from sleeping now? 
    Even trying to think of something I can put on the trackpad to trick it into thinking I'm touching it.
    Maybe ill put it under my dog, and her movements will keep it awake?  Thinking outside the box here.
    Any ideas would be appreciated.

  • How to make the session expire when the refresh button is clicked

    Hi All,
    I am writing a Struts application where I want the session to expire when the user clicks refresh button or refresh the page by hitting F5, like any Bank sites. Any help will be appreciated.

    The trick isn't invalidating the session. The trick is detecting refresh requests.
    The Synchronizer Token pattern can handle this.
    Struts can do this for you. Check out [this article|http://www.javaworld.com/javaworld/javatips/jw-javatip136.html?page=1]
    Cheers,
    evnafets

  • How to prevent Aperture from launching when iPhone is docked.

    How can I stop Aperture from launching and trying to import the photos from my iPhone every time I put the iPhone in its dock? It is annoying !

    image capture (the program) is recognizing your iPhone as a camera ... you have it set to open Aperture when a camera is connected, yes ???
    well ... the only way to turn it off (to the best of my knowledge) would be to open image capture and set it to do nothing ... that is when any camera/card/iPhone is connected image capture does nothing ... you will manually have to open aperture and import from your cards/cameras ...

  • How to prevent the save message when program exit vi is used

    I am using the Quit LabVIEW vi and am getting the Save/Don't Save/Cancel dialog each time the operator quits the program.  The reason is objects on the screen have been resized.  The vi properties for window appearance are scroll bars off.  This is a base development package so the program runs in the environment.  I would like to allow the operator to exit without seeing this message.  LV 8.5, Win XP
    Thank you.
    Solved!
    Go to Solution.

    sfm,
    The best way to do this is by incorporating a source code control depository.  Set your LabVIEW.ini options to configure the source code control and to treat read only vi's as locked.  Edits will only be allowed if the code is checked out of source code control and that prevents the operator moving or resizing the FP objects accidentally.  You should not allow your operators to make code changes!  Operators operate, developers edit code.  It is common to have operators who are also developers BUT, the functions must be kept separated.  
    What I mean is that the user is either trying to make the code do what it needs to do (developing - so code changes are desirable.) OR the user is trying to use the code to do its intended function (operating - so code change is not just undesirable, it is BAD!)
    The pop-up is not just annoying, it indicates that code control does not exist! You need better logistics to prevent code maintenance headaches of biblical proportions.
    Jeff

  • How to preventing files from downloading when I open them

    Hi there,
    Is there a setting somewhere on my computer that will allow me to open files (in emails, on webpages, etc.) without first having to download them? Please help....

    No.
    If you are using an email client such as the Mail.app to access an email account, a message attachment must be downloaded with the message in order to open it and the same when accessing the account via webmail access using a browser.
    Why is this a problem?

Maybe you are looking for

  • Displaying a report in a jsp page

    Hi, I want to display my report (pdf or html) in a jsp page ,so can someone help me note that I am using NetBeans & JasperReports 2.0.5 Thanking in advance

  • Best way to assign multiple users security, privileges and workbook shares.

    Is there another way to assign multiple users to a single workbook other than using the workbook management option. Something that can be done from the command line? How about assigning security and privileges from the command line?

  • Diagram goes blank when bpel file is outside default dir

    Hi, I am using JDeveloper v10.1.2.1.0 and the "Diagram view" goes blank when I take the ".bpel" file from the project root directory (the default location) to some other directory, even though I modify the references accordingly. My suitcase looks li

  • BAPI_HU_CREATE connection with VEKP-VPOBJ

    Hi, do you know what parameter of 'BAPI_HU_CREATE' informs VEKP-VPOBJ? I cant seem to create HU with a correct VPOBJ. Thanks in advance! MayM

  • How to delete a folder?

    When I right click on a folder and click delete, Lightroom correctly deletes all pictures in the folder, removes the folder from the library, but leaves empty folder in the file system. Is there a way to make Lightroom delete the folder? I'm not dele