Solved

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

Posted on 2010-11-30
7
575 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Remote Desktop Connections allow you to control remote host machines via the magic of the Internet and RDP (Remote Desktop Protocol). For the purposes of this article we will assume you are connecting from your home PC or laptop to a remote offic…
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now