Remote Desktop Logs off on Disconnect

MiddleTommy

New member
I have searched for this but never found an answer.
I have used Remote Desktop for years with XP and Vista and was always able to work in visual studio(or any other program) stop work go home RD to my work computer and keep working. Then Disconnect and the next morning come back to my work computer and continue right were I left off. But in Windows 7 when ever I disconnect from a Remote Desktop It logs me off closing all my open programs. Anyone know how to have the same behavior as RDP for Vista or XP where I can continue working back and forth from work to home without logging off?
 

My Computer

OS
Window 7
I am running win7 on my laptop and when i close my rdp session it does not log off the remote computer, it locks the session just like it should.
 

My Computer

Computer Manufacturer/Model Number
Black_Box (homebuilt)
OS
windows 7 RTM x64
CPU
Phenom II 965 Quad Core 3.4Ghz
Motherboard
Asus M4A79T Deluxe
Memory
Mushkin Blackline 8GB (4x2gb)
Graphics Card(s)
XFX Radeon 5970 Black Edition
Sound Card
onboard
Monitor(s) Displays
Dell 2408WPF-main Dell E248WFP-secondary
Screen Resolution
1920x1200-main 1920x1200-secondary
Hard Drives
OCZ Vertex Limited Edition 100GB (OS)
x1 WD Black Edition 500GB drive (Storage)
PSU
XFX 850w Black Edition (Modular)
Case
Mountian Mods H2go
Cooling
CoolITSystems ECO A.L.C.
Keyboard
Logitech MX 5500 wireless keyboard
Mouse
Razor Copperhead
Internet Speed
16Mb down/2Mb up Wowway Cable Internet
I am using RTM and have not had this problem but something I have noticed is when I sit down in front of my w7 machine after disconnecting it is not locked. There is no indication that my session is still running and any user can logon. If I logon my session and programs are still up and running. fast user switching...
 

My Computer

Computer Manufacturer/Model Number
ultraplanet - model 23
OS
Windows 7
CPU
P4 3.0 HT
Motherboard
Intel DQ965GF
Memory
4 gigs of Crucial DDR2
Graphics Card(s)
nVidia GeForce 7800GT 256MB 256-bit w/ ACCELS1 Rev 2
Sound Card
on board
Monitor(s) Displays
HP 2509m
Screen Resolution
1920x1080
Hard Drives
2x 320gb Seagate Barracuda's - SATA 3Gbit/s - RAID-0 array
PSU
650 watt
Case
Antec
Cooling
Cool Master
Keyboard
Logitech diNovo Media Desktop
Mouse
see keyboard
Internet Speed
comcast cable
Other Info
7 Ultimate and 7 Pro twice each at home - Gigabit on the Network - Tomato on the Linksys - I freely share my wireless with my neighbors (8-10 additional devices)
Perhaps the RC did not include fast User Switching and that is my problem. I will wait to purchase the RTM in Oct so I dont have to do a reinstall this month and another next month
 

My Computer

OS
Window 7
I can give this a try - running Windows 7 RTM 32bit on my laptop and w7 RTM 64bit on my desktop.

I have been searching for a way to force W7 to wake up / stay awake during morning hours and only sleep at night - I finally found SetPower (see my newest thread in this forum) and hopefully that will solve all sorts of issues that I was having....

Grabbing my laptop now to verify if it is locking / logging off. I'll try it both ways (from 32 to 64 bit and from 64 to 32 bit) to see if it makes a difference.
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    The Beast Model A (homebrew)
    OS
    Windows 11 21H2 Current build
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    MSI MEG X570 GODLIKE
    Memory
    4 * 32 GB - Corsair Vengeance 3600 MHz
    Graphics Card(s)
    EVGA GeForce RTX 3080 Ti XC3 ULTRA GAMING (12G-P5-3955-KR)
    Sound Card
    Realtek® ALC1220 Codec
    Monitor(s) Displays
    2x Eve Spectrum ES07D03 4K Gaming Monitor (Matte) | Eve Spec
    Screen Resolution
    3x 3840 x 2160
    Hard Drives
    3x Samsung 980 Pro NVMe PCIe 4 M.2 2 TB SSD (MZ-V8P2T0B/AM) } 3x Sabrent Rocket NVMe 4.0 1 TB SSD
    PSU
    PC Power & Cooling’s Silencer Series 1050 Watt, 80 Plus Plat
    Case
    Fractal Design Define 7 XL Dark ATX Full Tower Case
    Cooling
    SteelSeries Apex Pro Wired Gaming Keyboard
    Keyboard
    SteelSeries Apex Pro
    Mouse
    Logitech MX Master 3S | MX Master 3 for business
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
    Antivirus
    Windows Defender + MB 3
    Browser
    Nightly (default) + Firefox (stable),Chrome, Edge
  • Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Dell Latitude E5470
    OS
    ChromeOS Flex Dev Channel (current)
    CPU
    Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Motherboard
    Dell
    Memory
    16 GB
    Graphics Card(s)
    Intel(R) HD Graphics 520
    Sound Card
    Intel(R) HD Graphics 520 + RealTek Audio
    Monitor(s) Displays
    Dell laptop display 15"
    Screen Resolution
    1920 * 1080
    Hard Drives
    Toshiba 128GB M.2 22300 drive
    INTEL Cherryville 520 Series SSDSC2CW180A 180 GB SATA III SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Keyboard
    Dell
    Mouse
    Logitech MX Master 3S (shared w. Sys 1) | Dell TouchPad
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
Confirmed. RTM is handling disconnects correctly - whether you go to the start orb --> > --> Disconnect or you simply click the X on the RD bar at the top.

