PC tracker - client is project that focuses on recording activity that happens on PC Windows OS.
- local ip address of PC in use
- name of user that has logged in
- what application were in use
- title of those applications
- how much time did user spend on per application
- how much time did user spend in idle state during that time on app and idle periods (time and date + duration)
- on local PC where data is gathering
- inside local network on some shared network folder
- currently it doesn't support saving activity data on remote pc that is not part of your local network
- If you don not have Python 3 installed, please do that first. I'm using 3.7 version at this moment.
- Install virtualenv library if you didn't already. You can do that by writing following line in command line
pip3.7 install virtualenv
. Be sure to change the version number on pip to the version number of python that you have installed. - Deploy virtual environment
py -3.7 -m virtualenv Envs/myproject
. By default location should beC:\Users\NameOfUserThatIsLoggedIn\Envs
. - Activate virtual environment that should be on location where you deployed virtual environment. it should be something like
C:\Users\NameOfUserThatIsLoggedIn\Envs\myproject\Scripts\activate.bat
. - Install pc_tracker using
pip install pc-tracker
- Run CMD as administrator
- Activate virtual environment same way it is explained in Installation section in step 4.
- Enter command
python manage.py config
. As admin you will have to fill down 2 options:- path where the data of all pc users on local network will save data.
- path to main settings file where all pc users will pull latest settings admin had set
- Save form data and you are ready for next step.
- Run CMD
- Activate virtual environment same way it is explained in Installation section in step 4.
- Enter command
python manage.py config
. After you run command and if option for specifying path to save data is visible then that user has admin privileges. If you do not want to override existing path and settings you should pressCTRL+C
and then write commandmanage.py configcl
- Client with no admin privileges should be able to see only form with option to specify directory path where the global settings are located.
- After specifying path save form data.
- Repeat steps 1 and 2 from Setup section
- Enter command
python manage.py runclient
- And that's it! Data is now storing on specified location and it is ready for further processing