kjzamora / windowsRDPLogger

A way to log Client ID using an RDP session on Windows machines.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RDPLogger

A windows server RDP logger script meant to be used in conjuction with Windows Scheduler and produces a txt and csv file and saves the files to "C:\temp" directory.

This script is inteded to run continuously with a Windows Scheduler that executes the RDP logger "On Start". The script must run continuously as the clientname that is logged and a volatile environment variable. To minimize system performance impact from a continously running script, a sleep time of 120 seconds was provide but should be adjusted to your needs.

Windows Scheduler

windows_scheduler.bat provides a way to setup and run on start of the machine the RDPLogger schedule task as long as the RDPLogger is placed in "C:\log\scripts\RDPLogger.ps1" Assumes this .bat is being run on an Administrator account, otherwise add appropriate credentials.

About

A way to log Client ID using an RDP session on Windows machines.


Languages

Language:PowerShell 86.4%Language:Batchfile 13.6%