A windows service that can keep track of application session times.
Step 1
To get started with the application build and run the StalkerUI project and it will allow you to select what applications you would like to track.
Step 2 - Install the service
Once that is done, install the Stalker windows service to your machine via the service control console command sc.
Open up command prompt with administrator privileges and run the service control command to install the Stalker service
sc create Stalker binpath=STALKER_EXE_LOCATION
with STALKER_EXE_LOCATION being the path of the built Stalker service exe.
If all is well the output from sc should be
[SC] CreateService SUCCESS
Step 3 - Run the service
After this the sc utility should have successfully created a new service, with the name Stalker which you can start and stop.
To the start the service you use the sc command again (with administrator privileges) by using:
sc start Stalker
"Only part of a ReadProcessMemory or WriteProcessMemory request was completed"
This is an issue I ran into many times during development I am not sure of the cause at this time but, I know it can occur when a executable in the tracked list starts running and the executable is compiled to run on x64 based architecture.
Any help solving this issue would be of great help.