Re: How do I find out who is connected via Remote Desktop to an XPP machine?

From: Gary Webb (email_at_garywebb.co.uk)
Date: 04/24/04


Date: Sat, 24 Apr 2004 14:55:14 +0100

Thanks for the reply. Although users leaving the session open and idle when
finished is and will be a problem, this will not be enough. We still need to
be able to see who is using what system basically, to call them and kick
them off if we have a more urgent requirement to get onto one of the
machines.

So far, I have tried running a script in the run key of the registry of the
XP RD PC to get the client PC name and put it into a key I have made in the
RD machines registry. I have then created a script to allow me to run on any
LAN PC to "get" this client PC name remotely from the registry of the RD
machine. The only problem though is that this always just returns the client
PC name/username, etc. of the RD system itself, not the client that is
RDP'ing to it. This is a problem with my script on the RD system. Not really
the right problem for this group, but I thought I'd check out any other
ideas.

Regards

Gary

"Sooner Al" <SoonerAl@somewhere.net.invalid> wrote in message
news:uIIJjkfKEHA.2144@TK2MSFTNGP10.phx.gbl...
> Gary,
>
> I can't help with the script issue, but one strategy for idle sessions is
to setup a Group Policy to
> disconnect after a timeout period. Go to "Start -> Run"
> and type gpedit.msc at the command line. Navigate to the "Local Computer
Policy -> Computer
> Configuration -> Administrative Templates -> Windows Components ->
Terminal Services -> Sessions".
> Do this on the RDP host.
>
> --
> Al Jarvi (MS-MVP Windows Networking)
>
> Please post *ALL* questions and replies to the news group for the mutual
benefit of all of us...
> The MS-MVP Program - http://mvp.support.microsoft.com
> This posting is provided "AS IS" with no warranties, and confers no
rights...
>
> "Gary Webb" <email@garywebb.co.uk> wrote in message
news:Etpic.36218$Y%6.4756809@wards.force9.net...
> > We have a few XP Pro PC's that act as a method of remote desktopping to
> > other servers via VPN across the Internet for support purposes. We also
> > access these "RD" machines via remote desktop over the LAN. Whoever
connects
> > to one of these machines logs on as the same (local) user. These
machines
> > are limited to a single RDP session that will give an error message if
> > somebody is already connected (rather than disconnect them). Therefore,
we
> > are always aware when somebody is currently accessing one of these
machines.
> >
> > I would like to expand this further by trying to find a method of
knowing
> > WHO is connected to these machines (mainly in case somebody has forgot
to
> > disconnect). I have tried to write a few versions of vbscripts that will
> > look at these machines and pull the user name or computer name of who is
> > RDP'ing in. I seem to have reached a stage of going around in circles.
Can
> > anybody offer any advice on a method of getting this information?
> >
> > Thanks
> >
> > Gary
> >
> >
>



Relevant Pages

  • RE: Start Program Automatically in Remote Desktop -stay in normal
    ... opens a RDP session from one of the machines. ... The other option would be to script the default printer selection using the ... client client computername as your variable. ... > from to the Terminal Server would work beautifully. ...
    (microsoft.public.win2000.termserv.apps)
  • RE: Start Program Automatically in Remote Desktop -stay in normal
    ... a different script needs to run when the user logs on ... depending on what client the user is logging on from. ... would pass the printer to the Terminal session. ... from to the Terminal Server would work beautifully. ...
    (microsoft.public.win2000.termserv.apps)
  • Re: test that i m on a tse with a scipt
    ... Terminal Services client session? ... Terminal Services Programming Guidelines ... i make a script to add a file on the forder windows ...
    (microsoft.public.windows.terminal_services)
  • Creating a session in windows to auth to remote machines
    ... I'm trying to auth to remote machines so I can plunder WMI to get ... logs and settings and the like. ... My script works for most of my ... that session to pull logs. ...
    (comp.lang.python)
  • Re: Script file or any Batch file deployment using SMS ?
    ... Sure create a package containing your script (if the script isn't already ... target machines. ... Are we able to pre-install any installation files to client Machine? ...
    (microsoft.public.sms.swdist)