To which remote Windows servers or computers am I logged on?

Posted on 2011-04-20
Last Modified: 2012-06-27
I always logon remotely to servers, and sometimes I forget to logoff.
I need to know to which Windows servers I am still logged on.
Question by:ismaiel
    LVL 1

    Expert Comment

    You can run "hostname" command in command prompt

    Author Comment

    Thanks, but it seems you did not get me, I will explain more.
    I login to servers remotely, sometimes I forget to logout.
    When you close the RDP session without logging out, you remain logged in to the Windows.
    Now from my XP client, I need to know to which servers I am still logged in, in order to logout.
    I do have a need to logout from all of the servers which I am still logged on.
    LVL 4

    Expert Comment

    Use the Terminal Services Manager in the Administrative Tools section where you access Active Directory Users and Computers. Control Panel > Administrative Tools > Terminal Services Manager. This will show you you the servers in your domain and who is logged into them. It also lets you close the connection if it is still open.
    LVL 4

    Expert Comment

    you can run script with list of rdp servers and logoff/anything else from the servers. Here is the link for a script close to your requirement:

    LVL 1

    Accepted Solution

    if you are not in AD you cannot sea where are still connected. If you are in AD you can use tsadmin

    Author Closing Comment

    It did not help as I have AD, but the colution did not list the RDP connections.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    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!

    INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
    Know what services you can and cannot, should and should not combine on your server.
    This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
    Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

    779 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

    14 Experts available now in Live!

    Get 1:1 Help Now