In Start Search type Gpedit.msc and hit the Enter Key:
- Navigate to Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options.
- Look for policies like "Interactive logon: Machine inactivity limit" and "Interactive logon: Require domain controller authentication to unlock workstation." Ensure these settings aren't configured to sign out users after a short period of inactivity.
- Navigate to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits.
- Check if "Set time limit for active but idle Remote Desktop Services sessions" is enabled and set to a short time limit.