How does the system admin set schtasks for other users?

R

RC

My system is Windows XP professional, service pack 2.

I (system administrator) set following for other
users (my kids, teenagers):

1. Set the permission for the login time between
10:00 AM and 10:00 PM (22:00), Sunday to Saturday.

net user kids_name /time:Su-Sa,10:00-22:00

2. Set the maximum login time to 8 hours

Go to

http://www.microsoft.com/windowsxp/sharedaccess/default.mspx

Download and install the "Shared Computer Toolkit"
Set the user's profile(s) and set User's Restriction time
to 480 (8 * 60) minutes.

3. Force some users logout or logoff at 22:00

How do I do that?

I try

schtasks /CREATE /S system_name /RU "My login ID" /RP "my_passwd" /SC
DAILY /TN kid_logout /TR C:\Windows\system32\logoff.exe /ST 22:00


But this won't work, it log myself out at 22:00,
not logoff for the kids and teenagers.

When I try to used the /U "kid_login_id" option, I got
error message like "credential local ...."

Of cource, I can reboot the system at 22:00 by
/TR C:\Windows\system32\shutdown.exe, but I prefer
force them logout instead.

Please help me the task 3 mention above.
Kids, teenagers need go to bed at 10:00 PM!

Thank Q very much in advance if you can really help!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top