Guest Jason M Posted August 22, 2007 Posted August 22, 2007 Is it possible to create a log of everytime a person logs in or logs out of their computer which is running XP Pro? Or is there someway you can setup the Event Viewer to log or display this info? -- Jason Michel junk@ns.condonconsulting.com (remove ns. for direct email)
Guest Pegasus \(MVP\) Posted August 22, 2007 Posted August 22, 2007 Re: How to Log logins "Jason M" <junk@ns.condonconsulting.com> wrote in message news:eaoUhrM5HHA.484@TK2MSFTNGP06.phx.gbl... > Is it possible to create a log of everytime a person logs in or logs out > of their computer which is running XP Pro? Or is there someway you can > setup the Event Viewer to log or display this info? > > > -- > > Jason Michel > junk@ns.condonconsulting.com > (remove ns. for direct email) > Put the following lines into the files c:\Windows\logon.bat and c:\Windows\logoff.bat: @echo off %date% %time%: User %UserName% logged on >> c:\Windows\logs.txt @echo off %date% %time%L User %UserName% logged off >> c:\Windows\logs.txt Now invoke these files by following this path: Control Panel / Administrative Tools / Group Policy / User Configuration / Windows Settings / Scripts (Logon/Logoff)
Guest Newbie Coder Posted August 22, 2007 Posted August 22, 2007 Re: How to Log logins Jason, Not sure of the event viewer way but yes you can do it Some firewalls log logins Use the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run registry key could be used to run something Of course there are many other ways too -- Newbie Coder (It's just a name) "Jason M" <junk@ns.condonconsulting.com> wrote in message news:eaoUhrM5HHA.484@TK2MSFTNGP06.phx.gbl... > Is it possible to create a log of everytime a person logs in or logs out of > their computer which is running XP Pro? Or is there someway you can setup > the Event Viewer to log or display this info? > > > -- > > Jason Michel > junk@ns.condonconsulting.com > (remove ns. for direct email) > >
Recommended Posts