Solved

Vista remote desktop session logging off my desktop that I remote into

Posted on 2010-11-30
7
577 Views
Last Modified: 2012-05-10
I just upgraded from XP pro to Vista at work. I used to lock my XP machine, then remote in from home and see all of the windows that I had open when I was local to the machine. At the end of the night I would disconnect the remote desktop session and come in the following day and have a locked desktop with all of my windows still open. Now when I remote into my desktop from home, and come into the office the following day, my desktop is logged off and I have to create a new session and try and remember what I was working on.

From the security logs, it appears that my local session is logged off after about 5 minutes after I disconnect the remote session. The entry is an event id of 4647. This change is very very frustrating and I'd really like to find a solution to this, no matter what it takes. I'm a c# novice and would be open to help writing code that blocked log offs if that is my only solution.

0
Comment
Question by:SSAFECS
  • 4
  • 3
7 Comments
 
LVL 16

Expert Comment

by:joinaunion
ID: 34243395
What type of server?This appears to be the issue.
0
 

Author Comment

by:SSAFECS
ID: 34243428
It's from a vista enterprise laptop (remote) to a vista enterprise desktop (local)

It has to be a configuration issue, as XP did not do this?
0
 
LVL 16

Expert Comment

by:joinaunion
ID: 34246546
Is the local machine behind server?
0
ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 

Author Comment

by:SSAFECS
ID: 34248175
I'm not 100% sure what you mean, it's inside of a network, behind a firewall, a DNS machine etc.

As an update, I remotely RTPed into an XP machine and then RTP from the XP machine into the vista machine and I was able to log into the same Vista session this morning.

Somehow Vista RTP is taking control of a local session or something.
0
 
LVL 16

Expert Comment

by:joinaunion
ID: 34252150
What I mean is at your work do they use a server,because the remote timeout sesion would
have to be adjusted on the server.
0
 

Author Comment

by:SSAFECS
ID: 34261344
I'm remoting into another workstation. Do you know where the timeout setting is, I didn't see anything in group policy.

This worked last night, I'll continue to test it throughout the week. I wrapped it in a c# application that blocks logging off without verification first. The same can be done for XP, but the first command is a bit different, it is " tscon 0 /dest:console " instead.

I through the wait commands in, because a few times that I was testing it would release the session before the lock command could run and then it would not lock the machine, so an unlocked desktop was left sitting at the office, not something I wanted to happen. Thanks for the help and encouragement Pete.

tscon.exe RDP-Tcp#0 /dest:console

wait 1

rundll32.exe user32.dll, LockWorkStation

wait 1

exit 

Open in new window

0
 
LVL 16

Accepted Solution

by:
joinaunion earned 500 total points
ID: 34261624
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Mobile VPN IPSEC Watchguard UTM for IOS Devices 4 100
please tell me windows 1-10 7 79
Remote access software other than RDP 10 37
Review of OCA certificate policy 1 17
For a while, I have wanted to connect my HTC Incredible to my corporate network to take advantage of the phone's powerful capabilities. I searched online and came up with varied answers from "it won't work" to super complicated statements that I did…
Local Printing Using Remote Desktop Windows 7 sometimes has issues with printing to a local printer using a Remote Desktop Connection (RDC). The 1st step is to verify that printers are checked on the Local Resources tab of the Remote Desktop C…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

803 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