Logging User logon event.
If you want to keep track the user logon and logoff event to the domain, you can try this method: Step 1: Create the following two files using Notepad or your favorite text editor: ——logon.cmd—-echo logon %username% %computername% %date% %time% >> \\dc1\share\logon.log—–logoff.cmd—–echo logoff %username% %computername% %date% %time% >> \\dc1\share\logoff.log Step 2: Update Group Policy to run the appropriate batch file. In Group Policy, go to:User Configuration-> Windows Settings-> Scripts (Logon/Logoff)-> LogonUser Configuration-> Windows Settings-> Scripts (Logon/Logoff)-> LogoffStep 3: As users log on and off, your log file should look something like this:logon Richard WS01 Tue 22/02/2005 10:39:51.12logon Peter WS02 Tue 22/02/2005 10:42:01.07logoff Richard WS01 Tue … Continue reading Logging User logon event.