Hi,
In an Win2K domain with Active Directory, I want to monitor my users logins and logoffs.
I wrote these batch files:
1/
rem user logoff monitor
echo Logoff;%username%;date;time>>C:\_admin\FHP logs\sessions_monitor.txt
2/
rem user login monitor
echo Login;%username%;date;time>>C:\_admin\FHP logs\sessions_monitor.txt
I've set the group AD strategy so that users will all execute the script respectively when loging out and logging in. This does not work but I think this because Active Directory requires .vbs or.js scripts...
I have 2 options and need help for those:
A/ have a .vbs or a .js that will call my .bat
B/ translate the whole .bat into a .vbs or .js
Can you guys help me with this?
Thanks in advance
Tom
In an Win2K domain with Active Directory, I want to monitor my users logins and logoffs.
I wrote these batch files:
1/
rem user logoff monitor
echo Logoff;%username%;date;time>>C:\_admin\FHP logs\sessions_monitor.txt
2/
rem user login monitor
echo Login;%username%;date;time>>C:\_admin\FHP logs\sessions_monitor.txt
I've set the group AD strategy so that users will all execute the script respectively when loging out and logging in. This does not work but I think this because Active Directory requires .vbs or.js scripts...
I have 2 options and need help for those:
A/ have a .vbs or a .js that will call my .bat
B/ translate the whole .bat into a .vbs or .js
Can you guys help me with this?
Thanks in advance
Tom