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.
by faisalmasood
by joseph moore
You're welcome, Faisal. Glad to help.
Joe
by faisalmasood
by faisalmasood
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending