Share via


Every 60 minutes (exactly 60 minutes) my RDP gets disconnected, and I have to restart my classic VM

Question

Friday, June 3, 2016 6:36 PM

I'm guessing this has to do with some sort of time-out feature, but I can't find it.  The RDP session is not inactive.  Generally, I'm in the middle of something when I get booted out.  I then have to go to my VM dashboard, and select "Restart".  After a few minutes, the restart is complete and I can click on "Connect" to get another RDP downloaded, and start a new RDP session.  I then have another 60 minutes before this happens again.

The troubleshooting thread basically mentions something about setting up a mirrored server situation, but Azure is expensive enough as it is.  I don't want to have to do something like that unless I absolutely have to.  I'm guessing there is some sort of parameter that I can set, in order to keep from getting booted off every 60 minutes.  Does anyone have an idea as to how to solve this?

All replies (1)

Saturday, June 4, 2016 10:54 AM | 1 vote

Hi Dave,

Thank you for posting here!

By default, Remote Desktop Services Sessions are set to 1 hour.

You can change the Remote Desktop Services Session by following steps:

To open the Local Group Policy Editor as an MMC snap-in

  1. Open MMC. (Click Start , click in the Start Search box, type mmc , and then press ENTER .)
  2. On the File menu, click Add/Remove Snap-in .
  3. In the Add or Remove Snap-ins dialog box, click Group Policy Object Editor , and then click Add .
  4. In the Select Group Policy Object dialog box, click Browse .
  5. Click This computer to edit the Local Group Policy object, or click Users to edit Administrator, Non-Administrator, or per-user Local Group Policy objects.
  6. Click Finish 

Click on to expand User ConfigurationAdministrative TemplatesWindows Components, Remote Desktop ServicesRemote Desktop Session Host, and Session Time Limits. (see screenshots shown below)

To Remove Time Limit for Idle Remote Desktop Services Sessions:

A) Select (dot) either Not Configured or Disabled.

NOTE: Not Configured is the default setting.

To Set Time Limit for Idle Remote Desktop Services Sessions:

A) Select (dot) Enabled. 

Regards,

Pradeep

If a post answers your question, please click Mark as Answer on that post and Vote as Helpful.