R
RC
My PC is Windows XP Professional, service pack 2.
I would like to knwo following:
1. Where is the log file contains information
of each user login and logout?
I know the
net user_id
only shows me when was that user last login, but can't tell
when he/she logout.
2. How (what is the command) to find out who (which user) currently
logging in? Similar to UNIX command "w" or "who".
Will be better if also show how long that user has been login?
Or I can calculate the time between current time and user login time.
3a. What is the command to force an user logout?
command
net user /time:....
only can restrict user's login time. But it can NOT force
user to logout when reach to the time limit.
I know Windows NT can do auto logout, but not in Windows XP.
I am disappoint Windows Vista also didn't implemented this nice
feature.
When an user reach to the limit login time or reach
to the maximum login hours per day. That user MUST kick out!
3b. What is the command to shutdown the system?
Similar to UNIX command "shutdown -h now"
Is there a schedule command similar to UNIX's crontab? So I can
set the time to execute the system shutdown?
4. How to prevent any user boot from safe mode?
Only system administrator can boot from safe mode.
I found many software for parents monitor or control their
kids, teenagers PC usage, internet activities. But I don't like
any of them. They are either to complicate or user unfriendly.
Or not full meet above 4 requirements. I found a software called
User Time Control it works well in past year (met 1, 2 and 3
requirements above). But recently I think my kids detected
my password (there are many password detection software out there).
I am decide to write a program meet all above requirements.
I am an UNIX guy . But not expert in Windows 9#/NT/XP/Vista.
Thank Q very much if anyone can provide the help!
I would like to knwo following:
1. Where is the log file contains information
of each user login and logout?
I know the
net user_id
only shows me when was that user last login, but can't tell
when he/she logout.
2. How (what is the command) to find out who (which user) currently
logging in? Similar to UNIX command "w" or "who".
Will be better if also show how long that user has been login?
Or I can calculate the time between current time and user login time.
3a. What is the command to force an user logout?
command
net user /time:....
only can restrict user's login time. But it can NOT force
user to logout when reach to the time limit.
I know Windows NT can do auto logout, but not in Windows XP.
I am disappoint Windows Vista also didn't implemented this nice
feature.
When an user reach to the limit login time or reach
to the maximum login hours per day. That user MUST kick out!
3b. What is the command to shutdown the system?
Similar to UNIX command "shutdown -h now"
Is there a schedule command similar to UNIX's crontab? So I can
set the time to execute the system shutdown?
4. How to prevent any user boot from safe mode?
Only system administrator can boot from safe mode.
I found many software for parents monitor or control their
kids, teenagers PC usage, internet activities. But I don't like
any of them. They are either to complicate or user unfriendly.
Or not full meet above 4 requirements. I found a software called
User Time Control it works well in past year (met 1, 2 and 3
requirements above). But recently I think my kids detected
my password (there are many password detection software out there).
I am decide to write a program meet all above requirements.
I am an UNIX guy . But not expert in Windows 9#/NT/XP/Vista.
Thank Q very much if anyone can provide the help!