?
Solved

Controlling Remote Desktop Connection

Posted on 2007-11-14
6
Medium Priority
?
219 Views
Last Modified: 2010-04-23
I want to be able to stop a user of rdp/teminal service connection from closing the connection without logging off. If this can be done via code then this is better - if it can be done by other means (that do not involve third party) then please can you help.
0
Comment
Question by:pxj05
[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
  • 2
  • 2
  • 2
6 Comments
 
LVL 12

Expert Comment

by:weareit
ID: 20280913
You can set a local policy to remove the disconnect option from the start menu:

http://msdn2.microsoft.com/en-us/library/ms811935.aspx

-saige-
0
 
LVL 6

Expert Comment

by:MorDrakka
ID: 20280940
Hi

A user can still ALT F4 or X the RDP window. I would suggest you edith your terminal server settings so that when users disconnect their sessions, those sessions get logged off immediatly.

This is a option within terminal server.

Hope this helps.
0
 

Author Comment

by:pxj05
ID: 20281048
MorDrakka: In your comment you say

I would suggest you edith your terminal server settings so that when users disconnect their sessions, those sessions get logged off immediatly

How do you do this - this seems to be the answer.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 6

Accepted Solution

by:
MorDrakka earned 2000 total points
ID: 20287268
pxj05,

I will tell you how you do that:

Log in op de terminal server
start 'Terminal Services Configuration'
Right click RDP-TCp, click 'Properties'
Go to tabblad Sessions.

There you are, select 'Override user settings', Then select a time @ End a disconnected Session.

Hope this helps!
0
 

Author Closing Comment

by:pxj05
ID: 31409183
Thanks to both of you for answering so quickly.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

765 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