General discussion

Locked

log in script

By AllenTech ·
hi,

i have a win 98 client that is connected to a active directory, what i need is a script that can record all the users that logs to the active directory using the win 98 computers.

i tried doing this:
\\<servername>\<shared>\now.exe %username% -- %computername% >>\\<server>\<shared>\logrec.txt

but what happened was that the txt file only records the time stamp, the username and computer does not appear.

please help, thanks

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by voldar In reply to log in script

Hmmm .. first of all, W98 is not creating computer account in the AD tree, in fact it is not part of AD. The only thing u can do is to install the DClient on each user computer so that users with W9x could find objects in an AD environment. As I know (and I am not saying that I know all), to create a GPO policy that applies to W9x computers it's a "dream not yet become true". If anyone knows more I'd be very gratefull to let me know.

Collapse -

by kmcniff In reply to log in script

Check the 2000 Resource Kit for the logevent utility.

See the following:
http://support.microsoft.com/default.aspx?scid=kb;en-us;315410&Product=win2000

(This is all one line and remove any spaces when you cut and paste into IE)

Include this in the login script.

Collapse -

by Joseph Moore In reply to log in script

Boy, I don't think that Win98 has the %USERNAME% or %COMPUTERNAME% variables to be able to do this.

Run COMMAND on the Win98 box and type SET to see the variables it supports. Are the ones you need in the list?

You know, it is strange. I do this EXACT same thing you do, using NOW.EXE with the username and computername variables spooling to a file on a server to keep a running log of all user account logins. I like doing it that way instead of auditing Successful Logon Events. I find the logging method to be most useful. Where did you get the idea to do it this way?

Back to Windows Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums