rdp does not close out properly

Posted on 2012-03-28
Medium Priority
Last Modified: 2012-04-10
I have an RDP session set to log into a program.  After RDP login the program opens fine and works fine. I can then exit out of the program, however, when I exit out of the program it does NOT exit me out of the RDP session. I have set this up before with other programs and the RDP session always exits out.

Any suggestions? The pc is XP and the server is 2003 R2 Standard 32bit.
Question by:jmahlmann
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3

Expert Comment

ID: 37779304
create a bat file (i prefer AutoIT for this kind of tasks) that starts your application and when you close the applicaiton it will automaticly log you of again.

Author Comment

ID: 37779339
Okay so I create the bat file and put that in RDP to use to start the application?

Assisted Solution

mikho earned 2000 total points
ID: 37779347
create a bat file on the computer you rdp to.

This bat should start the application and then logout when application is closed.

From your client, start the bat file instead of your applicaiton when logged on.
10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.


Assisted Solution

jmahlmann earned 0 total points
ID: 37781883
Okay sorry had a stupid moment with the bat file!! Working on 10 problems on 10 different servers at once. I created the bat file and it logs it, but I still have the same issue with logout. It does NOT log out of the RDP session.

Accepted Solution

mikho earned 2000 total points
ID: 37784250
Shutdown -L

Open in new window

to your bat file. add the row after the one calling your application.

I was unclear in my first posts.

Author Comment

ID: 37791198
Nope. Didn't work.

Author Closing Comment

ID: 37826804
had to reboot then it worked.

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
Learn about cloud computing and its benefits for small business owners.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

771 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