Solved

rdp does not close out properly

Posted on 2012-03-28
7
227 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
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.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

777 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