Logoff Command

G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.customize (More info?)

Please help me, my problem is doing my head in!

When logging in as a guest, the schedule task that i have
setup to log the user off when the PC is idle dosent work.

It does however work when logging on as the
administrator. The command i am running in the scheduled
task is simply - "logoff". This command works fine when
entered into the run box. Other scheduled tasks work
fine under the guest account but this one dosen't and i
have searched the web for ages to no avail.

Thanks
 
Archived from groups: microsoft.public.windowsxp.customize (More info?)

This could be due to the fact that the Guest account does not have the
system right to Logon as a batch job, which I suspect your scheduled task
initiates. And since scheduled tasks are run with the current userid, that
would do the trick.
To change this open up your Local Security Policy settings (Administrative
Tools in Control Panel) and *carefully* inspect the possible settings for
User Rights Assignments and possibly change them.

hth (to get you going)

george

"JimJob" <anonymous@discussions.microsoft.com> wrote in message
news:242e01c4a248$1c977710$a401280a@phx.gbl...
> Please help me, my problem is doing my head in!
>
> When logging in as a guest, the schedule task that i have
> setup to log the user off when the PC is idle dosent work.
>
> It does however work when logging on as the
> administrator. The command i am running in the scheduled
> task is simply - "logoff". This command works fine when
> entered into the run box. Other scheduled tasks work
> fine under the guest account but this one dosen't and i
> have searched the web for ages to no avail.
>
> Thanks