(user deleted)
Disabled
Run remote script after connect and on disconnect
Disabled
Hello everyone,
I have roughly the same problem. I wanted to run a batch script before logging out and before closing my session
for /f "skip=1 tokens=3" %%s in ('query user %USERNAME%') do (
%windir%\System32\tscon.exe %%s /dest:console
)
In order to allow my tests to work when another person runs the tests.
I want to do it via task scheduler but I'm having trouble.
All will be welcome.
Thank you beforehand.