Discussion Locked

How to track users what login ID they ar

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Plz tell me how to track users which logon ID they are using & from which IP. Is there a way using Logon script??

9 replies

by faisalmasood

I've accomplished that task like this.

1) I made a directory eg \\w2k\users$ (hidden share)
2) Its w2k system. so I assigned NTFS security of Full access to Administrator & granted Authenticated user customized access. Didn't allowed them delete, change permission right.
3) & used that script in logon.
4) Now I have files with individual users showing their ipconfig, UserId & machine.

User can't access admin share directory. right.

What do u think of it?
Have a better solution thensuggest me.

by faisalmasood

Some thing more to add in it. Add these lines to log time & date.

DATE /T >> %USERNAME%.TXT
TIME /T >> %USERNAME%.TXT

by faisalmasood

Some thing more to add in it. Add these lines to log time & date.

DATE /T >> \\w2k\adusers$\%username%.txt
TIME /T >> \\w2k\adusers$\%username%.txt

by faisalmasood

Some thing more to add in it. Add these lines to log time & date.

DATE /T >> \\w2k\users$\%username%.txt
TIME /T >> \\w2k\users$\%username%.txt

by faisalmasood

The whole script look like this

@ECHO OFF
cls
date /t >> \\w2k\users$\%username%.txt
time /t >> \\w2k\users$\%username%.txt
ipconfig >> \\w2k\users$\%username%.txt
ver >> \\w2k\users$\%username%.txt
hostname >> \\w2k\users$\%username%.txt
echo %username% >> \\w2k\users$\%username%.txt
echo The home drive is %HOMEDRIVE% >> \\w2k\users$\%username%.txt
echo *************************************************** >> \\w2k\users$\%username%.txt

There is some additional information that you can collect.

This discussion is closed to new replies.