I have created a windows setup application which creates a 'getactivewindow' task in task scheduler and runs under system account which should get the foregroundwindow title of the window which the user currentlyworking with but since 'getactivewindow' is running using system account.
I am not able to capture window title of other users who are logged in.
Note= I cannot run that task with user specific account because of some restriction.