Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2010-11-30
7
Medium Priority
?
583 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 2000 total points
ID: 34261624
0

Featured Post

Ready for your healthcare security check-up?

In the past few years, healthcare organizations have become a prime target for advanced attacks. Does your organization have what it needs to defend itself? Schedule your healthcare security check-up today and download our free Healthcare Security Resource Kit today!

Question has a verified solution.

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

Some of you may have heard that SonicWALL has finally released an app for iOS devices giving us long awaited connectivity for our iPhone's, iPod's, and iPad's. This guide is just a quick rundown on how to get up and running quickly using the app. …
How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
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…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

972 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