Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Windows NT Logon times

Thread Tools
 
Search this Thread
 
Old 10 July 2003, 04:31 PM
  #1  
SinghSuperStud
Scooby Regular
Thread Starter
iTrader: (2)
 
SinghSuperStud's Avatar
 
Join Date: Jul 2001
Location: Walsall
Posts: 1,918
Likes: 0
Received 0 Likes on 0 Posts
Post

Hi,

how can I find out when people logged onto their NT workstations and then logged off - remotely if possible.

I have used MS Access and the user clicks a button to register their logon time on a central database. Trouble is not all user's pc's have access as licenses are expensive


ANY help appreciated ! Please note I'm not network admin so can't get access to any extra NT features which is why I used a few choice VB commands in Access to read the NT username etc.

thanks, jai
Old 10 July 2003, 04:55 PM
  #2  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Post

logon time add something into the script to append %username% and time to a file..

time /t >>\\server\share\log.txt

logoff then remove shutdown button and replace with scripts..


Simpleway???

Enable auditing on the DC tracking user logon / loggoff..

Oops forgot your not admin..

YOU CANT!

David
Old 11 July 2003, 03:19 PM
  #3  
SinghSuperStud
Scooby Regular
Thread Starter
iTrader: (2)
 
SinghSuperStud's Avatar
 
Join Date: Jul 2001
Location: Walsall
Posts: 1,918
Likes: 0
Received 0 Likes on 0 Posts
Post

Hi !

thanks for the scripting idea David.

Can I create a script using a batch file ? If not, how can this be done ? All I need do then is get users to run the batch file manually at logon and then again for logging off.

thanks !

Jai
Old 11 July 2003, 03:46 PM
  #4  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Post

@echo off

FOR /F "tokens=2-4 delims=/ " %%i in ('DATE /T') do set fdate=%%k_%%j_%%i
FOR /F "tokens=1,2 delims=:. " %%t in ('TIME /T') do set ftime=%%t%%u
echo %fdate% %ftime% %username% >>file.txt
Old 11 July 2003, 04:51 PM
  #5  
Gedi
Scooby Regular
 
Gedi's Avatar
 
Join Date: Jan 2003
Posts: 932
Likes: 0
Received 0 Likes on 0 Posts
Post

you don't need them to run it manually. Put the script in the logon script. It will run automatically when they login and cannot be altered by a user
Old 12 July 2003, 01:12 AM
  #6  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Post

I said that in my other post, but he doesnt have admin rights, so ammending audit policies is out..

David
Old 12 July 2003, 08:28 AM
  #7  
Gedi
Scooby Regular
 
Gedi's Avatar
 
Join Date: Jan 2003
Posts: 932
Likes: 0
Received 0 Likes on 0 Posts
Post

oh yeah, saw it second time round I read it heh

Trending Topics

Old 22 July 2003, 12:47 PM
  #8  
SinghSuperStud
Scooby Regular
Thread Starter
iTrader: (2)
 
SinghSuperStud's Avatar
 
Join Date: Jul 2001
Location: Walsall
Posts: 1,918
Likes: 0
Received 0 Likes on 0 Posts
Post

thanks for all your help ! works a treat !

If i wanted to record how long their workstation was locked for can I get teh script to tie in this too, ie. run when the workstation is locked each time ?

thanks, Jai
Old 22 July 2003, 01:23 PM
  #9  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Post

no.

David
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Darrell@Scoobyworx
Trader Announcements
26
30 January 2024 01:27 PM
LostUser
Non Scooby Related
11
29 September 2015 11:00 AM
alcazar
Non Scooby Related
3
28 September 2015 12:02 AM
Nick_Cat
Computer & Technology Related
2
26 September 2015 08:00 AM
Littleted
Computer & Technology Related
0
25 September 2015 08:44 AM



Quick Reply: Windows NT Logon times



All times are GMT +1. The time now is 03:03 PM.