Controlling Remote Desktop Connection

Posted on 2007-11-14
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.
Question by:pxj05
  • 2
  • 2
  • 2
LVL 12

Expert Comment

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


Expert Comment

ID: 20280940

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.

Author Comment

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.
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

LVL 12

Expert Comment

ID: 20281082

Accepted Solution

MorDrakka earned 500 total points
ID: 20287268

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!

Author Closing Comment

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

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String ( Literal, only instead of starting and ending with w…
This video discusses moving either the default database or any database to a new volume.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

759 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

19 Experts available now in Live!

Get 1:1 Help Now