Solved

rdp does not close out properly

Posted on 2012-03-28
7
225 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
  • 4
  • 3
7 Comments
 
LVL 1

Expert Comment

by:mikho
Comment Utility
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
Comment Utility
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
Comment Utility
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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

Assisted Solution

by:jmahlmann
jmahlmann earned 0 total points
Comment Utility
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
Comment Utility
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
Comment Utility
Nope. Didn't work.
0
 

Author Closing Comment

by:jmahlmann
Comment Utility
had to reboot then it worked.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
Learn about cloud computing and its benefits for small business owners.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

728 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

9 Experts available now in Live!

Get 1:1 Help Now