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
Solved

rdp does not close out properly

Posted on 2012-03-28
7
228 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
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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Copy an entire Active Directory Domain to a dev environment 4 170
Server Login Issue 4 59
PowerShell one liner to pull server names 3 64
Cannot take ownership of a folder 8 43
I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

856 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