Virtual machine logging off when closing RDP

0

How do I make the session stay open in windows even when closing RDP?

1回答
0

Hi,

My name is Sean from AWS Premium Support, here to help you.

It sounds like when you disconnect from an RDP session to a windows instance, you are being logged out of your windows local/domain account. This is not a default windows behavior. When closing the RDP window directly (using the X button to close the window) , the default outcome is that your session will remain active indefinitely. AWS public windows AMIs use the default setting here (at the time of writing) as well.

It sounds like the Local (or domain) Group Policy has been configured for your instance(s). Please check for local or group policy settings for the following:

Computer Configuration/Administrative Templates/Windows Components/Remote Desktop Services/Remote Desktop Session Host/Session Time Limits

If your instance is domain joined, You may need to work with your active directory administrator to check and configure this setting. If the instance is not domain joined, you can check this setting on the instance using the following steps:

  1. press WIN + R to open the Run menu
  2. enter gpedit.msc to open the local group policy settings
  3. navigate to the specified registry settings and check for the configuration of the Session Time Limits key. If you want sessions to persist indefinitely, set the policy to not configured.

if you are still facing problems after checking this setting, please let us know.

AWS
サポートエンジニア
Sean_S
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