Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SBS 2011 Remote Desktop Monitoring tool

Posted on 2012-03-13
3
Medium Priority
?
834 Views
Last Modified: 2013-12-02
Hi There,

I had a query regarding a certain user who remotes into their PC using SBS Remote Web Workplace in a 2011 Environment.

The query was can it be logged such as time they remotely connected in and duration spent etc? i.e. time logged off etc?

Anyone know of a good monitoring tool to enable us to admin this from the Server or if it can be achieved with any software which is fairly simple to use?

Many Thanks in advance
0
Comment
Question by:CRL ltd
  • 2
3 Comments
 
LVL 77

Accepted Solution

by:
Rob Williams earned 2000 total points
ID: 37716882
I have't seen a management tool but I have often used the following script:

Add the lines below to each users logon and log off script to create a log file. It will give you UserName, ComputerName, date and time, in a simple single line, followed by the IP from which they connected, if needed. If you wish to know logoff times as well, you can add the same lines to a log off script in group policy (if you don't already have one: User Configuration | Windows settings | Scripts | Logoff). You likely won’t need the last line (IP address) in the log off script.

As written below it will create the log/text file in \\Server\Logs\LogOns.Log and the entries will look like:
Log File

Log On:  jdoe SERVER1  Tue 1/1/2007   9:01
  TCP    10.0.1.100:3389        66.66.123.123:1234        ESTABLISHED

Log Off: jdoe SERVER1  Tue 1/1/2007   9:31

Log On:  jsmith SERVER2  Tue 1/1/2007   11:00
  TCP    10.0.1.200:3389        66.66.123.124:1234        ESTABLISHED

Log Off: jsmith SERVER1  Tue 1/1/2007   11:30
---------------------------------------------------------------------------

:Logging
If Exist "\\Server\Logs\LogOns.Log" GoTo START
Echo Log File > "\\Server\Logs\LogOns.Log"
:START
Echo. >> "\\Server\Logs\LogOns.Log"
Echo Log On:  %USERNAME% %COMPUTERNAME%  %Date:~0,16%  %Time:~0,5% >> "\\Server\Logs\LogOns.Log"
netstat  -an  |find  "3389"  |find  /I  "established"  >> "\\Server\Logs\LogOns.Log"

---------------------------------------------------------------------------
Note the users will need to have read/write and execute permissions for the \\Server\Logs\LogOns.Log  file.
0
 
LVL 1

Author Comment

by:CRL ltd
ID: 37855951
Many Thanks for this Info much appreciated will give this a try.
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 37856376
Thanks pmsdude117.
We use it and several folk for whom I have posted in the past say it has worked well for them.
Cheers!
--Rob
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

On a regular basis I get questions about slow RDP performance, RDP connection problems, strange errors and even BSOD, remote computers freezing or restarting after initiation of a remote session. In a lot of this cases the quick solutions made b…
Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip is around source server preparation. No migration is an easy migration, there is a…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

885 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