Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Logon Logoff Times?


  • Please log in to reply
2 replies to this topic

#1 RandomUser

RandomUser

  • Members
  • 518 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:02:45 AM

Posted 04 September 2007 - 07:18 PM

I'm wondering if anyone would write me a script using WMI that would Log when a user "logs into" the computer and when they "Log Off". I know that Windows remembers the Log-in time under "net user {UserName}" but I would like to log the hours for either a local machine and over workgroup/domain.

If someone would be willing to provide this it would be much appreciated as I'm not good at scripting.

BC AdBot (Login to Remove)

 


#2 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:12:45 AM

Posted 04 September 2007 - 10:27 PM

Sorry. The only way that you are going to get better at scripting is to umm... write scripts. I'd be happy to help out once I see what you have, but I get paid for programming, so I am not really inclined to just write the script for you, especially since I have no need for it. I don't mind helping others learn how to program though. :thumbsup:

#3 RandomUser

RandomUser
  • Topic Starter

  • Members
  • 518 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:02:45 AM

Posted 05 September 2007 - 01:09 AM

That's ok I'll look elsewhere, there got to be someone who can write an elementary script. I'm not a programmer myself per se, but I've messed around with .net and WMI in the past. Just thought I'd ask, b/c that can't hurt right?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users