Remote Desktop session to Exchange Server as mylogin always gets logged off everynight ?

Posted on 2011-02-16
Medium Priority
Last Modified: 2012-05-11
Hi All,

I'm having problem with my Remote Desktop session to Exchange Server as myself always gets logged off everynight ?

I need to scheduled Exchange Management Console to run after the office hours but it always failed since my RDP session gets logged off overnight, is there any way to configure it to stay logged on (Windows Server 2008) please ?

Question by:jjoz
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
LVL 13

Accepted Solution

BCipollone earned 1000 total points
ID: 34912159
Why don't you just log back in? I'm sure there is a timer on sessions so they don't get left open and consume resources and become security threats.

To Set Timeout Options for Remote Desktop Connections
1.From your computer's Start menu, point to Programs, point to Admin Tools, and then click Terminal Services Configuration.
2.In the right pane of the window, click RDP-Tcp.
3.Click the Sessions tab.
4.Specify the values you want to use.

Other resource: http://technet.microsoft.com/en-us/library/cc754272.aspx

Author Comment

ID: 34912176
"Why don't you just log back in? " --> No I can't because there is a scheduled overnight job that must be initiated by the Exchange management console it must run under RDP session.

Hm.. I thought that there is a server setting to check ?

Assisted Solution

Joking earned 1000 total points
ID: 34912206
Perhaps you're just going to screen saver - which will end your RDP session.

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why


Author Comment

ID: 34912232
@ Everyone: ok i found the GPO key which caused the issue, since this is applied to the Computer GPO, "Computer Configuration > Administrative Templates > Windows      Components > Terminal Services > Sessions"

does that means the server / computer must be restarted to make it in effect ?

Expert Comment

ID: 34912367
Try a gpupdate /force. You may need a logoff, shouldn't need a reboot.

Author Comment

ID: 34912514
THanks for  the quick reply, however I also found out this key is enabled "Turn off background refresh of Group Policy Enabled ".

should I restart it still or log on/off  ?

Author Closing Comment

ID: 34967490
yes it is combination of both.

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses
Course of the Month8 days, 1 hour left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question