In fact, it even tells you this:

RDP disconnect.PNG

Since this is solved in the RTM, I am marking this thread solved as well.
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    The Beast Model A (homebrew)
    OS
    Windows 11 21H2 Current build
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    MSI MEG X570 GODLIKE
    Memory
    4 * 32 GB - Corsair Vengeance 3600 MHz
    Graphics Card(s)
    EVGA GeForce RTX 3080 Ti XC3 ULTRA GAMING (12G-P5-3955-KR)
    Sound Card
    Realtek® ALC1220 Codec
    Monitor(s) Displays
    2x Eve Spectrum ES07D03 4K Gaming Monitor (Matte) | Eve Spec
    Screen Resolution
    3x 3840 x 2160
    Hard Drives
    3x Samsung 980 Pro NVMe PCIe 4 M.2 2 TB SSD (MZ-V8P2T0B/AM) } 3x Sabrent Rocket NVMe 4.0 1 TB SSD
    PSU
    PC Power & Cooling’s Silencer Series 1050 Watt, 80 Plus Plat
    Case
    Fractal Design Define 7 XL Dark ATX Full Tower Case
    Cooling
    SteelSeries Apex Pro Wired Gaming Keyboard
    Keyboard
    SteelSeries Apex Pro
    Mouse
    Logitech MX Master 3S | MX Master 3 for business
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
    Antivirus
    Windows Defender + MB 3
    Browser
    Nightly (default) + Firefox (stable),Chrome, Edge
  • Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Dell Latitude E5470
    OS
    ChromeOS Flex Dev Channel (current)
    CPU
    Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Motherboard
    Dell
    Memory
    16 GB
    Graphics Card(s)
    Intel(R) HD Graphics 520
    Sound Card
    Intel(R) HD Graphics 520 + RealTek Audio
    Monitor(s) Displays
    Dell laptop display 15"
    Screen Resolution
    1920 * 1080
    Hard Drives
    Toshiba 128GB M.2 22300 drive
    INTEL Cherryville 520 Series SSDSC2CW180A 180 GB SATA III SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Keyboard
    Dell
    Mouse
    Logitech MX Master 3S (shared w. Sys 1) | Dell TouchPad
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
For my money I reckon UltraPlanet has the right answer. I came across this thread because I have the exact same issue with my work box on win XP - and the thing in common? No fast user switching enabled.

MiddleTommy what happens if you disconnect and then reconnect in 5 - 10 mins? I can reconnect in this time and still log into the same session. If I wait over an hour my old session is gone and I'm logging into a new session.

Turning on fast user switching is not an option because the XP box is on a domain...

I will keep searching...

A.

Ps. JohnGalt yeah I get the "This will disconnect ...your programs will continue to run..." dialog in XP too but it still darn destroys the session just the same...
 
Last edited:

My Computer

OS
XP, 2003, Server Win 7, linux, take your pick
Hy

I don't know if this help
But when i connect by RDP i make a run: mstsc / v: ip /admin ( admin log you on console, like you logon locally) i hope this help
 

My Computer

OS
Windows XP
Found My Problem

I just installed the RTM of windows 7 and used the remote desktop for the first time last night. This morning my computer was logged off and all my programs closed. I did a quick search and found
Remote Desktop Logs Off User After Disconnect

"I had similar issues when I upgraded to Windows 7. Check your active directory for user properties, under sessions make sure End a disconnected session, Active session limit, and Idle session limit are all set to never."

Sure enough my User in Active Directory at work was set to log off after 2 hours when I Disconnect.

I sure hope this solves the issue. Perhaps this was never a windows 7 issue? I think this was a server 2008 issue where the defaults are different from server 2003
 

My Computer

OS
Window 7
[FONT=&quot]I had this same issue, had nothing to do with AD settings. Steps to resolve - you will need admin rights to the machine you are RDPing to
[/FONT]

  1. [FONT=&quot]Open gpedit.msc [/FONT]
  2. [FONT=&quot]Browse to Computer Configuration --> Administrative Templates --> Windows Components --> Remote Desktop Services --> Remote Desktop Session Host --> Session Time Limits. [/FONT]
  3. [FONT=&quot]Enable the "Set time limit for disconnected sessions" and set it to Never [/FONT]
 

My Computer

OS
Windows 7 32 Bit
I know this fix for me. Ensure that only the original client can reconnect, edit the following registry key: HKLM:Software\Policies\Microsoft\Windows NT\Terminal Services\fReconnectSame = 1
 

My Computer

OS
Windows 7 Ultimate
The Answer via microsoft

How can I disconnect from a Remote Desktop session?
To disconnect without ending your Remote Desktop session

  • You can temporarily disconnect from a session by clicking the Close button
    65114e05-3cc5-4130-96bd-4792b0c5d288_17.png
    on the connection bar (the horizontal bar at the top of your screen). This leaves your programs running so that, next time you connect, you can continue where you left off.
 

My Computer

OS
win 7
Back
Top