Logging Clients Activity

General conversation about our product. Get help with your 'How To' questions.
Post Reply
dcipher
Posts: 202
Joined: Fri Jul 25, 2014 6:22 pm

Logging Clients Activity

Post by dcipher » Fri Dec 06, 2019 10:18 pm

Hi

I would like to be able to log when a user logs into the server and when they log out. So at a minimum I need the user name, date and time of login and date and time when they logout. It would also be helpful if I could log what applications they used. Is this possible and if so how is it done?

This is being requested by various agencies to meet their increased security demands so that is the reason for the request.

Thanks,
Simon

User avatar
admin
Site Admin
Posts: 1649
Joined: Wed Sep 05, 2012 6:38 am

Re: Logging Clients Activity

Post by admin » Thu Dec 12, 2019 3:03 pm

Hello Simon,

This is a standard feature from Server Genius : https://docs.terminalserviceplus.com/se ... cted-users
Olivier
TSplus support team administrator
Image

dcipher
Posts: 202
Joined: Fri Jul 25, 2014 6:22 pm

Re: Logging Clients Activity

Post by dcipher » Tue Dec 17, 2019 2:37 pm

I never thought to look at Server Genius so thank-you for pointing me in that direction. It looks like what I need.

User avatar
bzdega
Posts: 141
Joined: Tue Nov 14, 2017 9:34 am

Re: Logging Clients Activity

Post by bzdega » Tue Dec 17, 2019 3:36 pm

You can easily create a logon.bat, place it as start script in the user profile.

Content could be something like this:

Code: Select all

@echo off
echo %date%-%time:~-11,2%:%time:~-8,2%:%time:~-5,2% > %userprofile%\desktop\userinfo.txt <-- path to you logfile
echo %username% >> %userprofile%\desktop\userinfo.txt <-- path to your logfile
Michael

Post Reply