Windows Thread, Custom Logon tracking in Technical; Hi
Despite my best efforts, we seem to get a lot of pupils logging onto other accounts and fiddling with ...
If you use the above method you can even automate some of the reporting from it as you can query CSV files with SQL commands like a database from VBS, ASP or .net
I developed a similar thing but it stores logins in a database and has a web front-end to query users, rooms etc. Download here.
Requires Apache/PHP/MySQL.
Edit the include/config.inc.php and fill in the appropriate MySQL details.
Edit the logon.vbs/logoff.vbs files to reflect the URL where you installed the web-based part.
Place vbs files where everyone can run them and set them to run at logon and logoff.
2 Thanks to webman:
box_l (9th October 2008), mrbios (7th October 2008)
Webman that seems almost perfect, just got one small problem in that i cant get it workin 100%
Is all the information meant to automaticly generate the relevant tables when someone logs on?
So far ive got the site running and connected to the mySQL server and the logon and logoff scripts attached to a test OU but i dont think there creating anything in the database
Error im getting: Message: MySQL Query fail: SELECT * FROM users ORDER BY username ASC MySQL Error: Table 'tracker.users' doesn't exist Date: Tuesday, October 7, 2008 at 2:30:58 PM Script: Message: Result set ID not freed. MySQL Error: Table 'tracker.users' doesn't exist Date: Tuesday, October 7, 2008 at 2:30:58 PM
getting one like that on each section on the main screen, is it important to have a username and pssword in the logon and logoff scripts and do they need any particular privees?
Using IIS, mySQL and PHP (with phpmyadmin for database maintainence)
Found the problem with that script error webman, at the same time as me setting this up we had alot of big replication errors, we had an external contractor fixing the replication while i did this and when he fixed it it replicated an old policy which didnt have the proxy exception for the server its installed on, all sorted now though
only other issue is getting people to show up correctly as staff and students, do i need to edit the logon/logoff scripts so that the names you have in there (EG "Student User") to what the user groups are called on our network?