Solved

rdp does not close out properly

Posted on 2012-03-28
7
231 Views
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.
0
Comment
Question by:jmahlmann
[X]
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
7 Comments
 
LVL 1

Expert Comment

by:mikho
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.
0
 

Author Comment

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

Assisted Solution

by:mikho
mikho earned 500 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.
0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 

Assisted Solution

by:jmahlmann
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.
0
 
LVL 1

Accepted Solution

by:
mikho earned 500 total points
ID: 37784250
add
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.
0
 

Author Comment

by:jmahlmann
ID: 37791198
Nope. Didn't work.
0
 

Author Closing Comment

by:jmahlmann
ID: 37826804
had to reboot then it worked.
0

Featured Post

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

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…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

688 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